Interface RepositoryAccess


  • @Deprecated
    public interface RepositoryAccess
    Deprecated.
    Gives convenient access to access control methods on a repository
    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      void applyChanges​(Runnable r)
      Deprecated.
      Modifications to properties of modules and other elements stored in a repository must only be performed from within a managed command.
      boolean isUpdating()
      Deprecated.
      Indicates, whether the repository is just having changes applied to it through the applyChanges() method.
    • Method Detail

      • applyChanges

        void applyChanges​(Runnable r)
        Deprecated.
        Modifications to properties of modules and other elements stored in a repository must only be performed from within a managed command.
        Parameters:
        r - The command that the repository should invoke on its own behalf
      • isUpdating

        boolean isUpdating()
        Deprecated.
        Indicates, whether the repository is just having changes applied to it through the applyChanges() method. This method is typically called from within repository-updating methods to check whether updating is allowed. The method should also check that a read/write action lock is being held by the current thread.