|
| Services |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
Remarks are a list of comments, which forms a way of grouping comments on a
related topic together. A list of remarks can be obtained from a metadata object using the
getRemarksList on corresponding metadata objects.
| Fields inherited from interface com.sas.services.information.metadata.MetadataInterface |
PERMISSION_READMETADATA, PERMISSION_WRITEMETADATA |
| Method Summary | |
void |
addComment(CommentInterface comment)
Add a comment - as long as user is an allowed participant |
void |
addReferral(String entityKey)
Sets the referral, which is the item that refers to this remark. |
void |
clear()
Clear the list of comments - only owner is allowed to do this |
CommentInterface |
getComment(CommentFilterInterface filter)
Get a comment that satisfies the filter. |
List |
getComments(CommentFilterInterface filter)
Get a list of all comments that satisfy the filter. |
String |
getOwner()
Gets the owner of the discussion thread |
String |
getProperty(String propertyName)
Returns the value of a property. |
Date |
getStarted()
Returns the date the discussion thread was started |
String |
getStarted(DateFormat df)
Returns the date the discussion thread was started |
String |
getThreadId()
Get the thread identifier for this remark |
String |
getTopic()
Gets the topic of discussion |
void |
setOwner(UserContextInterface user)
Sets the owner of the discussion thread. |
void |
setProperty(String propertyName,
String propertyValue)
Sets the value of a property |
void |
setThreadId(String threadId)
Sets the thread identifier for this remark. |
void |
setTopic(String topic)
Sets the topic of discussion. |
| Method Detail |
public void addComment(CommentInterface comment)
throws RemoteException
comment - A comment to add to the discussion thread. The comment may contain attachments
public CommentInterface getComment(CommentFilterInterface filter)
throws RemoteException
filter - A filter to determine which comment in the discussion thread should be returned.
public List getComments(CommentFilterInterface filter)
throws RemoteException
filter - A filter to determine which comments in the discussion thread should be returned.
public void clear()
throws RemoteException
public String getOwner()
throws RemoteException
public String getTopic()
throws RemoteException
public void setOwner(UserContextInterface user)
throws IllegalStateException,
RemoteException
user - The user context that represents the owner/creator of the discussion threadIllegalStateException - If the owner is already set
public void setTopic(String topic)
throws IllegalStateException,
RemoteException
topic - The topic for this discussion threadIllegalStateException - If the topic is already set
public Date getStarted()
throws RemoteException
public String getStarted(DateFormat df)
throws RemoteException
df - A dateformat to apply to the date for formatting
public String getProperty(String propertyName)
throws RemoteException
propertyName - The name of the property. Use the format "{namespaceURI}name". If the property is not
in any namespace then use either "{}name" or just "name".
public void setProperty(String propertyName,
String propertyValue)
throws RemoteException
propertyName - The name of the property. Use the format "{namespaceURI}name". If the property is not
in any namespace then use either "{}name" or just "name".propertyValue - The value for the property.
public void setThreadId(String threadId)
throws RemoteException
threadId - Thread identifier for this remark.
public String getThreadId()
throws RemoteException
public void addReferral(String entityKey)
throws RemoteException
entityKey - The entityKey of the smart object that refers to this remark.
|
| Services |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||