|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DAVEntityInterface
Method Summary | |
---|---|
void |
addAccessControlEntry(AccessControlEntryInterface ace)
Add an access control entry to the ACL |
DAVEntityInterface |
copy(DAVFolderInterface folder)
Copy the entity to another folder |
void |
delete()
Delete the entity |
java.util.List |
getAccessControlList()
|
java.lang.String |
getACL()
Get the ACL for this entity |
java.lang.String |
getCreateDate()
Returns the creation date, if it exists, null otherwise |
DAVResource |
getDAVResource()
Return the underlying DAVResource for this entity, if it exists (that is if it has been fetched) |
java.lang.String |
getDescription()
Return the entity's description property |
DAVFolderInterface |
getFolder()
Get the folder that contains this entity |
java.lang.String |
getGUID()
Return the GUID for this entity, if one has been set. |
java.lang.String |
getModifyDate()
Returns the last modified date, if it exists, null otherwise |
java.lang.String |
getName()
Get the name of this entity |
java.util.Map |
getProperties()
Get properties/attributes for this entity |
java.lang.String[] |
getRemarksKeys()
Get a list of entity keys for the remarks or dicussion threads relating to this object. |
java.util.Map |
getRemoveUpdates()
If there are any updates to remove properties, then return this list |
java.lang.String |
getReposId()
Get the repository identifier for this entity. |
RepositoryInterface |
getRepository()
Get the repository associated with this entity |
java.util.Map |
getSetUpdates()
If there are any updates to set property values, then return this list |
java.lang.String |
getType()
Get the entity's object type. |
java.lang.String |
getUpdateableACL()
|
java.lang.String |
getUrl()
Get the url for this entity |
java.lang.String |
getURL()
Return the full url as represented in a repository for this entity |
boolean |
isCollection()
Is this a collection? |
boolean |
isDeleted()
Has this entity been deleted? |
boolean |
isUpdatePending()
Returns whether there are any updates pending for the repository entity |
DAVEntityInterface |
move(DAVFolderInterface folder)
Move the entity to another folder |
void |
refresh()
Refresh this entity. |
void |
refresh(DAVEntityInterface entity)
Refresh this entity from the parameter. |
void |
removeAccessControlEntry(AccessControlEntryInterface ace)
Remove an access control entry from the ACL |
void |
setACL(java.lang.String acl)
Set the ACL for this entity |
void |
setContentClass(java.lang.String contentClass)
Set the contentClass for a paricular resource. |
void |
setDeleted()
Mark the entity as having been deleted. |
void |
setDescription(java.lang.String desc)
Set the entity's description property |
void |
setGUID(java.lang.String guid)
Set the GUID on this entity. |
void |
setName(java.lang.String name)
Set the name attribute |
void |
setRemarksKeys(java.lang.String[] remarksKeys)
Set the remarks or discussion threads relating to this object |
void |
setReposId(java.lang.String reposId)
Set the repository identifier for this entity. |
void |
update()
Persist any changes to the metadata back to the backing store. |
Methods inherited from interface com.sas.services.information.metadata.dav.AttributesInterface |
---|
addAttribute, addAttributes, deleteAttribute, deleteAttributes, getAttribute, getAttributes, setAttribute, setAttributes |
Method Detail |
---|
void delete() throws ServiceException, java.rmi.RemoteException
ServiceException
java.rmi.RemoteException
DAVEntityInterface copy(DAVFolderInterface folder)
DAVEntityInterface move(DAVFolderInterface folder)
java.lang.String getUrl()
java.lang.String getReposId()
DAVFolderInterface getFolder()
java.lang.String getName()
boolean isCollection()
java.lang.String getCreateDate()
null
otherwise
java.lang.String getModifyDate()
null
otherwise
java.lang.String[] getRemarksKeys()
void setRemarksKeys(java.lang.String[] remarksKeys)
remarksKeys
- An array of entity keys for the remarks relating to this object.void setACL(java.lang.String acl)
acl
- An XML element string that defines the WebDAV ACL for this resourcejava.lang.String getACL()
java.util.List getAccessControlList()
void refresh()
void update() throws ServiceException, java.rmi.RemoteException
ServiceException
- in the case of a services failure
java.rmi.RemoteException
- in the case of network failuresjava.lang.String getType()
void setReposId(java.lang.String reposId)
reposId
- Repository identifier for this entityjava.util.Map getSetUpdates()
java.util.Map getRemoveUpdates()
java.lang.String getURL()
java.lang.String getUpdateableACL()
DAVResource getDAVResource()
void setContentClass(java.lang.String contentClass)
contentClass
- The content class to set for this entityjava.util.Map getProperties()
void refresh(DAVEntityInterface entity)
entity
- A DAVEntity from which to obtain the latest propertiesvoid setName(java.lang.String name)
name
- Value for the name attributejava.lang.String getDescription()
void setDescription(java.lang.String desc)
desc
- The value for the description property of the entityRepositoryInterface getRepository()
boolean isDeleted()
void setDeleted()
void addAccessControlEntry(AccessControlEntryInterface ace)
ace
- Access control entry to be added to the ACLvoid removeAccessControlEntry(AccessControlEntryInterface ace)
ace
- Access control entry to be removed from the ACLboolean isUpdatePending()
void setGUID(java.lang.String guid)
guid
- The GUID to be set on this entityjava.lang.String getGUID()
|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |