|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.services.information.DAVChildRepository
public class DAVChildRepository
DAV child repository.
Field Summary |
---|
Fields inherited from interface com.sas.services.information.RepositoryInterface |
---|
PROFILE_BEST, PROFILE_NO, PROFILE_POSSIBLE |
Constructor Summary | |
---|---|
DAVChildRepository(ConnectionInfo _hostInfo,
com.sas.services.information.cache.RepositoryCache parentCache,
java.lang.String name,
DAVRepositoryInterface parent)
Constructs an instance of a child DAV repository. |
Method Summary | |
---|---|
void |
addEntity(MetadataInterface input)
Add an entity to the repository. |
void |
close()
Close the connection to the DAV server. |
void |
commit()
Commit the changes in this child to its parent. |
void |
deleteEntity(MetadataInterface input)
Delete an entity in the repository. |
void |
rollback()
Roll back the changes in this child repository by deleting the cache without flushing it to the parent. |
void |
updateEntity(MetadataInterface input)
|
Methods inherited from interface com.sas.services.information.DAVRepositoryInterface |
---|
addToCache, checkin, checkin, checkout, copyTo, copyTo, fetchContents, fetchContents, fetchRepositoryData, getHttps, getHttpUrl, getItems, getPersonalRepository, getPreviousVersionNames, getReposIdwoTypeFromUrl, getServerString, getSharedResource, getVersion, makePersonalAnchor, moveTo, moveTo, setACLFromStore, supportsACL, supportsSEARCH, trackEntity, uncheckout, updateEntity, version |
Constructor Detail |
---|
public DAVChildRepository(ConnectionInfo _hostInfo, com.sas.services.information.cache.RepositoryCache parentCache, java.lang.String name, DAVRepositoryInterface parent) throws java.rmi.RemoteException
_hostInfo
- Host connection information.parentCache
- Parent cache.name
- Nameparent
- Parenting DAV repository.
java.rmi.RemoteException
- if unable to export the remote object.Method Detail |
---|
public void commit() throws ServiceException, java.rmi.RemoteException
ChildRepositoryInterface
commit
in interface ChildRepositoryInterface
ServiceException
- if unable to commit the changes to the parent.
java.rmi.RemoteException
- if a network anomaly is encountered.public void rollback() throws ServiceException, java.rmi.RemoteException
ChildRepositoryInterface
rollback
in interface ChildRepositoryInterface
ServiceException
- if unable to rollback.
java.rmi.RemoteException
- if a network anomaly is encountered.public void close() throws java.rmi.RemoteException
DAVRepository
close
in interface ChildRepositoryInterface
close
in interface RepositoryInterface
close
in class DAVRepository
java.rmi.RemoteException
- in the event of a network failurepublic void addEntity(MetadataInterface input) throws ServiceException, java.rmi.RemoteException
DAVRepository
addEntity
in interface RepositoryInterface
addEntity
in class DAVRepository
input
- The metadata object to be added to the repository
ServiceException
- in the case of repository failures
java.rmi.RemoteException
- in the case of network failurespublic void updateEntity(MetadataInterface input) throws ServiceException, java.rmi.RemoteException
ServiceException
java.rmi.RemoteException
public void deleteEntity(MetadataInterface input) throws ServiceException, java.rmi.RemoteException
DAVRepository
deleteEntity
in interface RepositoryInterface
deleteEntity
in class DAVRepository
input
- The metadata object to delete from the repository
ServiceException
- in the case of repository failures
java.rmi.RemoteException
- in the case of network failures
|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |