Package wt.viewmarkup
Class PublishCloudEntry
java.lang.Object
wt.fc._WTObject
wt.fc.WTObject
wt.fc._Item
wt.fc.Item
wt.viewmarkup._PublishCloudEntry
wt.viewmarkup.PublishCloudEntry
- 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=Item.class,interfaces=Lockable.class,properties={@GeneratedProperty(name="startExec",type=java.sql.Timestamp.class,javaDoc="Time that execution started.",accessors=@PropertyAccessors(setExceptions={})),@GeneratedProperty(name="endExec",type=java.sql.Timestamp.class,javaDoc="Time execution finished (COMPLETED or FAILED).",accessors=@PropertyAccessors(setExceptions={})),@GeneratedProperty(name="entryOwner",type=WTPrincipalReference.class,accessors=@PropertyAccessors(setExceptions={})),@GeneratedProperty(name="statusInfo",type=wt.viewmarkup.PublishEntryStatusInfo.class,accessors=@PropertyAccessors(setExceptions={})),@GeneratedProperty(name="cloudEntryNumber",type=java.lang.Long.class,accessors=@PropertyAccessors(setExceptions={}),constraints=@PropertyConstraints(required=true),columnProperties=@ColumnProperties(index=true,defaultValue="0")),@GeneratedProperty(name="failureCount",type=java.lang.Long.class,accessors=@PropertyAccessors(setExceptions={})),@GeneratedProperty(name="position",type=java.lang.Integer.class,accessors=@PropertyAccessors(setExceptions={})),@GeneratedProperty(name="args",type=java.io.Serializable.class,accessors=@PropertyAccessors(getAccess=PRIVATE),columnProperties=@ColumnProperties(columnType=INLINE_BLOB,oracleTableSize=HUGE)),@GeneratedProperty(name="vizServerJobId",type=java.lang.String.class,javaDoc="Holds the viz server job id."),@GeneratedProperty(name="priority",type=java.lang.String.class,javaDoc="Holds the priority of the job.",constraints=@PropertyConstraints(required=true)),@GeneratedProperty(name="dataStorageURL",type=java.lang.String.class,javaDoc="cloud storage location."),@GeneratedProperty(name="fileType",type=java.lang.String.class,javaDoc=" Hold the filetype of job.",constraints=@PropertyConstraints(required=true))},tableProperties=@TableProperties(compositeIndex1="thePersistInfo.theObjectIdentifier.id+statusInfo.code",compositeIndex2="cloudEntryNumber+statusInfo.code+thePersistInfo.modifyStamp"))
public class PublishCloudEntry
extends wt.viewmarkup._PublishCloudEntry
The
PublishCloudEntry represents an individual processing request.
Each entry is associated to a cloud entry and can be
in one of the following states: SUBMITTED, RETRY, PREPROCESSED, EXECUTING, COMPLETED
and FAILED.
Use the newPublishCloudEntry static factory method(s), not the
PublishCloudEntry 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.viewmarkup._PublishCloudEntry
ARGS, CLOUD_ENTRY_NUMBER, DATA_STORAGE_URL, END_EXEC, ENTRY_OWNER, EXTERNALIZATION_VERSION_UID, FAILURE_COUNT, FILE_TYPE, POSITION, PRIORITY, START_EXEC, STATUS_INFO, VIZ_SERVER_JOB_IDFields 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 TypeMethodDescriptionReturns the principal that owns the entry's execution.protected voidSupports initialization, following construction of an instance.static PublishCloudEntryConstructs a new entry representing a cloud publishing request.Methods inherited from class wt.viewmarkup._PublishCloudEntry
getClassInfo, getCloudEntryNumber, getConceptualClassname, getDataStorageURL, getEndExec, getEntryOwner, getFailureCount, getFileType, getLock, getLockDate, getLocker, getLockerEMail, getLockerFullName, getLockerName, getLockNote, getPosition, getPriority, getStartExec, getStatusInfo, getType, getVizServerJobId, isLocked, readExternal, readExternal, readVersion, setCloudEntryNumber, setDataStorageURL, setEndExec, setEntryOwner, setFailureCount, setFileType, setLock, setPosition, setPriority, setStartExec, setStatusInfo, setVizServerJobId, super_readExternal_PublishCloudEntry, super_readVersion_PublishCloudEntry, super_writeExternal_PublishCloudEntry, writeExternal, writeExternalMethods 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, getIdentity, toStringMethods 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
-
newPublishCloudEntry
Constructs a new entry representing a cloud publishing request.
Supported API: true- Returns:
- PublishCloudEntry
- Throws:
WTException
-
initialize
Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.
Supported API: true- Overrides:
initializein classItem- Throws:
WTException
-
getPrincipal
Returns the principal that owns the entry's execution. The access control for execution will be enforced relative to this principal.
Supported API: true- Returns:
- WTPrincipal
- Throws:
WTException
-