public class ProcessExceptionType
extends java.lang.Object
implements java.io.Serializable
ProcessException
,
Serialized FormModifier and Type | Field and Description |
---|---|
static java.lang.Integer |
SORT_BY_ATTACHED_TO_TYPE |
static java.lang.Integer |
SORT_BY_DESCRIPTION |
static java.lang.Integer |
SORT_BY_LOCAL_ID |
static java.lang.Integer |
SORT_BY_NOTE_ID |
static java.lang.Integer |
SORT_BY_NOTIFY_PROCESS_ADMINS |
static java.lang.Integer |
SORT_BY_NOTIFY_PROCESS_INITIATOR |
static java.lang.Integer |
SORT_BY_NOTIFY_SYSTEM_ADMINS |
static java.lang.Integer |
SORT_BY_NOTIFY_TASK_ACCEPTOR |
static java.lang.Integer |
SORT_BY_RECOMMENDED_ACTION |
Constructor and Description |
---|
ProcessExceptionType() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
int |
getAttachedToType()
Gets the type of object to which exceptions of this type are attached, which should be
TYPEBPMPROCESS , TYPEBPMTASK , or TYPEBPMNODE . |
java.lang.String |
getDescription()
Gets a description of this exception type.
|
java.lang.String |
getLocalId()
Gets the primary key for this exception type.
|
java.lang.String |
getNoteContent() |
java.lang.Long |
getNoteId()
Gets the id of the note that holds the message for this exception type.
|
java.lang.String |
getRecommendedAction()
Gets the action that the system recommends the user take in response to exceptions of this
type.
|
int |
hashCode() |
boolean |
isNotifyProcessAdministrators()
Determines whether process administrators are notified when exceptions of this type occur.
|
boolean |
isNotifyProcessInitiator()
Determines whether the process initiator is notified when exceptions of this type occur.
|
boolean |
isNotifySystemAdministrators()
Determines whether the system administrators are notified when exceptions of this type occur.
|
boolean |
isNotifyTaskAcceptor()
Determines whether users who have accepted the task on which the error occurred are notified
when exceptions of this type occur.
|
void |
setAttachedToType(int attachedToType)
Sets the type of object to which exceptions of this type are attached, which should be
TYPEBPMPROCESS , TYPEBPMTASK , or TYPEBPMNODE . |
void |
setDescription(java.lang.String description)
Sets the description of this exception type.
|
void |
setLocalId(java.lang.String localId)
Sets the primary key for this exception type.
|
void |
setNoteContent(java.lang.String noteContent) |
void |
setNoteId(java.lang.Long noteId)
Sets the id of the note that holds the message for this exception type.
|
void |
setNotifyProcessAdministrators(boolean notifyProcessAdministrators)
Sets whether process administrators are notified when exceptions of this type occur.
|
void |
setNotifyProcessInitiator(boolean notifyProcessInitiator)
Sets whether the process initiator is notified when exceptions of this type occur.
|
void |
setNotifySystemAdministrators(boolean notifySystemAdministrators)
Sets whether the system administrators are notified when exceptions of this type occur.
|
void |
setNotifyTaskAcceptor(boolean notifyTaskAcceptor)
Sets whether users who have accepted the task on which the error occurred are notified when
exceptions of this type occur.
|
void |
setRecommendedAction(java.lang.String recommendedAction)
Sets the action that the system recommends the user take in response to exceptions of this
type.
|
java.lang.String |
toString() |
public static final java.lang.Integer SORT_BY_LOCAL_ID
public static final java.lang.Integer SORT_BY_ATTACHED_TO_TYPE
public static final java.lang.Integer SORT_BY_DESCRIPTION
public static final java.lang.Integer SORT_BY_RECOMMENDED_ACTION
public static final java.lang.Integer SORT_BY_NOTIFY_PROCESS_INITIATOR
public static final java.lang.Integer SORT_BY_NOTIFY_PROCESS_ADMINS
public static final java.lang.Integer SORT_BY_NOTIFY_SYSTEM_ADMINS
public static final java.lang.Integer SORT_BY_NOTIFY_TASK_ACCEPTOR
public static final java.lang.Integer SORT_BY_NOTE_ID
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- the description of the exception type.public java.lang.String getRecommendedAction()
public void setRecommendedAction(java.lang.String recommendedAction)
recommendedAction
- the recommended action.public int getAttachedToType()
TYPEBPMPROCESS
, TYPEBPMTASK
, or TYPEBPMNODE
.ObjectTypeMapping
public void setAttachedToType(int attachedToType)
TYPEBPMPROCESS
, TYPEBPMTASK
, or TYPEBPMNODE
.ObjectTypeMapping
public java.lang.String getLocalId()
public void setLocalId(java.lang.String localId)
localId
- the primary key for this exception type.public java.lang.Long getNoteId()
public void setNoteId(java.lang.Long noteId)
noteId
- the id of the note that holds the message for this exception type.public boolean isNotifyProcessAdministrators()
true
if the administrators are notified, false
if they are
not notified.public void setNotifyProcessAdministrators(boolean notifyProcessAdministrators)
notifyProcessAdministrators
- true
if the administrators are notified,
false
if they are not notified.public boolean isNotifyProcessInitiator()
true
if the initiator is notified, false
if he or she is not
notified.public void setNotifyProcessInitiator(boolean notifyProcessInitiator)
notifyProcessInitiator
- true
if the initiator is notified,
false
if he or she is not notified.public boolean isNotifySystemAdministrators()
true
if the administrators are notified, false
if they are
not notified.public void setNotifySystemAdministrators(boolean notifySystemAdministrators)
public boolean isNotifyTaskAcceptor()
true
if the acceptors are notified, false
if they are not
notified.public void setNotifyTaskAcceptor(boolean notifyTaskAcceptor)
notifyTaskAcceptor
- true
if the acceptors are notified, false
if they are not notified.public java.lang.String getNoteContent()
public void setNoteContent(java.lang.String noteContent)
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2003-2024 Appian Corporation. All Rights Reserved.