public class ControllerReply extends TieSimpleObject
Modifier and Type | Class and Description |
---|---|
static class |
ControllerReply.ReplyCode
Enumeration for the various Reply codes.
|
Modifier and Type | Field and Description |
---|---|
static String |
CLASS_NAME
The name of the ClassObject representing this class.
|
static int |
CODE_ACKNOWLEDGE
The ControllerReply code for a standard acknowledge to the current request.
|
static int |
CODE_CLEAR
The ControllerReply code that indicates no reply has been made.
|
static int |
CODE_NONACKNOWLEDGE
The ControllerReply code for a standard non-acknowledge to the current request.
|
static String |
CONTROLLERJOB_ATTRIBUTE
The name of the Attribute representing
The Job that initiated the request associated with this reply.
|
static String |
INFONUMBER_ATTRIBUTE
The name of the Attribute representing
Data element for reply info, for a number.
|
static String |
INFOSTRING_ATTRIBUTE
The name of the Attribute representing
Data element for reply info, for a String.
|
static String |
REPLYBEGINDATE_ATTRIBUTE
The name of the Attribute representing
The date this ControllerReply was received by the Managing Node.
|
static String |
REPLYCODE_ATTRIBUTE
The name of the Attribute representing
The code identify the type of ControllerReply.
|
static String |
REPLYDATE_ATTRIBUTE
The name of the Attribute representing
The date this ControllerReply was completed.
|
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 |
ControllerReply(LibrarySession session,
Long id,
Long classId,
S_LibraryObjectData data)
Construct a ControllerReply object.
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clears this instance, by updating all elements to null.
|
static ControllerReply |
create(LibrarySession session)
Creates an empty instance.
|
ControllerJob |
getControllerJob()
Returns the Job that initiated the request associated with this reply.
|
Long |
getInfoNumber()
Gets Data element for reply info, for a number.
|
String |
getInfoString()
Gets Data element for reply info, for a String.
|
Date |
getReplyBeginDate()
Gets The date this ControllerReply was received by the managing Node.
|
ControllerReply.ReplyCode |
getReplyCode()
Gets the Reply code enum that identifies the type of ControllerReply.
|
String |
getReplyCodeName()
Gets the Reply code name that identifies the type of ControllerReply.
|
int |
getReplyCodeNumber()
Gets the Reply code number that identifies the type of ControllerReply.
|
Date |
getReplyDate()
Gets The date this ControllerReply was completed.
|
String |
getUuid()
Gets the value of the UUID attribute.
|
boolean |
isReplyActive()
Gets whether there is a pending completed Reply.
|
boolean |
isReplyBegun()
Gets whether there is the Reply has been received and has begun..
|
void |
updateForSimpleReply(int code,
ControllerJob job)
Update the instance, for a simple Reply indicated by the specified Reply code.
|
void |
updateReplyBeginDate(ControllerJob job)
Update the instance, for to set the reply begin Date.
|
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 REPLYCODE_ATTRIBUTE
public static final String REPLYBEGINDATE_ATTRIBUTE
public static final String REPLYDATE_ATTRIBUTE
public static final String INFONUMBER_ATTRIBUTE
public static final String INFOSTRING_ATTRIBUTE
public static final int CODE_CLEAR
public static final int CODE_ACKNOWLEDGE
public static final int CODE_NONACKNOWLEDGE
protected ControllerReply(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 getReplyCodeNumber() throws IfsException
IfsException
- if the operation failspublic ControllerReply.ReplyCode getReplyCode() throws IfsException
IfsException
- if the operation failspublic String getReplyCodeName() throws IfsException
IfsException
- if the operation failspublic Date getReplyBeginDate() throws IfsException
IfsException
- if the operation failspublic Date getReplyDate() throws IfsException
IfsException
- if the operation failspublic boolean isReplyBegun() throws IfsException
IfsException
- if the operation failspublic boolean isReplyActive() 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 ControllerReply create(LibrarySession session) throws IfsException
session
- session contextIfsException
- if the operation failspublic void clear() throws IfsException
IfsException
- if the operation failspublic void updateReplyBeginDate(ControllerJob job) throws IfsException
job
- the ControllerJob, if anyIfsException
- if the operation failspublic void updateForSimpleReply(int code, ControllerJob job) throws IfsException
code
- the Reply codejob
- the associated ControllerJob (optional)IfsException
- if the operation failsCopyright © 2023. All rights reserved.