public class Note extends 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| Modifier and Type | Method and Description |
|---|---|
boolean |
canDelete()
Deprecated.
|
Note |
createResponse(String name,
String content,
boolean personal)
Deprecated.
Create a response to this note
|
Note |
createResponse(String name,
String content,
boolean personal,
Map<String,Object> attributes)
Deprecated.
Create a response to this note.
|
void |
delete()
Deprecated.
Deletes the Note.
|
BaseAsset |
getAsset()
Deprecated.
|
String |
getContent()
Deprecated.
|
Note |
getInResponseTo()
Deprecated.
Note this note is a response to
|
String |
getName()
Deprecated.
|
Collection<Note> |
getResponses()
Deprecated.
Responses to this Note
|
IListValueProperty |
getType()
Deprecated.
|
boolean |
isPersonal()
Deprecated.
|
void |
setAsset(BaseAsset value)
Deprecated.
|
void |
setContent(String value)
Deprecated.
|
void |
setName(String value)
Deprecated.
|
void |
setPersonal(boolean value)
Deprecated.
|
equals, get, getChangeComment, getChangeDate, getChangedBy, getCreateComment, getCreateDate, getCreatedBy, getID, getInstance, hashCode, save, save, toStringpublic 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 String getContent()
public void setContent(String value)
value - Content of this Note.public String getName()
public void setName(String value)
value - Name of this Note.public boolean canDelete()
public void delete()
throws UnsupportedOperationException
UnsupportedOperationException - The item is an invalid state for
the Operation.public Note createResponse(String name, 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 userpublic Note createResponse(String name, String content, boolean personal, Map<String,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 Collection<Note> getResponses()
Copyright © 2013 Version One, Inc.. All rights reserved.