Package wt.queue
Class ScheduleQueueEntry
java.lang.Object
wt.fc._WTObject
wt.fc.WTObject
wt.fc._Item
wt.fc.Item
wt.queue._WtQueueEntry
wt.queue.WtQueueEntry
wt.queue._ScheduleQueueEntry
wt.queue.ScheduleQueueEntry
- All Implemented Interfaces:
Externalizable,Serializable,wt.access._AccessControlled,wt.access._PolicyAccessControlled,wt.access._SecurityLabeled,AccessControlled,wt.access.PolicyAccessControlled,SecurityLabeled,wt.admin._DomainAdministered,DomainAdministered,wt.fc._NetFactor,wt.fc._ObjectMappable,wt.fc._Persistable,wt.fc.adminlock._AdministrativelyLockable,AdministrativelyLockable,NetFactor,ObjectMappable,Persistable,DisplayIdentification,wt.locks._Lockable,Lockable
@GenAsPersistable(superClass=WtQueueEntry.class,interfaces=Lockable.class,versions=8582496956781349278L,properties={@GeneratedProperty(name="scheduleTime",type=java.sql.Timestamp.class),@GeneratedProperty(name="args",type=java.io.Serializable.class,accessors=@PropertyAccessors(getAccess=PRIVATE),columnProperties=@ColumnProperties(columnType=BLOB)),@GeneratedProperty(name="principalReference",type=ObjectReference.class,constraints=@PropertyConstraints(required=true))},derivedProperties=@DerivedProperty(name="principal",derivedFrom="principalReference",type=WTPrincipal.class,getBody="if (principalReference == null) return null; else return (wt.org.WTPrincipal)principalReference.getObject();",setBody="setPrincipalReference( principal == null ? null : wt.fc.ObjectReference.newObjectReference(principal) );",accessors=@PropertyAccessors(setExceptions={WTPropertyVetoException.class,WTException.class})),tableProperties=@TableProperties(compositeIndex1="queueRef.key.id+statusInfo.code+entryNumber",oracleTableSize=LARGE))
public class ScheduleQueueEntry
extends wt.queue._ScheduleQueueEntry
Use the newScheduleQueueEntry static factory method(s),
not the ScheduleQueueEntry constructor, to construct instances
of this class. Instances must be constructed using the static factory(s),
in order to ensure proper initialization of the instance.
Supported API: true
Extendable: false
- See Also:
-
Field Summary
Fields inherited from class wt.queue._ScheduleQueueEntry
ARGS, EXTERNALIZATION_VERSION_UID, PRINCIPAL, PRINCIPAL_REFERENCE, SCHEDULE_TIMEFields inherited from class wt.queue._WtQueueEntry
END_EXEC, ENTRY_NUMBER, ENTRY_OWNER, FAILURE_COUNT, QUEUE_REF, START_EXEC, STATUS_INFO, TARGET_CLASS, TARGET_METHODFields inherited from class wt.fc.Item
SIMPLE_X10_UID, VERSION_40_UID, VERSION_51_UIDFields inherited from class wt.fc._WTObject
CREATE_TIMESTAMP, MODIFY_TIMESTAMPFields inherited from interface wt.fc.adminlock._AdministrativelyLockable
ADMINISTRATIVE_LOCKFields inherited from interface wt.admin._DomainAdministered
DOMAIN_REF, INHERITED_DOMAINFields inherited from interface wt.locks._Lockable
LOCK, LOCK_DATE, LOCK_NOTE, LOCKED, LOCKER, LOCKER_EMAIL, LOCKER_FULL_NAME, LOCKER_NAMEFields inherited from interface wt.fc._Persistable
PERSIST_INFOFields inherited from interface wt.access._SecurityLabeled
SECURITY_LABELSFields inherited from interface wt.identity.DisplayIdentification
DISPLAY_IDENTIFIER, DISPLAY_IDENTITY, DISPLAY_TYPEFields inherited from interface wt.fc.Persistable
IDENTITY, TYPEFields inherited from interface wt.access.SecurityLabeled
SECURITY_LABELS_INTERNAL_VALUE -
Method Summary
Modifier and TypeMethodDescription
Supported API: truegetQueue()Returns the queue to which the entry belongs.protected voidinitialize(ScheduleQueue queue) Supports initialization, following construction of an instance.static ScheduleQueueEntryConstructs a new entry representing a processing queue request.voidSets the status code of the entry to passed as argument.toString()Returns a string representation of the entry.Methods inherited from class wt.queue._ScheduleQueueEntry
getClassInfo, getConceptualClassname, getLock, getLockDate, getLocker, getLockerEMail, getLockerFullName, getLockerName, getLockNote, getPrincipal, getPrincipalReference, getScheduleTime, getType, isLocked, readExternal, readExternal, readVersion, setLock, setPrincipal, setPrincipalReference, super_readExternal_ScheduleQueueEntry, super_readVersion_ScheduleQueueEntry, super_writeExternal_ScheduleQueueEntry, writeExternal, writeExternalMethods inherited from class wt.queue.WtQueueEntry
convertFromByteArray, convertFromVector, doDIcheck, doExit, isStopDeletePendingMethods inherited from class wt.queue._WtQueueEntry
getEndExec, getEntryNumber, getEntryOwner, getFailureCount, getQueueRef, getStartExec, getStatusInfo, getTargetClass, getTargetMethod, readVersion, setEndExec, setEntryNumber, setEntryOwner, setFailureCount, setQueueRef, setStartExec, setStatusInfo, setTargetClass, setTargetMethod, super_readExternal_WtQueueEntry, super_readVersion_WtQueueEntry, super_writeExternal_WtQueueEntryMethods inherited from class wt.fc.Item
initializeMethods inherited from class wt.fc._Item
getAdministrativeLock, getDomainRef, getSecurityLabels, isInheritedDomain, readVersion, setAdministrativeLock, setDomainRef, setInheritedDomain, setSecurityLabels, super_readExternal_Item, super_readVersion_Item, super_writeExternal_ItemMethods inherited from class wt.fc.WTObject
checkAttributes, duplicate, getDisplayIdentifier, getDisplayIdentity, getDisplayType, getIdentityMethods inherited from class wt.fc._WTObject
equals, getCreateTimestamp, getModifyTimestamp, getPersistInfo, hashCode, readVersion, setPersistInfoMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface wt.fc._Persistable
getPersistInfo, setPersistInfoMethods inherited from interface wt.fc.Persistable
checkAttributes, getIdentity
-
Method Details
-
newScheduleQueueEntry
Constructs a new entry representing a processing queue request.
Supported API: true- Parameters:
queue-- Returns:
- ScheduleQueueEntry
- Throws:
WTException
-
initialize
Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.
Supported API: true- Parameters:
queue-- Throws:
WTException
-
toString
Returns a string representation of the entry.
Supported API: true- Overrides:
toStringin classWtQueueEntry- Returns:
- String
-
setStatus
Sets the status code of the entry to passed as argument. The only statuses allowed are READY and SUSPENDED. The message is set to "Status set by operator." (it is defined in the resource bundle of the package.
Supported API: true- Overrides:
setStatusin classWtQueueEntry- Parameters:
status_code-- Throws:
WTException
-
getQueue
Returns the queue to which the entry belongs.
Supported API: true- Returns:
- ScheduleQueue
- Throws:
WTException
-
getDisplayString
Supported API: true- Overrides:
getDisplayStringin classWtQueueEntry- Returns:
- String
-