public class ControllerAlert extends TieSimpleObject
Modifier and Type | Class and Description |
---|---|
static class |
ControllerAlert.AlertCode
Enumeration for the various Alert codes.
|
Modifier and Type | Field and Description |
---|---|
static String |
ALERTCODE_ATTRIBUTE
The name of the Attribute representing
The code identify the type of ControllerAlert.
|
static String |
ALERTDATE_ATTRIBUTE
The name of the Attribute representing
The date this ControllerAlert was placed.
|
static String |
CLASS_NAME
The name of the ClassObject representing this class.
|
static int |
CODE_CLEAR
The ControllerAlert code that indicates no alert has been posted.
|
static int |
CODE_DISPOSED
The ControllerAlert code to declare that a RuntimeState object
was disposed without being requested.
|
static int |
CODE_NEWNODE
The ControllerAlert code to declare a new node.
|
static String |
CONTROLLERJOB_ATTRIBUTE
The name of the Attribute representing
The Job that initiated the request, associated with this alert, if any.
|
static String |
INFONUMBER_ATTRIBUTE
The name of the Attribute representing
Data element for Alert info, for a number.
|
static String |
INFOSTRING_ATTRIBUTE
The name of the Attribute representing
Data element for Alert info, for a String.
|
static String |
UUID_ATTRIBUTE
The name of the Attribute representing the UUID.
|
DOMAIN_UNIQUENAME_DEFAULT_DELIMITER, m_ClassId, m_Id, m_Session, NAME_ATTRIBUTE, PROPERTYBUNDLE_ATTRIBUTE
Modifier | Constructor and Description |
---|---|
protected |
ControllerAlert(LibrarySession session,
Long id,
Long classId,
S_LibraryObjectData data)
Construct a ControllerAlert object.
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clears an instance, by updating all elements to null.
|
static ControllerAlert |
create(LibrarySession session)
Creates an empty instance.
|
ControllerAlert.AlertCode |
getAlertCode()
Gets the Alert code enum that identifies the type of ControllerAlert.
|
String |
getAlertCodeName()
Gets the Alert code name that identifies the type of ControllerAlert.
|
int |
getAlertCodeNumber()
Gets the Alert code number that identifies the type of ControllerAlert.
|
Date |
getAlertDate()
Gets The date this ControllerAlert was placed.
|
ControllerJob |
getControllerJob()
Returns the Job that initiated the request, associated with this alert,
if any.
|
Long |
getInfoNumber()
Gets Data element for Alert info, for a number.
|
String |
getInfoString()
Gets Data element for Alert info, for a String.
|
String |
getUuid()
Gets the value of the UUID attribute.
|
boolean |
isAlertActive()
Gets whether there is a pending Alert.
|
void |
updateForSimpleAlert(int code)
Update the instance, for a simple Alert indicated by the specified Alert code.
|
void |
updateForSimpleAlert(int code,
ControllerJob job)
Update the instance, for a simple Alert indicated by the
specified Alert code, along with an optional associated ControllerJob.
|
free, handleCreate, isValidEventType
added, addSimpleProperty, addSimpleProperty, applyProperties, auditCreated, auditUpdated, canPurge, checkIfPropertyBundleSupported, checkRequiredAttributeSet, clearCopyContext, clearFreeContext, clearUpdateContext, compareTo, constructIdArray, constructIdArray, constructLibraryObject, constructLibraryObjectVector, createDedicatedPropertyBundle, createInstance, deriveDomainUniqueName, dispose, equals, equals, free, freeAll, get, getAttribute, getAttributeByUpperCaseName, getAttributes, getAttributesByUpperCaseNames, getAuditDomainContext, getAuditEventFolderContext, getClassId, getClassname, getClassName, getClassObject, getCommonName, getCommonNameAndClass, getCopyContext, getCreateContext, getData, getDefinition, getDefinitionForSimplePropertyUpdates, getEffectivePolicyListElements, getEventualAttributeByUpperCaseName, getFreeContext, getId, getLabel, getName, getObjectReferenceAttribute, getOperationActionSpecificationContext, getPropertyBundle, getPropertyValue, getPublicObjectAttribute, getResourceString, getResourceString, getSchemaObjectAttribute, getSession, getSessionInterface, getSharedStateFactory, getSimpleObjectAttribute, getSimpleProperties, getSimpleProperty, getSimplePropertyValue, getStringIdentifier, getSystemObjectAttribute, getTraceLogger, getUpdateContext, handleAdminModeChange, handleEvent, handleFree, handleUpdate, hashCode, hasNameAttribute, hasPropertyBundleAttribute, invalidateState, invokeOperation, invokeOperation, invokeServerMethod, isConnected, isCoreEventPostingEnabled, isInstanceOf, isPersistent, isTraced, lockRows, lookupInstanceLabel, performPostCreateExtensions, performPostFreeExtensions, performPostUpdateExtensions, performPreCreateExtensions, performPreFreeExtensions, performPreUpdateExtensions, postCreate, postEvent, postEvent, postFree, postUpdate, preCreate, preFree, prePostAuditEvent, preUpdate, putProperty, putProperty, removeAllProperties, removeAllSimpleProperties, removeAllSimpleProperties, removed, removeProperty, removeSimpleProperty, removeSimpleProperty, renderAsRandomAccessContent, renderAsReader, renderAsStream, setAttribute, setAttribute, setAttributes, setAttributes, setCopyContext, setFreeContext, setId, setName, setPropertyBundle, setPropertyValue, setUpdateContext, toString, trace, trustHandleCreate, trustHandleCreateAsAdmin, trustHandleFree, trustHandleFreeAsAdmin, trustHandleUpdate, trustHandleUpdateAsAdmin, update, updateAndExposeDefinition, validatePropertyValues, vectorLibraryObjectElement, vectorToLibraryObjectArray, verifyAdministrationMode, verifyConnected, verifyPersistent, verifySystemUserAccess, verifyTargetObject
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getAttributeByUpperCaseName, getClassId, getId, getSessionInterface
getTraceLogger, isTraced, trace
public static final String CLASS_NAME
public static final String UUID_ATTRIBUTE
public static final String CONTROLLERJOB_ATTRIBUTE
public static final String ALERTCODE_ATTRIBUTE
public static final String ALERTDATE_ATTRIBUTE
public static final String INFONUMBER_ATTRIBUTE
public static final String INFOSTRING_ATTRIBUTE
public static final int CODE_CLEAR
public static final int CODE_NEWNODE
public static final int CODE_DISPOSED
protected ControllerAlert(LibrarySession session, Long id, Long classId, S_LibraryObjectData data) throws IfsException
session
- current LibrarySessionid
- object idclassId
- class iddata
- data componentIfsException
- if the operation failspublic String getUuid() throws IfsException
IfsException
- if the operation failspublic ControllerJob getControllerJob() throws IfsException
Returns null if there was no associated ControllerJob.
IfsException
- if operation failspublic int getAlertCodeNumber() throws IfsException
IfsException
- if the operation failspublic ControllerAlert.AlertCode getAlertCode() throws IfsException
IfsException
- if the operation failspublic String getAlertCodeName() throws IfsException
IfsException
- if the operation failspublic Date getAlertDate() throws IfsException
IfsException
- if the operation failspublic boolean isAlertActive() throws IfsException
IfsException
- if the operation failspublic Long getInfoNumber() throws IfsException
IfsException
- if the operation failspublic String getInfoString() throws IfsException
IfsException
- if the operation failspublic static ControllerAlert create(LibrarySession session) throws IfsException
session
- session contextIfsException
- if the operation failspublic void clear() throws IfsException
IfsException
- if the operation failspublic void updateForSimpleAlert(int code) throws IfsException
code
- the Alert codeIfsException
- if the operation failspublic void updateForSimpleAlert(int code, ControllerJob job) throws IfsException
code
- the Alert codejob
- the associated ControllerJob, if anyIfsException
- if the operation failsCopyright © 2023. All rights reserved.