com.sas.services.information
Interface ChildRepositoryInterface

All Superinterfaces:
java.rmi.Remote, RepositoryInterface
All Known Implementing Classes:
DAVChildRepository, OMIServerChildRepository

public interface ChildRepositoryInterface
extends RepositoryInterface

Since:
1.0

Field Summary
 
Fields inherited from interface com.sas.services.information.RepositoryInterface
PROFILE_BEST, PROFILE_NO, PROFILE_POSSIBLE
 
Method Summary
 void close()
          Override close in child repositories to prevent the parent's connection from getting closed erroneously.
 void commit()
          Commit the changes in this child to its parent.
 void rollback()
          Roll back the changes in this child repository by deleting the cache without flushing it to the parent.
 
Methods inherited from interface com.sas.services.information.RepositoryInterface
addEntity, addListener, addRootFolder, browseFetch, browseFolder, browseFolderRecursive, browseObjectByPath, browseSearch, connect, connect, connectWithProxy, deleteEntity, factoryProcess, factoryTest, fetch, fetch, fetchByUrl, fromByteArry, getBase, getCacheStatistics, getDomain, getEvaluator, getFactoryKey, getHost, getIdentity, getISName, getObjectByPath, getObjectByPath, getObjectByPath, getObjectByPathString, getPort, getPrincipal, getRootFolder, getRootFolders, getServer, getTrackedObject, getUniqueId, getUrl, getUser, getUserContext, isDestroyed, isEqual, isProfileRepository, makeRootFolder, narrow, newChild, newMetadata, newMetadata, newMetadataByModel, produceDefaultMetadata, refreshAllData, refreshEntity, removeListener, removeRootFolder, search, searchTree, searchTree, searchTreeFromBase, searchTreeFromBaseWithScope, setDomain, setISName, setUser, setUserContext, toByteArray
 

Method Detail

commit

void commit()
            throws ServiceException,
                   java.rmi.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.
java.rmi.RemoteException - if a network anomaly is encountered.

rollback

void rollback()
              throws ServiceException,
                     java.rmi.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.
java.rmi.RemoteException - if a network anomaly is encountered.

close

void close()
           throws java.rmi.RemoteException
Override close in child repositories to prevent the parent's connection from getting closed erroneously.

Specified by:
close in interface RepositoryInterface
Throws:
java.rmi.RemoteException - if a network anomaly is encountered.



Copyright © 2009 SAS Institute Inc. All Rights Reserved.