Package com.sas.services.information
Interface ChildRepositoryInterface
- All Superinterfaces:
Remote,RepositoryInterface
- All Known Implementing Classes:
DAVChildRepository,OMIServerChildRepository
- Since:
- 1.0
-
Field Summary
Fields inherited from interface com.sas.services.information.RepositoryInterface
PROFILE_BEST, PROFILE_NO, PROFILE_POSSIBLE -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Override close in child repositories to prevent the parent's connection from getting closed erroneously.voidcommit()Commit the changes in this child to its parent.voidrollback()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 Details
-
commit
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
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 RemoteExceptionOverride close in child repositories to prevent the parent's connection from getting closed erroneously.- Specified by:
closein interfaceRepositoryInterface- Throws:
RemoteException- if a network anomaly is encountered.
-