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 StringOBJECT_TYPEString that will be returned fromSchedulerEntity.getObjectType()for "ProcessMonitorLog" objects.static QueryObjectType<ProcessMonitorLog>TYPEType that can be used inSchedulerSession.executeObjectQuery(QueryObjectType, String, Object...).-
Fields inherited from interface com.redwood.scheduler.api.model.SchedulerEntity
ACTION_AUDIT, ACTION_EXPORT, ACTION_READ, BEHAVIOR_DEPRECATED, BEHAVIOR_NONE, BEHAVIOR_SYSTEM
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DateTimeZonegetCreationTime()Get the value for CreationTime.StringgetDescription()Get the value for Description.DateTimeZonegetProgressEnd()Get the value for ProgressEnd.DateTimeZonegetProgressStart()Get the value for ProgressStart.LonggetRelatedObjectId()Get the value for RelatedObjectId.StringgetRelatedObjectName()Get the value for RelatedObjectName.SubjectgetRepliedBySubject()Get the RepliedBySubject.StringgetReply()Get the value for Reply.LonggetStartCount()Get the value for StartCount.ProcessMonitorLogTypegetType()Get the value for Type.voidsetDescription(String newDescription)Set the value for Description.voidsetRelatedObjectId(Long newRelatedObjectId)Set the value for RelatedObjectId.voidsetRelatedObjectName(String newRelatedObjectName)Set the value for RelatedObjectName.voidsetReply(String newReply)Set the value for Reply.voidsetStartCount(Long newStartCount)Set the value for StartCount.voidsetType(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
-
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 benullif this object has been retrieved from the database.- Returns:
- the field
- Throws:
com.redwood.scheduler.api.exception.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 benullif this object has been retrieved from the database.- Returns:
- the field
- Throws:
com.redwood.scheduler.api.exception.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 benullif this object has been retrieved from the database.- Returns:
- the field
- Throws:
com.redwood.scheduler.api.exception.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 benullif this object has been retrieved from the database.- Returns:
- the field
- Throws:
com.redwood.scheduler.api.exception.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:
com.redwood.scheduler.api.exception.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 benullif this object has been retrieved from the database.- Returns:
- the field
- Throws:
com.redwood.scheduler.api.exception.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 benullif this object has been retrieved from the database.- Returns:
- the field
- Throws:
com.redwood.scheduler.api.exception.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:
com.redwood.scheduler.api.exception.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 benullif this object has been retrieved from the database.- Returns:
- the field
- Throws:
com.redwood.scheduler.api.exception.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:
com.redwood.scheduler.api.exception.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:
com.redwood.scheduler.api.exception.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:
com.redwood.scheduler.api.exception.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:
com.redwood.scheduler.api.exception.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:
com.redwood.scheduler.api.exception.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:
com.redwood.scheduler.api.exception.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:
com.redwood.scheduler.api.exception.ObjectDeletedException- If this method is called when the object has been marked for deletion.com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- If this method is called when the object has been removed from it's session.
-
-