public class ControllerRequest extends TieSimpleObject
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
ControllerRequest.RequestCode
Enumeration for the various request codes. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
static String | 
CLASS_NAME
The name of the ClassObject representing this class. 
 | 
static int | 
CODE_CLEAR
The ControllerRequest code that indicates no request is in progress. 
 | 
static int | 
CODE_DISPOSE
The ControllerRequest code to dispose an object. 
 | 
static int | 
CODE_PING
The ControllerRequest code to Ping an object, asking for a simple Ack reply. 
 | 
static int | 
CODE_RECONFIGURE
The ControllerRequest code to apply configuration overrides to an object. 
 | 
static int | 
CODE_RELOADITEM
The ControllerRequest code to reload one of an object's managed items. 
 | 
static int | 
CODE_RESTART
The ControllerRequest code to Restart an object. 
 | 
static int | 
CODE_RESUME
The ControllerRequest code to Resume an object after it was subsequently Suspended. 
 | 
static int | 
CODE_START
The ControllerRequest code to Start an object after it was subsequently stopped. 
 | 
static int | 
CODE_STARTNEW
The ControllerRequest code to Start an object for the first time,
 also known as "Load and Start" for Servers. 
 | 
static int | 
CODE_STOP
The ControllerRequest code to Stop an object after it was subsequently stopped. 
 | 
static int | 
CODE_SUSPEND
The ControllerRequest code to Suspend an object taht is running. 
 | 
static String | 
CONTROLLERJOB_ATTRIBUTE
The name of the Attribute representing
 The Job that initiated the request. 
 | 
static String | 
INFONUMBER_ATTRIBUTE
The name of the Attribute representing
 Data element for request info, for a number. 
 | 
static String | 
INFOSTRING_ATTRIBUTE
The name of the Attribute representing
 Data element for request info, for a String. 
 | 
static String | 
REQUESTCODE_ATTRIBUTE
The name of the Attribute representing
 The code identify the type of ControllerRequest. 
 | 
static String | 
REQUESTDATE_ATTRIBUTE
The name of the Attribute representing
 The date this ControllerRequest was placed. 
 | 
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  | 
ControllerRequest(LibrarySession session,
                 Long id,
                 Long classId,
                 S_LibraryObjectData data)
Construct a ControllerRequest object. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
clear()
Clears this instance, by updating all elements to null. 
 | 
static ControllerRequest | 
create(LibrarySession session)
Creates an empty instance. 
 | 
ControllerJob | 
getControllerJob()
Returns the ControllerJob that initiated the Request. 
 | 
Long | 
getInfoNumber()
Gets Data element for request info, for a number. 
 | 
String | 
getInfoString()
Gets Data element for request info, for a String. 
 | 
ControllerRequest.RequestCode | 
getRequestCode()
Gets the request code enum that identifies the type of ControllerRequest. 
 | 
String | 
getRequestCodeName()
Gets the request code name that identifies the type of ControllerRequest. 
 | 
int | 
getRequestCodeNumber()
Gets the request code number that identifies the type of ControllerRequest. 
 | 
Date | 
getRequestDate()
Gets The date this ControllerRequest was placed. 
 | 
String | 
getUuid()
Gets the value of the UUID attribute. 
 | 
boolean | 
isRequestActive()
Gets whether there is a pending Request. 
 | 
static String | 
lookupRequestCodeName(int codeNum)
Get the Request code name that corresponds to the specified 
 Request code number. 
 | 
static Integer | 
lookupRequestCodeNumber(String codeName)
Get the Request code number that corresponds to the specified 
 Request code name. 
 | 
void | 
updateForSimpleJob(ControllerJob job)
Update the instance, for a simple Request indicated by the specified Request code. 
 | 
void | 
updateForSimpleRequest(int code,
                      ControllerJob job)
Update the instance, for a simple Request indicated by the specified Request code. 
 | 
free, handleCreate, isValidEventTypeadded, 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, verifyTargetObjectclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetAttributeByUpperCaseName, getClassId, getId, getSessionInterfacegetTraceLogger, isTraced, tracepublic static final String CLASS_NAME
public static final String UUID_ATTRIBUTE
public static final String CONTROLLERJOB_ATTRIBUTE
public static final String REQUESTCODE_ATTRIBUTE
public static final String REQUESTDATE_ATTRIBUTE
public static final String INFONUMBER_ATTRIBUTE
public static final String INFOSTRING_ATTRIBUTE
public static final int CODE_CLEAR
public static final int CODE_STARTNEW
public static final int CODE_START
public static final int CODE_STOP
public static final int CODE_RESTART
public static final int CODE_SUSPEND
public static final int CODE_RESUME
public static final int CODE_RECONFIGURE
public static final int CODE_PING
public static final int CODE_DISPOSE
public static final int CODE_RELOADITEM
protected ControllerRequest(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 getRequestCodeNumber()
                         throws IfsException
IfsException - if the operation failspublic ControllerRequest.RequestCode getRequestCode() throws IfsException
IfsException - if the operation failspublic String getRequestCodeName() throws IfsException
IfsException - if the operation failspublic static Integer lookupRequestCodeNumber(String codeName) throws IfsException
codeName - the Request code nameIfsException - if the operation failspublic static String lookupRequestCodeName(int codeNum) throws IfsException
codeNum - the Request code numberIfsException - if the operation failspublic Date getRequestDate() throws IfsException
IfsException - if the operation failspublic boolean isRequestActive()
                        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 ControllerRequest create(LibrarySession session) throws IfsException
session - session contextIfsException - if the operation failspublic void clear()
           throws IfsException
IfsException - if the operation failspublic void updateForSimpleRequest(int code,
                                   ControllerJob job)
                            throws IfsException
code - the Request codejob - the associated ControllerJob (optional)IfsException - if the operation failspublic void updateForSimpleJob(ControllerJob job) throws IfsException
code - the Request codeIfsException - if the operation failsCopyright © 2025. All rights reserved.