public class TaskAuditDisplayProvider extends BaseFacesSessionBean
Modifier and Type | Field and Description |
---|---|
protected ITaskAudit |
m_auditEntry
TaskAudit entry being displayed
|
fExpireWithPageFlow
DATA_BINDING_CLIENTS, EMPTY_RESOURCES, OUTCOME_ERROR, OUTCOME_OK, resourcesProviders
Constructor and Description |
---|
TaskAuditDisplayProvider()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getAuditProperties()
Return all audit entry properties in a single map
|
Object |
getAuditProperty(String propName)
Helper method to return single property from audit entry properties map
|
Date |
getDate()
Returns datetime of audit entry
|
String |
getDelegateDisplayName()
Returns display name for delegate user
|
String |
getDelegateID()
Returns ID of the delegate user
|
List<String> |
getDifferences()
Returns list of task differences for any task update operations
|
String |
getID()
Returns audit entry ID
|
int |
getOperation()
Returns audit entry operation
|
String |
getOperationDisplayName()
Returns display name for audit operation
|
protected String |
getPrincipalDisplayName(String principalID)
Helper method to return user/group/role display name by ID
|
boolean |
getRollbackAllowed()
Returns flag if rollback allowed for this audit entry
|
String |
getSourceDirectoryURI()
If originator of the task operation is a valid user, then return ID of this user.
|
String |
getSourceDisplayName()
Returns display name for the originator of the task operation.
|
String |
getSourceURI()
Returns ID of the originator of the task operation.
|
ITaskAudit |
getTaskAudit()
Returns task audit entry
|
boolean |
isDelegated()
Returns flag if this is delegate operation
|
protected boolean |
isRuleAudit()
Returns "true" if current audit entry is about task event/assignment operation
|
protected boolean |
isVotingFinishedAudit() |
protected void |
release()
Override this method to release any resources associated with this session.
|
void |
setTaskAudit(ITaskAudit taskAudit)
Set task audit entry
|
getExpireWithPageFlow, setExpireWithPageFlow, valueBound, valueUnbound
createMethodBinding, createMethodExpression, createValueBinding, createValueExpression, createValueExpression, error, error, error, error, error, getBean, getFacesContext, getLocale, getResourceInputStream, getResources, getResourcesProvider, getRootCause, getStackTrace, getTreeAttribute, isUserInRole, log, log, log, putTreeAttribute, resetDataBindingClients, resolveDataBinding, resolveDataBinding, resolveExpression, setValue
protected ITaskAudit m_auditEntry
public void setTaskAudit(ITaskAudit taskAudit)
public ITaskAudit getTaskAudit()
public boolean getRollbackAllowed()
public String getID()
public int getOperation()
public String getOperationDisplayName()
public Date getDate()
public String getSourceURI()
public String getSourceDirectoryURI() throws PortalException
PortalException
public String getSourceDisplayName()
PortalException
public List<String> getDifferences()
public String getDelegateID()
public String getDelegateDisplayName()
public Map<String,Object> getAuditProperties()
public boolean isDelegated()
protected void release()
release
in class BaseFacesSessionBean
protected String getPrincipalDisplayName(String principalID)
principalID
- ID of the user/group/rolepublic Object getAuditProperty(String propName)
propName
- property nameprotected boolean isRuleAudit()
protected boolean isVotingFinishedAudit()