public class Approved
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.Integer |
APPROVED_TYPE_APPROVE |
static java.lang.Integer |
APPROVED_TYPE_REJECT |
Constructor and Description |
---|
Approved() |
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getAction()
Get the action which was approved/rejected
|
java.lang.Integer |
getApprovedType()
Returns the approved type.
|
java.lang.Long |
getId()
Returns the content id upon which the action was taken.
|
java.lang.Long |
getLogId()
Get the log id.
|
java.lang.String |
getUsername()
Returns the user that requested the action.
|
java.lang.Integer |
getVersionNumber()
Gets the version number of the content being approved/rejected or
null
if the version is the current one (ContentConstants.VERSION_CURRENT ) |
void |
setAction(java.lang.Integer action_)
Set the action approved/rejected.
|
void |
setApprovedType(java.lang.Integer approved)
Sets the approved type.
|
void |
setId(java.lang.Long id_)
Set the content id upon which the action was taken.
|
void |
setLogId(java.lang.Long logId_)
Set the log id.
|
void |
setUsername(java.lang.String username_)
Set the user that requested the action.
|
void |
setVersionNumber(java.lang.Integer versionNumber)
Sets the version number.
|
java.lang.String |
toString() |
public static final java.lang.Integer APPROVED_TYPE_REJECT
public static final java.lang.Integer APPROVED_TYPE_APPROVE
public java.lang.Integer getAction()
ContentConstants.ACT_CREATE
,
ContentConstants.ACT_DEACTIVATE
, or ContentConstants.ACT_DELETE
setAction(Integer)
public void setAction(java.lang.Integer action_)
action_
- One of ContentConstants.ACT_CREATE
,
ContentConstants.ACT_DEACTIVATE
,
or ContentConstants.ACT_DELETE
getAction()
public java.lang.Long getId()
setId(Long)
public void setId(java.lang.Long id_)
id_
- content idgetId()
public java.lang.Long getLogId()
setLogId(Long)
public void setLogId(java.lang.Long logId_)
logId_
- the log idgetLogId()
public java.lang.String getUsername()
setUsername(String)
public void setUsername(java.lang.String username_)
username_
- the usernamegetUsername()
public java.lang.Integer getApprovedType()
#approved_APPROVE
or
APPROVED_TYPE_REJECT
constantspublic void setApprovedType(java.lang.Integer approved)
getApprovedType()
approved
- One of APPROVED_TYPE_APPROVE
or
APPROVED_TYPE_REJECT
constantspublic java.lang.Integer getVersionNumber()
null
if the version is the current one (ContentConstants.VERSION_CURRENT
)null
if version is
ContentConstants.VERSION_CURRENT
public void setVersionNumber(java.lang.Integer versionNumber)
getVersionNumber()
versionNumber
- version number of the content being approved/rejectedpublic java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2003-2024 Appian Corporation. All Rights Reserved.