|
| Foundation |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
@SASScope(value="ALL") 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 | |
|---|---|
abstract void |
addToCache(MetadataInterface mi)
|
abstract void |
checkin(MetadataInterface entity)
Check in the entity |
abstract void |
checkin(MetadataInterface entity,
java.lang.String comment)
Check in the entity |
abstract void |
checkout(MetadataInterface entity)
Check out the entity |
abstract MetadataInterface |
copyTo(DAVEntityInterface m,
DAVFolderInterface f)
Deprecated. |
abstract MetadataInterface |
copyTo(DAVEntityInterface m,
DAVFolderInterface f,
java.lang.String name)
Copy a smart object. |
abstract java.io.InputStream |
fetchContents(java.lang.String repositoryId)
Fetch an object's content from the repository. |
abstract void |
fetchContents(java.lang.String repositoryId,
java.io.File fout)
Fetch an object's content from the repository. |
abstract com.sas.services.information.RepositoryData |
fetchRepositoryData(java.lang.String repositoryKey)
|
abstract boolean |
getHttps()
Return whether this repository is using SSL (https://) or not |
abstract java.lang.String |
getHttpUrl()
Get the HTTP URL that represents the specific instance for a repository. |
abstract java.util.List |
getItems(DAVFolderInterface d)
|
abstract PersonalRepositoryInterface |
getPersonalRepository()
Get the personal repository. |
abstract java.util.List |
getPreviousVersionNames(MetadataInterface entity)
Returns a list of version names for the object |
abstract java.lang.String |
getReposIdwoTypeFromUrl(java.lang.String fullUrl)
Extract the reposId without the type appended from the url provided. |
abstract java.lang.String |
getServerString()
Returns the identifier string from the connected WebDAV server |
abstract com.sas.services.webdav.SharedResourceInterface |
getSharedResource()
Get an object that represents the shared resource |
abstract MetadataInterface |
getVersion(MetadataInterface entity,
java.lang.String versionName)
Retrieves a particular version of the specified object |
abstract PersonInterface |
makePersonalAnchor()
|
abstract MetadataInterface |
moveTo(DAVEntityInterface m,
DAVFolderInterface f)
Deprecated. |
abstract MetadataInterface |
moveTo(DAVEntityInterface m,
DAVFolderInterface f,
java.lang.String name)
Move a smart object. |
abstract void |
setACLFromStore(DAVEntityInterface entity)
|
abstract boolean |
supportsACL()
Return whether this repository supports ACL or not |
abstract boolean |
supportsSEARCH()
Return whether this repository supports SEARCH or not |
abstract int |
trackEntity(MetadataInterface entity)
Add a new object to the tracking cache. |
abstract void |
uncheckout(MetadataInterface entity)
Uncheck out/Cancel update |
abstract void |
updateEntity(DAVEntityInterface input)
Update an existing entity in the repository. |
abstract 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 failures
void 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 failures
java.lang.String getHttpUrl()
throws java.rmi.RemoteException
java.rmi.RemoteException - in case of network failures
void 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 failures
java.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 failures
boolean 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
@Deprecated
MetadataInterface copyTo(DAVEntityInterface m,
DAVFolderInterface f)
throws ServiceException,
java.rmi.RemoteException
ServiceException
java.rmi.RemoteException
@Deprecated
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 failures
MetadataInterface 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 failures
void 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 failures
void 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 failures
void 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 failures
void 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 failures
void 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 failures
int 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 failures
MetadataInterface 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 failures
java.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 | |||||||||||||