|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DAVRepositoryInterface
This interface extends RepositoryInterface. It's necessary because DAVRepository is a remote interface, and for the stub to be created correctly, it needs to implement an interface that's complete, and some of the methods are specific to DAV.
Field Summary |
---|
Fields inherited from interface com.sas.services.information.RepositoryInterface |
---|
PROFILE_BEST, PROFILE_NO, PROFILE_POSSIBLE |
Method Summary | |
---|---|
void |
addToCache(MetadataInterface mi)
|
void |
checkin(MetadataInterface entity)
Check in the entity |
void |
checkin(MetadataInterface entity,
java.lang.String comment)
Check in the entity |
void |
checkout(MetadataInterface entity)
Check out the entity |
MetadataInterface |
copyTo(DAVEntityInterface m,
DAVFolderInterface f)
Deprecated. |
MetadataInterface |
copyTo(DAVEntityInterface m,
DAVFolderInterface f,
java.lang.String name)
Copy a smart object. |
java.io.InputStream |
fetchContents(java.lang.String repositoryId)
Fetch an object's content from the repository. |
void |
fetchContents(java.lang.String repositoryId,
java.io.File fout)
Fetch an object's content from the repository. |
com.sas.services.information.RepositoryData |
fetchRepositoryData(java.lang.String repositoryKey)
|
boolean |
getHttps()
Return whether this repository is using SSL (https://) or not |
java.lang.String |
getHttpUrl()
Get the HTTP URL that represents the specific instance for a repository. |
java.util.List |
getItems(DAVFolderInterface d)
|
PersonalRepositoryInterface |
getPersonalRepository()
Get the personal repository. |
java.util.List |
getPreviousVersionNames(MetadataInterface entity)
Returns a list of version names for the object |
java.lang.String |
getReposIdwoTypeFromUrl(java.lang.String fullUrl)
Extract the reposId without the type appended from the url provided. |
java.lang.String |
getServerString()
Returns the identifier string from the connected WebDAV server |
com.sas.services.webdav.SharedResourceInterface |
getSharedResource()
Get an object that represents the shared resource |
MetadataInterface |
getVersion(MetadataInterface entity,
java.lang.String versionName)
Retrieves a particular version of the specified object |
PersonInterface |
makePersonalAnchor()
|
MetadataInterface |
moveTo(DAVEntityInterface m,
DAVFolderInterface f)
Deprecated. |
MetadataInterface |
moveTo(DAVEntityInterface m,
DAVFolderInterface f,
java.lang.String name)
Move a smart object. |
void |
setACLFromStore(DAVEntityInterface entity)
|
boolean |
supportsACL()
Return whether this repository supports ACL or not |
boolean |
supportsSEARCH()
Return whether this repository supports SEARCH or not |
int |
trackEntity(MetadataInterface entity)
Add a new object to the tracking cache. |
void |
uncheckout(MetadataInterface entity)
Uncheck out/Cancel update |
void |
updateEntity(DAVEntityInterface input)
Update an existing entity in the repository. |
void |
version(MetadataInterface entity)
Put the entity under version control |
Method Detail |
---|
java.io.InputStream fetchContents(java.lang.String repositoryId) throws ServiceException, java.rmi.RemoteException
repositoryId
- The identifier for the object from the repository.
ServiceException
- in the event of repository failures
java.rmi.RemoteException
- in the event of network failuresvoid fetchContents(java.lang.String repositoryId, java.io.File fout) throws ServiceException, java.rmi.RemoteException
fout
- The file to which the content should be written
ServiceException
- in the event of repository failures
java.rmi.RemoteException
- in the event of network failuresjava.lang.String getHttpUrl() throws java.rmi.RemoteException
java.rmi.RemoteException
- in case of network failuresvoid updateEntity(DAVEntityInterface input) throws ServiceException, java.rmi.RemoteException
input
- The entity to be updated on the backing store
ServiceException
- in the case of repository failures
java.rmi.RemoteException
- in the case of network failuresjava.lang.String getReposIdwoTypeFromUrl(java.lang.String fullUrl) throws java.rmi.RemoteException
fullUrl
- The url that needs to be broken up into the repository
url and the reposId without a type qualifier
java.rmi.RemoteException
PersonInterface makePersonalAnchor() throws ServiceException, java.rmi.RemoteException
ServiceException
java.rmi.RemoteException
PersonalRepositoryInterface getPersonalRepository() throws ServiceException, java.rmi.RemoteException
ServiceException
- in the case of repository failures
java.rmi.RemoteException
- in the case of network failuresboolean getHttps() throws java.rmi.RemoteException
java.rmi.RemoteException
boolean supportsACL() throws java.rmi.RemoteException
java.rmi.RemoteException
boolean supportsSEARCH() throws java.rmi.RemoteException
java.rmi.RemoteException
java.util.List getItems(DAVFolderInterface d) throws java.rmi.RemoteException
java.rmi.RemoteException
com.sas.services.information.RepositoryData fetchRepositoryData(java.lang.String repositoryKey) throws ServiceException, java.rmi.RemoteException
ServiceException
java.rmi.RemoteException
MetadataInterface copyTo(DAVEntityInterface m, DAVFolderInterface f) throws ServiceException, java.rmi.RemoteException
ServiceException
java.rmi.RemoteException
MetadataInterface moveTo(DAVEntityInterface m, DAVFolderInterface f) throws ServiceException, java.rmi.RemoteException
ServiceException
java.rmi.RemoteException
MetadataInterface copyTo(DAVEntityInterface m, DAVFolderInterface f, java.lang.String name) throws ServiceException, java.rmi.RemoteException
m
- The repository entity to be copiedf
- The folder to contain the new objectname
- The object's new name - null or blank takes name of existing object
ServiceException
- in the case of repository failures
java.rmi.RemoteException
- in the case of network failuresMetadataInterface moveTo(DAVEntityInterface m, DAVFolderInterface f, java.lang.String name) throws ServiceException, java.rmi.RemoteException
m
- The repository entity to be movedf
- The folder to contain the new objectname
- The object's new name - null or blank takes name of existing object
ServiceException
- in the case of repository failures
java.rmi.RemoteException
- in the case of network failuresvoid setACLFromStore(DAVEntityInterface entity) throws java.rmi.RemoteException
java.rmi.RemoteException
void version(MetadataInterface entity) throws ServiceException, java.rmi.RemoteException
entity
- The entity that represents the item to be put under version control
ServiceException
- in the case of repository failures
java.rmi.RemoteException
- in the case of network failuresvoid checkout(MetadataInterface entity) throws ServiceException, java.rmi.RemoteException
entity
- The entity to be checked out of the repository
ServiceException
- in the case of repository failures
java.rmi.RemoteException
- in the case of network failuresvoid checkin(MetadataInterface entity) throws ServiceException, java.rmi.RemoteException
entity
- The entity to be checked in to the repository
ServiceException
- in the case of repository failures
java.rmi.RemoteException
- in the case of network failuresvoid checkin(MetadataInterface entity, java.lang.String comment) throws ServiceException, java.rmi.RemoteException
entity
- The entity to be checked in to the repositorycomment
- A comment for the new version that will be created
ServiceException
- in the case of repository failures
java.rmi.RemoteException
- in the case of network failuresvoid uncheckout(MetadataInterface entity) throws ServiceException, java.rmi.RemoteException
entity
- The entity to be unchecked out
ServiceException
- in the case of repository failures
java.rmi.RemoteException
- in the case of network failuresint trackEntity(MetadataInterface entity) throws java.rmi.RemoteException
java.rmi.RemoteException
void addToCache(MetadataInterface mi) throws java.rmi.RemoteException
java.rmi.RemoteException
com.sas.services.webdav.SharedResourceInterface getSharedResource() throws java.rmi.RemoteException
java.rmi.RemoteException
java.util.List getPreviousVersionNames(MetadataInterface entity) throws ServiceException, java.rmi.RemoteException
entity
- The object for which a list of versions is required
ServiceException
- in the case of repository failures
java.rmi.RemoteException
- in the case of network failuresMetadataInterface getVersion(MetadataInterface entity, java.lang.String versionName) throws ServiceException, java.rmi.RemoteException
entity
- The object for which the specified version is being requestedversionName
- The name of the version (one obtained from getPreviousVersionNames)
ServiceException
- in the case of repository failures
java.rmi.RemoteException
- in the case of network failuresjava.lang.String getServerString() throws java.rmi.RemoteException
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 |