|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RemarksInterface
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.
Field Summary |
---|
Fields inherited from interface com.sas.services.information.metadata.MetadataInterface |
---|
METADATA_STATE_DELETED, METADATA_STATE_DESTROYED, METADATA_STATE_NEW, METADATA_STATE_NORMAL, PERMISSION_READMETADATA, PERMISSION_WRITEMETADATA |
Method Summary | |
---|---|
void |
addComment(CommentInterface comment)
Add a comment - as long as user is an allowed participant |
void |
addReferral(java.lang.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. |
java.util.List |
getComments(CommentFilterInterface filter)
Get a list of all comments that satisfy the filter. |
java.lang.String |
getOwner()
Gets the owner of the discussion thread |
java.lang.String |
getProperty(java.lang.String propertyName)
Returns the value of a property. |
java.util.Date |
getStarted()
Returns the date the discussion thread was started |
java.lang.String |
getStarted(java.text.DateFormat df)
Returns the date the discussion thread was started |
java.lang.String |
getThreadId()
Get the thread identifier for this remark |
java.lang.String |
getTopic()
Gets the topic of discussion |
void |
setOwner(UserContextInterface user)
Sets the owner of the discussion thread. |
void |
setProperty(java.lang.String propertyName,
java.lang.String propertyValue)
Sets the value of a property |
void |
setThreadId(java.lang.String threadId)
Sets the thread identifier for this remark. |
void |
setTopic(java.lang.String topic)
Sets the topic of discussion. |
Methods inherited from interface com.sas.services.information.publicobject.PublicObjectInterface |
---|
addProcessorInterface, getContainer, getIdentifier, getName, getObjectURI, getPathUrl, getProcessorInterface, getTypeDescriptor |
Method Detail |
---|
void addComment(CommentInterface comment) throws java.rmi.RemoteException
comment
- A comment to add to the discussion thread. The comment may contain attachments
java.rmi.RemoteException
- In the event of remote object failure.CommentInterface getComment(CommentFilterInterface filter) throws java.rmi.RemoteException
filter
- A filter to determine which comment in the discussion thread should be returned.
java.rmi.RemoteException
- In the event of remote object failure.java.util.List getComments(CommentFilterInterface filter) throws java.rmi.RemoteException
filter
- A filter to determine which comments in the discussion thread should be returned.
java.rmi.RemoteException
- In the event of remote object failure.void clear() throws java.rmi.RemoteException
java.rmi.RemoteException
- In the event of remote object failure.java.lang.String getOwner() throws java.rmi.RemoteException
java.rmi.RemoteException
- In the event of remote object failure.java.lang.String getTopic() throws java.rmi.RemoteException
java.rmi.RemoteException
- In the event of remote object failure.void setOwner(UserContextInterface user) throws java.lang.IllegalStateException, java.rmi.RemoteException
user
- The user context that represents the owner/creator of the discussion thread
java.lang.IllegalStateException
- If the owner is already set
java.rmi.RemoteException
- In the event of remote object failure.void setTopic(java.lang.String topic) throws java.lang.IllegalStateException, java.rmi.RemoteException
topic
- The topic for this discussion thread
java.lang.IllegalStateException
- If the topic is already set
java.rmi.RemoteException
- In the event of remote object failure.java.util.Date getStarted() throws java.rmi.RemoteException
java.rmi.RemoteException
- In the event of remote object failure.java.lang.String getStarted(java.text.DateFormat df) throws java.rmi.RemoteException
df
- A dateformat to apply to the date for formatting
java.rmi.RemoteException
- In the event of remote object failure.java.lang.String getProperty(java.lang.String propertyName) throws java.rmi.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".
java.rmi.RemoteException
- In the event of remote object failure.void setProperty(java.lang.String propertyName, java.lang.String propertyValue) throws java.rmi.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.
java.rmi.RemoteException
- In the event of remote object failure.void setThreadId(java.lang.String threadId) throws java.rmi.RemoteException
threadId
- Thread identifier for this remark.
java.rmi.RemoteException
- In the event of remote object failure.java.lang.String getThreadId() throws java.rmi.RemoteException
java.rmi.RemoteException
- In the event of remote object failure.void addReferral(java.lang.String entityKey) throws java.rmi.RemoteException
entityKey
- The entityKey of the smart object that refers to this remark.
java.rmi.RemoteException
- In the event of remote object failure.
|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |