*** This class provides Binary Compatibility only, not Source Compatibility ***
Class DAVRemarks
java.lang.Object
com.sas.services.information.metadata.dav.DAVEntity
com.sas.services.information.metadata.dav.DAVFolder
com.sas.services.information.metadata.dav.DAVRemarks
- All Implemented Interfaces:
AttributesInterface,DAVEntityInterface,DAVFolderInterface,Serializable
Represents a set of comments, on a particular topic
- Since:
- 1.1
- See Also:
-
Field Summary
Fields inherited from class com.sas.services.information.metadata.dav.DAVEntity
_acl, _descAttribute, _fullUrl, _name, _nameAttribute, _objectClass, _properties, _repos, _reposId, _resource, _schemaProperties, aclList, content, hasBeenFetched, LOCAL, UNSET -
Constructor Summary
ConstructorsConstructorDescriptionDAVRemarks(RepositoryData entity) Creates a new DAVRemarks object from a repositorydata entityDAVRemarks(RepositoryInterface repos, String reposId) Creates a new DAVRemarks object with a repository idreposIdin the repositoryrepos -
Method Summary
Modifier and TypeMethodDescriptionvoidaddComment(CommentInterface comment) Adds a comment to the discussion thread.Returns the list of comments in the discussion thread.StringgetOwner()Gets the discussion thread ownerSetlongGets the timestamp when the discussion thread was startedStringGet the thread identifier for this remark.StringgetTopic()Gets the discussion thread topicvoidsetOwner(String owner) Sets the discussion thread ownervoidsetReferrals(Set referralSet) voidsetStarted(long started) Sets the date when the discussion thread was startedvoidsetThreadId(String threadId) Set the thread identifier for this remark.voidsetTopic(String topic) Sets the discussion thread topicMethods inherited from class com.sas.services.information.metadata.dav.DAVFolder
addEntity, createFolder, createFolder, createItem, createItem, getEntities, getItem, getItems, refresh, refresh, setItemsMethods inherited from class com.sas.services.information.metadata.dav.DAVEntity
addAccessControlEntry, addAttribute, addAttributes, addUpdateMultiple, addUpdateSingle, clearLocalLists, commitUpdates, copy, delete, deleteAttribute, deleteAttributes, fetchEntity, getAccessControlList, getACL, getAttribute, getAttributes, getCreateDate, getDAVResource, getDescription, getFolder, getGUID, getModifyDate, getName, getObjectClass, getProperties, getRemarksKeys, getRemoveUpdates, getReposId, getRepository, getSetUpdates, getType, getUpdateableACL, getUrl, getURL, isCollection, isDeleted, isUpdatePending, move, refresh, removeAccessControlEntry, setAccessControls, setACL, setAttribute, setAttributes, setContentClass, setDeleted, setDescription, setGUID, setName, setRemarksKeys, setReposId, setRepository, toString, updateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.sas.services.information.metadata.dav.AttributesInterface
addAttribute, addAttributes, deleteAttribute, deleteAttributes, getAttribute, getAttributes, setAttribute, setAttributesMethods inherited from interface com.sas.services.information.metadata.dav.DAVEntityInterface
addAccessControlEntry, copy, delete, getAccessControlList, getACL, getCreateDate, getDAVResource, getDescription, getFolder, getGUID, getModifyDate, getName, getProperties, getRemarksKeys, getRemoveUpdates, getReposId, getRepository, getSetUpdates, getType, getUpdateableACL, getUrl, getURL, isCollection, isDeleted, isUpdatePending, move, refresh, removeAccessControlEntry, setACL, setContentClass, setDeleted, setDescription, setGUID, setName, setRemarksKeys, setReposId, update
-
Constructor Details
-
DAVRemarks
Creates a new DAVRemarks object with a repository idreposIdin the repositoryrepos- Throws:
RemoteException
-
DAVRemarks
public DAVRemarks(RepositoryData entity) throws RemoteException Creates a new DAVRemarks object from a repositorydata entity- Throws:
RemoteException
-
-
Method Details
-
addComment
Adds a comment to the discussion thread. If the comment has any attachments they are also added to the discussion thread.- Parameters:
comment- The commment to be added to the discussion thread- Throws:
RemoteException
-
getComments
Returns the list of comments in the discussion thread.- Returns:
- CommentInterface[] The list of comments in this discussion thread
- Throws:
RemoteException
-
setOwner
public void setOwner(String owner) Sets the discussion thread owner- Parameters:
owner- The discussion thread owner
-
getOwner
public String getOwner()Gets the discussion thread owner- Returns:
- String The discussion thread owner
-
setTopic
public void setTopic(String topic) Sets the discussion thread topic- Parameters:
topic- The discussion thread topic
-
getTopic
public String getTopic()Gets the discussion thread topic- Returns:
- String The discussion thread topic
-
setStarted
public void setStarted(long started) Sets the date when the discussion thread was started- Parameters:
started- The timestamp when the discussion thread was started
-
getStarted
public long getStarted()Gets the timestamp when the discussion thread was started- Returns:
- long The started timestamp
-
setReferrals
public void setReferrals(Set referralSet) -
getReferrals
public Set getReferrals() -
setThreadId
public void setThreadId(String threadId) Set the thread identifier for this remark.- Parameters:
threadId- A String representing the thread identifier
-
getThreadId
public String getThreadId()Get the thread identifier for this remark.- Returns:
- String The thread identifier for this remark. Return
nullif there is no thread identifier.
-