|
Clearspace API (1.7.0) Core Javadocs | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jivesoftware.community.ApprovalStatus
public class ApprovalStatus
Contains information on whether a user has approved a document edit and when.
Document.getApprovalStatus(),
Serialized Form| Constructor Summary | |
|---|---|
ApprovalStatus(User user,
boolean approved,
boolean rejected,
java.util.Date approvedDate)
Creates a new approval status object. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
|
java.util.Date |
getApprovedDate()
If the document is approved it will return the date the user approved it, else null will be returned. |
User |
getUser()
Returns The approval user. |
int |
hashCode()
|
boolean |
isApproved()
True if this user has approved the document. |
boolean |
isRejected()
True if this user has rejected the document. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ApprovalStatus(User user,
boolean approved,
boolean rejected,
java.util.Date approvedDate)
user - The approval user.approved - True if the user approved the edit.rejected - True if the user rejected the edit.approvedDate - The date the user approved the edit, else null.| Method Detail |
|---|
public User getUser()
public boolean isApproved()
public boolean isRejected()
public java.util.Date getApprovedDate()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
Clearspace Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||