|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.versionone.om.Entity
com.versionone.om.Note
public class Note
Represents a Note in the VersionOne system.
| Field Summary |
|---|
| Fields inherited from class com.versionone.om.Entity |
|---|
ASSET_STATE_VALUE, ASSET_VALUE, CHANGE_DATE_UTC, CONTENT_TYPE_VALUE, CONTENT_VALUE, CREATE_DATE_UTC, DELETE_OPERATION, DESCRIPTION_VALUE, FILENAME_VALUE, NAME_VALUE |
| Method Summary | |
|---|---|
boolean |
canDelete()
Deprecated. |
Note |
createResponse(java.lang.String name,
java.lang.String content,
boolean personal)
Deprecated. Create a response to this note |
Note |
createResponse(java.lang.String name,
java.lang.String content,
boolean personal,
java.util.Map<java.lang.String,java.lang.Object> attributes)
Deprecated. Create a response to this note. |
void |
delete()
Deprecated. Deletes the Note. |
BaseAsset |
getAsset()
Deprecated. |
java.lang.String |
getContent()
Deprecated. |
Note |
getInResponseTo()
Deprecated. Note this note is a response to |
java.lang.String |
getName()
Deprecated. |
java.util.Collection<Note> |
getResponses()
Deprecated. Responses to this Note |
IListValueProperty |
getType()
Deprecated. |
boolean |
isPersonal()
Deprecated. |
void |
setAsset(BaseAsset value)
Deprecated. |
void |
setContent(java.lang.String value)
Deprecated. |
void |
setName(java.lang.String value)
Deprecated. |
void |
setPersonal(boolean value)
Deprecated. |
| Methods inherited from class com.versionone.om.Entity |
|---|
equals, get, getChangeComment, getChangeDate, getChangedBy, getCreateComment, getCreateDate, getCreatedBy, getID, getInstance, hashCode, save, save, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public IListValueProperty getType()
public BaseAsset getAsset()
public void setAsset(BaseAsset value)
value - Asset this Note is related to.public boolean isPersonal()
public void setPersonal(boolean value)
value - True if this note is visible only to the currently logged in
user.public java.lang.String getContent()
public void setContent(java.lang.String value)
value - Content of this Note.public java.lang.String getName()
public void setName(java.lang.String value)
value - Name of this Note.public boolean canDelete()
public void delete()
throws java.lang.UnsupportedOperationException
java.lang.UnsupportedOperationException - The item is an invalid state for
the Operation.
public Note createResponse(java.lang.String name,
java.lang.String content,
boolean personal)
name - The name of the notecontent - The content of the notepersonal - True if the note is only visible to the currently logged in user
public Note createResponse(java.lang.String name,
java.lang.String content,
boolean personal,
java.util.Map<java.lang.String,java.lang.Object> attributes)
name - The name of the notecontent - The content of the notepersonal - True if the note is only visible to the currently logged in userattributes - additional attributes for response to this note.
public Note getInResponseTo()
public java.util.Collection<Note> getResponses()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||