|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.webmethods.caf.faces.bean.BaseFacesBean
com.webmethods.caf.faces.bean.BaseFacesSessionBean
com.webmethods.caf.faces.data.task.TaskAuditDisplayProvider
public class TaskAuditDisplayProvider
Helper class to assist with display of information from Task Audit
Field Summary | |
---|---|
protected ITaskAudit |
m_auditEntry
TaskAudit entry being displayed |
Fields inherited from class com.webmethods.caf.faces.bean.BaseFacesSessionBean |
---|
fExpireWithPageFlow |
Fields inherited from class com.webmethods.caf.faces.bean.BaseFacesBean |
---|
DATA_BINDING_CLIENTS, OUTCOME_ERROR, OUTCOME_OK, resourcesProviders |
Constructor Summary | |
---|---|
TaskAuditDisplayProvider()
Default constructor |
Method Summary | |
---|---|
Map |
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 |
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 void |
release()
Override this method to release any resources associated with this session. |
void |
setTaskAudit(ITaskAudit taskAudit)
Set task audit entry |
Methods inherited from class com.webmethods.caf.faces.bean.BaseFacesSessionBean |
---|
getExpireWithPageFlow, setExpireWithPageFlow, valueBound, valueUnbound |
Methods inherited from class com.webmethods.caf.faces.bean.BaseFacesBean |
---|
createMethodBinding, createValueBinding, error, error, error, error, error, getBean, getFacesContext, getLocale, getResourceInputStream, getResources, getResourcesProvider, getRootCause, getStackTrace, getTreeAttribute, isUserInRole, log, log, log, putTreeAttribute, resetDataBindingClients, resolveDataBinding, resolveDataBinding, resolveExpression, setValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected ITaskAudit m_auditEntry
Constructor Detail |
---|
public TaskAuditDisplayProvider()
Method Detail |
---|
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()
public List getDifferences()
public String getDelegateID()
public String getDelegateDisplayName()
public Map getAuditProperties()
public boolean isDelegated()
protected void release()
release
in class BaseFacesSessionBean
protected String getPrincipalDisplayName(String principalID)
principalID
- ID of the user/group/role
public Object getAuditProperty(String propName)
propName
- property name
protected boolean isRuleAudit()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |