Interface ChildRepositoryInterface

All Superinterfaces:
Remote, RepositoryInterface
All Known Implementing Classes:
DAVChildRepository, OMIServerChildRepository

@SASScope("ALL") public interface ChildRepositoryInterface extends RepositoryInterface
Since:
1.0
  • Method Details

    • commit

      void commit() throws ServiceException, RemoteException
      Commit the changes in this child to its parent. If an exception is thrown during the commit, you must call rollback to close the transaction.
      Throws:
      ServiceException - if unable to commit the changes to the parent.
      RemoteException - if a network anomaly is encountered.
    • rollback

      void rollback() throws ServiceException, RemoteException
      Roll back the changes in this child repository by deleting the cache without flushing it to the parent.
      Throws:
      ServiceException - if unable to rollback.
      RemoteException - if a network anomaly is encountered.
    • close

      void close() throws RemoteException
      Override close in child repositories to prevent the parent's connection from getting closed erroneously.
      Specified by:
      close in interface RepositoryInterface
      Throws:
      RemoteException - if a network anomaly is encountered.