org.enhydra.shark.eventaudit
Class DODSReportingEventAuditManager
java.lang.Object
org.enhydra.shark.eventaudit.DODSReportingEventAuditManager
- All Implemented Interfaces:
- EventAuditManagerInterface
public class DODSReportingEventAuditManager
- extends java.lang.Object
- implements EventAuditManagerInterface
Method Summary |
void |
_configure(CallbackUtilities cus)
|
void |
_persist(WMSessionHandle shandle,
AssignmentEventAuditPersistenceObject aea)
|
void |
_persist(WMSessionHandle shandle,
CreateProcessEventAuditPersistenceObject cpea)
|
void |
_persist(WMSessionHandle shandle,
DataEventAuditPersistenceObject dea)
|
void |
_persist(WMSessionHandle shandle,
StateEventAuditPersistenceObject sea)
|
void |
configure(CallbackUtilities cut)
|
protected java.lang.Object[] |
createArray(short vtype,
int length)
|
void |
delete(WMSessionHandle shandle,
AssignmentEventAuditPersistenceObject assea)
|
void |
delete(WMSessionHandle shandle,
CreateProcessEventAuditPersistenceObject cpea)
|
void |
delete(WMSessionHandle shandle,
DataEventAuditPersistenceObject dea)
|
void |
delete(WMSessionHandle shandle,
StateEventAuditPersistenceObject sea)
|
protected org.enhydra.shark.eventaudit.data.ActivityHistoryDetailsDO[] |
getActivityHistoryDetails(java.lang.String aId,
java.lang.String sqlWhere,
int startAt,
int limit)
|
protected org.enhydra.shark.eventaudit.data.ActivityHistoryInfoDO[] |
getActivityHistoryInfo(java.lang.String pId,
java.lang.String aId,
java.lang.String sqlWhere,
int startAt,
int limit)
|
java.math.BigDecimal |
getNextDecId(java.lang.String idName)
|
protected org.enhydra.shark.eventaudit.data.ActivityHistoryInfoDO |
getPersistedObject(AssignmentEventAuditPersistenceObject aea)
|
protected java.lang.Object |
getPersistedObject(DataEventAuditPersistenceObject aea)
|
protected java.lang.Object |
getPersistedObject(StateEventAuditPersistenceObject sea)
|
protected org.enhydra.shark.eventaudit.data.ProcessHistoryDetailsDO[] |
getProcessHistoryDetails(java.lang.String pId,
java.lang.String sqlWhere,
int startAt,
int limit)
|
protected org.enhydra.shark.eventaudit.data.ProcessHistoryInfoDO[] |
getProcessHistoryInfo(java.lang.String pId,
java.lang.String sqlWhere,
int startAt,
int limit,
int maxRows)
|
protected java.lang.Object |
getVariableValue(WMSessionHandle shandle,
short varType,
org.enhydra.shark.eventaudit.data.ActivityHistoryDetailsDO ahd)
|
protected java.lang.Object |
getVariableValue(WMSessionHandle shandle,
short varType,
org.enhydra.shark.eventaudit.data.ProcessHistoryDetailsDO phd)
|
protected boolean |
isTransientProcess(WMSessionHandle shandle,
java.lang.String procId)
|
protected boolean |
isTransientVariable(WMSessionHandle shandle,
java.lang.String procId,
java.lang.String varId)
|
java.util.List |
listActivityHistoryInfoWhere(WMSessionHandle shandle,
java.lang.String sqlWhere,
int startAt,
int limit,
boolean fillVariablesInfo)
|
java.util.List |
listProcessDefinitionHistoryInfoWhere(WMSessionHandle shandle,
java.lang.String factoryName,
boolean countProcessInstances)
|
java.util.List |
listProcessHistoryInfoWhere(WMSessionHandle shandle,
java.lang.String sqlWhere,
int startAt,
int limit,
boolean fillActivitiesInfo,
boolean fillActivitiyVariablesInfo,
boolean fillVariablesInfo)
|
void |
persist(WMSessionHandle shandle,
AssignmentEventAuditPersistenceObject aea)
|
void |
persist(WMSessionHandle shandle,
CreateProcessEventAuditPersistenceObject cpea)
|
void |
persist(WMSessionHandle shandle,
DataEventAuditPersistenceObject dea)
|
void |
persist(WMSessionHandle shandle,
StateEventAuditPersistenceObject sea)
|
protected void |
persistNewEventAuditDataBLOB(org.enhydra.shark.eventaudit.data.ActivityHistoryDetailsDO ahdDO,
java.lang.Object val)
|
protected void |
persistNewEventAuditDataBLOB(org.enhydra.shark.eventaudit.data.ProcessHistoryDetailsDO phdDO,
java.lang.Object val)
|
boolean |
restore(WMSessionHandle shandle,
AssignmentEventAuditPersistenceObject assea)
|
boolean |
restore(WMSessionHandle shandle,
CreateProcessEventAuditPersistenceObject cpea)
|
boolean |
restore(WMSessionHandle shandle,
DataEventAuditPersistenceObject dea)
|
boolean |
restore(WMSessionHandle shandle,
StateEventAuditPersistenceObject sea)
|
java.util.List |
restoreActivityHistory(WMSessionHandle shandle,
java.lang.String procId,
java.lang.String actId)
|
java.util.List |
restoreProcessHistory(WMSessionHandle shandle,
java.lang.String procId)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG_CHANNEL
protected static final java.lang.String LOG_CHANNEL
- See Also:
- Constant Field Values
DB_TYPE_BOOLEAN
protected static final short DB_TYPE_BOOLEAN
- See Also:
- Constant Field Values
DB_TYPE_LONG
protected static final short DB_TYPE_LONG
- See Also:
- Constant Field Values
DB_TYPE_DOUBLE
protected static final short DB_TYPE_DOUBLE
- See Also:
- Constant Field Values
DB_TYPE_VCHAR
protected static final short DB_TYPE_VCHAR
- See Also:
- Constant Field Values
DB_TYPE_DATE
protected static final short DB_TYPE_DATE
- See Also:
- Constant Field Values
DB_TYPE_BLOB
protected static final short DB_TYPE_BLOB
- See Also:
- Constant Field Values
DB_TYPE_XML
protected static final short DB_TYPE_XML
- See Also:
- Constant Field Values
PHD_TYPE_PROCESS_SUSPENDED
protected static final short PHD_TYPE_PROCESS_SUSPENDED
- See Also:
- Constant Field Values
PHD_TYPE_PROCESS_RESUMED
protected static final short PHD_TYPE_PROCESS_RESUMED
- See Also:
- Constant Field Values
PHD_TYPE_PROCESS_VARIABLE_UPDATED
protected static final short PHD_TYPE_PROCESS_VARIABLE_UPDATED
- See Also:
- Constant Field Values
AHD_TYPE_ACTIVITY_SUSPENDED
protected static final short AHD_TYPE_ACTIVITY_SUSPENDED
- See Also:
- Constant Field Values
AHD_TYPE_ACTIVITY_RESUMED
protected static final short AHD_TYPE_ACTIVITY_RESUMED
- See Also:
- Constant Field Values
AHD_TYPE_ACTIVITY_ACCEPTED
protected static final short AHD_TYPE_ACTIVITY_ACCEPTED
- See Also:
- Constant Field Values
AHD_TYPE_ACTIVITY_REJECTED
protected static final short AHD_TYPE_ACTIVITY_REJECTED
- See Also:
- Constant Field Values
AHD_TYPE_ACTIVITY_REASSIGNED
protected static final short AHD_TYPE_ACTIVITY_REASSIGNED
- See Also:
- Constant Field Values
AHD_TYPE_ACTIVITY_ASSIGNED
protected static final short AHD_TYPE_ACTIVITY_ASSIGNED
- See Also:
- Constant Field Values
AHD_TYPE_ACTIVITY_VARIABLE_UPDATED
protected static final short AHD_TYPE_ACTIVITY_VARIABLE_UPDATED
- See Also:
- Constant Field Values
MAX_VCHAR_SIZE_LIMIT
protected static final int MAX_VCHAR_SIZE_LIMIT
- See Also:
- Constant Field Values
max_vchar_size
protected static int max_vchar_size
cus
protected CallbackUtilities cus
usingStandardVariableDataModel
protected boolean usingStandardVariableDataModel
persistOnlyManualActivities
protected boolean persistOnlyManualActivities
storeArraysAsBLOBs
protected boolean storeArraysAsBLOBs
db
protected com.lutris.appserver.server.sql.LogicalDatabase db
objectid_column_name
protected static java.lang.String objectid_column_name
EA_TRANSIENT
public static final java.lang.String EA_TRANSIENT
- See Also:
- Constant Field Values
DODSReportingEventAuditManager
public DODSReportingEventAuditManager()
isTransientProcess
protected boolean isTransientProcess(WMSessionHandle shandle,
java.lang.String procId)
throws java.lang.Exception
- Throws:
java.lang.Exception
isTransientVariable
protected boolean isTransientVariable(WMSessionHandle shandle,
java.lang.String procId,
java.lang.String varId)
throws java.lang.Exception
- Throws:
java.lang.Exception
_configure
public void _configure(CallbackUtilities cus)
throws java.lang.Exception
- Throws:
java.lang.Exception
listProcessHistoryInfoWhere
public java.util.List listProcessHistoryInfoWhere(WMSessionHandle shandle,
java.lang.String sqlWhere,
int startAt,
int limit,
boolean fillActivitiesInfo,
boolean fillActivitiyVariablesInfo,
boolean fillVariablesInfo)
throws EventAuditException
- Specified by:
listProcessHistoryInfoWhere
in interface EventAuditManagerInterface
- Throws:
EventAuditException
listProcessDefinitionHistoryInfoWhere
public java.util.List listProcessDefinitionHistoryInfoWhere(WMSessionHandle shandle,
java.lang.String factoryName,
boolean countProcessInstances)
throws EventAuditException
- Specified by:
listProcessDefinitionHistoryInfoWhere
in interface EventAuditManagerInterface
- Throws:
EventAuditException
listActivityHistoryInfoWhere
public java.util.List listActivityHistoryInfoWhere(WMSessionHandle shandle,
java.lang.String sqlWhere,
int startAt,
int limit,
boolean fillVariablesInfo)
throws EventAuditException
- Specified by:
listActivityHistoryInfoWhere
in interface EventAuditManagerInterface
- Throws:
EventAuditException
getVariableValue
protected java.lang.Object getVariableValue(WMSessionHandle shandle,
short varType,
org.enhydra.shark.eventaudit.data.ProcessHistoryDetailsDO phd)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
getVariableValue
protected java.lang.Object getVariableValue(WMSessionHandle shandle,
short varType,
org.enhydra.shark.eventaudit.data.ActivityHistoryDetailsDO ahd)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
getProcessHistoryInfo
protected org.enhydra.shark.eventaudit.data.ProcessHistoryInfoDO[] getProcessHistoryInfo(java.lang.String pId,
java.lang.String sqlWhere,
int startAt,
int limit,
int maxRows)
throws EventAuditException
- Throws:
EventAuditException
getProcessHistoryDetails
protected org.enhydra.shark.eventaudit.data.ProcessHistoryDetailsDO[] getProcessHistoryDetails(java.lang.String pId,
java.lang.String sqlWhere,
int startAt,
int limit)
throws EventAuditException
- Throws:
EventAuditException
getActivityHistoryInfo
protected org.enhydra.shark.eventaudit.data.ActivityHistoryInfoDO[] getActivityHistoryInfo(java.lang.String pId,
java.lang.String aId,
java.lang.String sqlWhere,
int startAt,
int limit)
throws EventAuditException
- Throws:
EventAuditException
getActivityHistoryDetails
protected org.enhydra.shark.eventaudit.data.ActivityHistoryDetailsDO[] getActivityHistoryDetails(java.lang.String aId,
java.lang.String sqlWhere,
int startAt,
int limit)
throws EventAuditException
- Throws:
EventAuditException
_persist
public void _persist(WMSessionHandle shandle,
AssignmentEventAuditPersistenceObject aea)
throws EventAuditException
- Throws:
EventAuditException
_persist
public void _persist(WMSessionHandle shandle,
CreateProcessEventAuditPersistenceObject cpea)
throws EventAuditException
- Throws:
EventAuditException
_persist
public void _persist(WMSessionHandle shandle,
DataEventAuditPersistenceObject dea)
throws EventAuditException
- Throws:
EventAuditException
_persist
public void _persist(WMSessionHandle shandle,
StateEventAuditPersistenceObject sea)
throws EventAuditException
- Throws:
EventAuditException
restore
public boolean restore(WMSessionHandle shandle,
AssignmentEventAuditPersistenceObject assea)
throws EventAuditException
- Specified by:
restore
in interface EventAuditManagerInterface
- Throws:
EventAuditException
restore
public boolean restore(WMSessionHandle shandle,
CreateProcessEventAuditPersistenceObject cpea)
throws EventAuditException
- Specified by:
restore
in interface EventAuditManagerInterface
- Throws:
EventAuditException
restore
public boolean restore(WMSessionHandle shandle,
DataEventAuditPersistenceObject dea)
throws EventAuditException
- Specified by:
restore
in interface EventAuditManagerInterface
- Throws:
EventAuditException
restore
public boolean restore(WMSessionHandle shandle,
StateEventAuditPersistenceObject sea)
throws EventAuditException
- Specified by:
restore
in interface EventAuditManagerInterface
- Throws:
EventAuditException
restoreActivityHistory
public java.util.List restoreActivityHistory(WMSessionHandle shandle,
java.lang.String procId,
java.lang.String actId)
throws EventAuditException
- Specified by:
restoreActivityHistory
in interface EventAuditManagerInterface
- Throws:
EventAuditException
restoreProcessHistory
public java.util.List restoreProcessHistory(WMSessionHandle shandle,
java.lang.String procId)
throws EventAuditException
- Specified by:
restoreProcessHistory
in interface EventAuditManagerInterface
- Throws:
EventAuditException
getNextDecId
public java.math.BigDecimal getNextDecId(java.lang.String idName)
throws EventAuditException
- Throws:
EventAuditException
getPersistedObject
protected org.enhydra.shark.eventaudit.data.ActivityHistoryInfoDO getPersistedObject(AssignmentEventAuditPersistenceObject aea)
throws EventAuditException
- Throws:
EventAuditException
getPersistedObject
protected java.lang.Object getPersistedObject(DataEventAuditPersistenceObject aea)
throws EventAuditException
- Throws:
EventAuditException
getPersistedObject
protected java.lang.Object getPersistedObject(StateEventAuditPersistenceObject sea)
throws EventAuditException
- Throws:
EventAuditException
delete
public void delete(WMSessionHandle shandle,
AssignmentEventAuditPersistenceObject assea)
throws EventAuditException
- Specified by:
delete
in interface EventAuditManagerInterface
- Throws:
EventAuditException
delete
public void delete(WMSessionHandle shandle,
CreateProcessEventAuditPersistenceObject cpea)
throws EventAuditException
- Specified by:
delete
in interface EventAuditManagerInterface
- Throws:
EventAuditException
delete
public void delete(WMSessionHandle shandle,
DataEventAuditPersistenceObject dea)
throws EventAuditException
- Specified by:
delete
in interface EventAuditManagerInterface
- Throws:
EventAuditException
delete
public void delete(WMSessionHandle shandle,
StateEventAuditPersistenceObject sea)
throws EventAuditException
- Specified by:
delete
in interface EventAuditManagerInterface
- Throws:
EventAuditException
persistNewEventAuditDataBLOB
protected void persistNewEventAuditDataBLOB(org.enhydra.shark.eventaudit.data.ProcessHistoryDetailsDO phdDO,
java.lang.Object val)
throws java.lang.Exception
- Throws:
java.lang.Exception
persistNewEventAuditDataBLOB
protected void persistNewEventAuditDataBLOB(org.enhydra.shark.eventaudit.data.ActivityHistoryDetailsDO ahdDO,
java.lang.Object val)
throws java.lang.Exception
- Throws:
java.lang.Exception
persist
public void persist(WMSessionHandle shandle,
CreateProcessEventAuditPersistenceObject cpea)
throws EventAuditException
- Specified by:
persist
in interface EventAuditManagerInterface
- Throws:
EventAuditException
persist
public void persist(WMSessionHandle shandle,
DataEventAuditPersistenceObject dea)
throws EventAuditException
- Specified by:
persist
in interface EventAuditManagerInterface
- Throws:
EventAuditException
persist
public void persist(WMSessionHandle shandle,
StateEventAuditPersistenceObject sea)
throws EventAuditException
- Specified by:
persist
in interface EventAuditManagerInterface
- Throws:
EventAuditException
persist
public void persist(WMSessionHandle shandle,
AssignmentEventAuditPersistenceObject aea)
throws EventAuditException
- Specified by:
persist
in interface EventAuditManagerInterface
- Throws:
EventAuditException
createArray
protected java.lang.Object[] createArray(short vtype,
int length)
configure
public void configure(CallbackUtilities cut)
throws java.lang.Exception
- Specified by:
configure
in interface EventAuditManagerInterface
- Throws:
java.lang.Exception