Clearspace API (1.10.16) Web Services Client Javadocs

com.jivesoftware.community.webservices
Class ApprovalStatus

java.lang.Object
  extended by com.jivesoftware.community.webservices.ApprovalStatus

public class ApprovalStatus
extends java.lang.Object

Contains information on whether a user has approved a document edit and when.

See Also:
DocumentService.getApprovalStatusForDocument(long)

Constructor Summary
ApprovalStatus()
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.util.Date getApprovedDate()
          Returns the date the user approved the document.
 long getUserID()
          Returns the id of the approval user.
 int hashCode()
           
 boolean isApproved()
          Returns true if the user has approved the document.
 void setApproved(boolean approved)
          Set to true if the user has approved the document.
 void setApprovedDate(java.util.Date approvedDate)
          Sets the date the user approved the document.
 void setUserID(long userID)
          Sets the id of the approval User.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ApprovalStatus

public ApprovalStatus()
Method Detail

getUserID

public long getUserID()
Returns the id of the approval user.

Returns:
the id of the approval user.

setUserID

public void setUserID(long userID)
Sets the id of the approval User.

Parameters:
userID - the id of the approval User.

isApproved

public boolean isApproved()
Returns true if the user has approved the document.

Returns:
True if the user has approved the document.

setApproved

public void setApproved(boolean approved)
Set to true if the user has approved the document.

Parameters:
approved - true if the user has approved the document.

getApprovedDate

public java.util.Date getApprovedDate()
Returns the date the user approved the document.

Returns:
the date the user approved the document.

setApprovedDate

public void setApprovedDate(java.util.Date approvedDate)
Sets the date the user approved the document.

Parameters:
approvedDate - the date the user approved the document.

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

Clearspace Project Page

Copyright © 1999-2007 Jive Software.