|
| Foundation |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.services.information.DAVChildRepository
@SASScope(value="ALL") @BinaryCompatibilityOnly 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 ChildRepositoryInterfaceServiceException - 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 ChildRepositoryInterfaceServiceException - if unable to rollback.
java.rmi.RemoteException - if a network anomaly is encountered.
public void close()
throws java.rmi.RemoteException
DAVRepository
close in interface ChildRepositoryInterfaceclose in interface RepositoryInterfaceclose in class DAVRepositoryjava.rmi.RemoteException - in the event of a network failure
public void addEntity(MetadataInterface input)
throws ServiceException,
java.rmi.RemoteException
DAVRepository
addEntity in interface RepositoryInterfaceaddEntity in class DAVRepositoryinput - The metadata object to be added to the repository
ServiceException - in the case of repository failures
java.rmi.RemoteException - in the case of network failures
public 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 RepositoryInterfacedeleteEntity in class DAVRepositoryinput - 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 | |||||||||||||