com.versionone.om
Class Note

java.lang.Object
  extended by com.versionone.om.Entity
      extended by com.versionone.om.Note

Deprecated. since VersionOne 10.3 this type is not supported.

public class Note
extends Entity

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

getType

public IListValueProperty getType()
Deprecated. 
Returns:
The type this Note belongs to.

getAsset

public BaseAsset getAsset()
Deprecated. 
Returns:
Asset this Note is related to.

setAsset

public void setAsset(BaseAsset value)
Deprecated. 
Parameters:
value - Asset this Note is related to.

isPersonal

public boolean isPersonal()
Deprecated. 
Returns:
True if this Note is visible only to the currently logged in user.

setPersonal

public void setPersonal(boolean value)
Deprecated. 
Parameters:
value - True if this note is visible only to the currently logged in user.

getContent

public java.lang.String getContent()
Deprecated. 
Returns:
Content of this Note.

setContent

public void setContent(java.lang.String value)
Deprecated. 
Parameters:
value - Content of this Note.

getName

public java.lang.String getName()
Deprecated. 
Returns:
Name of this Note.

setName

public void setName(java.lang.String value)
Deprecated. 
Parameters:
value - Name of this Note.

canDelete

public boolean canDelete()
Deprecated. 
Returns:
True if the Note can be deleted.

delete

public void delete()
            throws java.lang.UnsupportedOperationException
Deprecated. 
Deletes the Note.

Throws:
java.lang.UnsupportedOperationException - The item is an invalid state for the Operation.

createResponse

public Note createResponse(java.lang.String name,
                           java.lang.String content,
                           boolean personal)
Deprecated. 
Create a response to this note

Parameters:
name - The name of the note
content - The content of the note
personal - True if the note is only visible to the currently logged in user
Returns:
a new note

createResponse

public 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.

Parameters:
name - The name of the note
content - The content of the note
personal - True if the note is only visible to the currently logged in user
attributes - additional attributes for response to this note.
Returns:
a new note

getInResponseTo

public Note getInResponseTo()
Deprecated. 
Note this note is a response to


getResponses

public java.util.Collection<Note> getResponses()
Deprecated. 
Responses to this Note