Package com.redwood.scheduler.api.model
Interface ProcessMonitorLog
-
- All Superinterfaces:
SchedulerEntity
,SchedulerEntityComp
public interface ProcessMonitorLog extends SchedulerEntity
The log of the ProcessMonitor changes.
-
-
Field Summary
Fields Modifier and Type Field Description static String
OBJECT_TYPE
String that will be returned fromSchedulerEntity.getObjectType()
for "ProcessMonitorLog" objects.static QueryObjectType<ProcessMonitorLog>
TYPE
Type that can be used inSchedulerSession.executeObjectQuery(QueryObjectType, String, Object...)
.static com.redwood.scheduler.infrastructure.logging.Versions
VERSION_PROCESSMONITORLOG
-
Fields inherited from interface com.redwood.scheduler.api.model.SchedulerEntity
ACTION_AUDIT, ACTION_EXPORT, ACTION_READ, BEHAVIOR_DEPRECATED, BEHAVIOR_NONE, BEHAVIOR_SYSTEM, VERSION_SCHEDULERENTITY
-
Fields inherited from interface com.redwood.scheduler.api.model.compatibility_14.SchedulerEntityComp
VERSION_SCHEDULERENTITYCOMP
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DateTimeZone
getCreationTime()
Get the value for CreationTime.String
getDescription()
Get the value for Description.DateTimeZone
getProgressEnd()
Get the value for ProgressEnd.DateTimeZone
getProgressStart()
Get the value for ProgressStart.Long
getRelatedObjectId()
Get the value for RelatedObjectId.String
getRelatedObjectName()
Get the value for RelatedObjectName.Subject
getRepliedBySubject()
Get the RepliedBySubject.String
getReply()
Get the value for Reply.Long
getStartCount()
Get the value for StartCount.ProcessMonitorLogType
getType()
Get the value for Type.void
setDescription(String newDescription)
Set the value for Description.void
setRelatedObjectId(Long newRelatedObjectId)
Set the value for RelatedObjectId.void
setRelatedObjectName(String newRelatedObjectName)
Set the value for RelatedObjectName.void
setReply(String newReply)
Set the value for Reply.void
setStartCount(Long newStartCount)
Set the value for StartCount.void
setType(ProcessMonitorLogType newType)
Set the value for Type.-
Methods inherited from interface com.redwood.scheduler.api.model.SchedulerEntity
canPerform, createSubjectObjectPrivilegeGrant, deleteObject, getAuditTrail, getAuditTrailSize, getBehavior, getEffectiveBehavior, getErrorNameEN, getErrorNameKey, getLLPVersion, getLOV, getLOVSupport, getObjectType, getParentSchedulerEntities, getRuntime, getSubjectObjectPrivilegeGrantBySubject, getSubjectObjectPrivilegeGrants, getUniqueId, getUrl, getUrl, isCreated, isDeletable, isDeleted, isModifiable, isModified, isSelectVersioned, processRelatedObjects, processRelatedObjects, processRelatedObjects, refreshObject, resetObject, resetObject, resetValuesToDefault, selectForRead
-
-
-
-
Field Detail
-
VERSION_PROCESSMONITORLOG
static final com.redwood.scheduler.infrastructure.logging.Versions VERSION_PROCESSMONITORLOG
-
OBJECT_TYPE
static final String OBJECT_TYPE
String that will be returned fromSchedulerEntity.getObjectType()
for "ProcessMonitorLog" objects.- See Also:
- Constant Field Values
-
TYPE
static final QueryObjectType<ProcessMonitorLog> TYPE
Type that can be used inSchedulerSession.executeObjectQuery(QueryObjectType, String, Object...)
.
-
-
Method Detail
-
getType
ProcessMonitorLogType getType()
Get the value for Type. (The type of the log record) This value is mandatory, and therefore will not benull
if this object has been retrieved from the database.- Returns:
- the field
- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
getRelatedObjectId
Long getRelatedObjectId()
Get the value for RelatedObjectId. (The unique id of the related object for this log) This value is mandatory, and therefore will not benull
if this object has been retrieved from the database.- Returns:
- the field
- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
getRelatedObjectName
String getRelatedObjectName()
Get the value for RelatedObjectName. (The name of the related object type for this log) This value is mandatory, and therefore will not benull
if this object has been retrieved from the database.- Returns:
- the field
- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
getDescription
String getDescription()
Get the value for Description. (The description of the item at the time of the log) This value is mandatory, and therefore will not benull
if this object has been retrieved from the database.- Returns:
- the field
- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
getReply
String getReply()
Get the value for Reply. (The reply of the message if it exists)- Returns:
- the field
- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
getCreationTime
DateTimeZone getCreationTime()
Get the value for CreationTime. (Timestamp that notes when the Event was raised.) This value is mandatory, and therefore will not benull
if this object has been retrieved from the database.- Returns:
- the field
- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
getProgressStart
DateTimeZone getProgressStart()
Get the value for ProgressStart. (Timestamp that notes when the Event was raised.) This value is mandatory, and therefore will not benull
if this object has been retrieved from the database.- Returns:
- the field
- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
getProgressEnd
DateTimeZone getProgressEnd()
Get the value for ProgressEnd. (Timestamp that notes when the Event was raised.)- Returns:
- the field
- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
getStartCount
Long getStartCount()
Get the value for StartCount. (The number of starts the item has had.) This value is mandatory, and therefore will not benull
if this object has been retrieved from the database.- Returns:
- the field
- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setType
void setType(ProcessMonitorLogType newType)
Set the value for Type. (The type of the log record) This value is mandatory.- Parameters:
newType
- the new value for Type. If this isnull
, then the object cannot be persisted.- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setRelatedObjectId
void setRelatedObjectId(Long newRelatedObjectId)
Set the value for RelatedObjectId. (The unique id of the related object for this log) This value is mandatory.- Parameters:
newRelatedObjectId
- the new value for RelatedObjectId. If this isnull
, then the object cannot be persisted.- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setRelatedObjectName
void setRelatedObjectName(String newRelatedObjectName)
Set the value for RelatedObjectName. (The name of the related object type for this log) This value is mandatory.- Parameters:
newRelatedObjectName
- the new value for RelatedObjectName. If this isnull
, then the object cannot be persisted.- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setDescription
void setDescription(String newDescription)
Set the value for Description. (The description of the item at the time of the log) This value is mandatory.- Parameters:
newDescription
- the new value for Description. If this isnull
, then the object cannot be persisted.- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setReply
void setReply(String newReply)
Set the value for Reply. (The reply of the message if it exists) This value is optional.- Parameters:
newReply
- the new value for Reply.- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setStartCount
void setStartCount(Long newStartCount)
Set the value for StartCount. (The number of starts the item has had.) This value is mandatory.- Parameters:
newStartCount
- the new value for StartCount. If this isnull
, then the object cannot be persisted.- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
getRepliedBySubject
Subject getRepliedBySubject()
Get the RepliedBySubject.- Returns:
- RepliedBySubject
- Throws:
ObjectDeletedException
- If this method is called when the object has been marked for deletion.ObjectNotAttachedToSessionException
- If this method is called when the object has been removed from it's session.
-
-