Package com.ptc.windchill.esi.tgt
Class ESITarget
java.lang.Object
wt.fc._WTObject
wt.fc.WTObject
wt.fc._Item
wt.fc.Item
com.ptc.windchill.esi.tgt._ESITarget
com.ptc.windchill.esi.tgt.ESITarget
- All Implemented Interfaces:
com.ptc.windchill.esi.tgt._ESITargetTypeInterface,com.ptc.windchill.esi.tgt.ESITargetTypeInterface,Externalizable,Serializable,Comparable,wt.access._AccessControlled,wt.access._PolicyAccessControlled,wt.access._SecurityLabeled,AccessControlled,wt.access.PolicyAccessControlled,SecurityLabeled,wt.admin._DomainAdministered,DomainAdministered,wt.esi._ESITargetFacade,ESITargetFacade,wt.fc._Identified,wt.fc._NetFactor,wt.fc._ObjectMappable,wt.fc._Persistable,wt.fc._UniquelyIdentified,wt.fc.adminlock._AdministrativelyLockable,AdministrativelyLockable,Identified,NetFactor,ObjectMappable,Persistable,UniquelyIdentified,wt.iba.value._IBAHolder,wt.iba.value.IBAHolder,DisplayIdentification,wt.inf.container._WTContained,wt.inf.container._WTContainedIdentified,WTContained,WTContainedIdentified,wt.notify._Notifiable,Notifiable,wt.recent.RecentlyVisited,wt.type._Typed,wt.type._TypeManaged,wt.type.FlexTyped,wt.type.Typed,wt.type.TypeManaged
@GenAsPersistable(superClass=Item.class,interfaces={WTContained.class,WTContainedIdentified.class,UniquelyIdentified.class,Notifiable.class,wt.type.Typed.class,com.ptc.windchill.esi.tgt.ESITargetTypeInterface.class,ESITargetFacade.class},versions={-7883169107013281113L,2191768797069811614L,-1657387733045267111L},properties={@GeneratedProperty(name="name",type=java.lang.String.class,supportedAPI=PUBLIC,javaDoc="The name of this ESITarget object.",constraints=@PropertyConstraints(upperLimit=450,required=true),columnProperties=@ColumnProperties(index=true)),@GeneratedProperty(name="description",type=java.lang.String.class,supportedAPI=PUBLIC,javaDoc="A user-friendly textual description of this ESITarget object.",constraints=@PropertyConstraints(upperLimit=2048)),@GeneratedProperty(name="system",type=java.lang.String.class,supportedAPI=PUBLIC,constraints=@PropertyConstraints(lowerLimit=0,upperLimit=425),columnProperties=@ColumnProperties(index=true)),@GeneratedProperty(name="defaultForContext",type=boolean.class,initialValue="false",supportedAPI=PUBLIC,javaDoc="Indicates if this ESITarget object is a default one for the context (i.e. container) in which this object is created.<BR>"),@GeneratedProperty(name="taskURI",type=java.lang.String.class,supportedAPI=PUBLIC,javaDoc="URI of the Info*Engine task to be used for sending the ESI response to the distribution target represented by this ESITarget object.",constraints=@PropertyConstraints(upperLimit=425,required=true),columnProperties=@ColumnProperties(defaultValue="com/ptc/windchill/esi/export/ExportToJMSQueue.xml")),@GeneratedProperty(name="number",type=java.lang.String.class,supportedAPI=PUBLIC,javaDoc="The number attribute represents the number for this target.",constraints=@PropertyConstraints(stringCase=UPPER_CASE,upperLimit=32,required=true),columnProperties=@ColumnProperties(index=true,columnName="ESITargetNumber",defaultValue="0001")),@GeneratedProperty(name="responseMetaInfoPath",type=java.lang.String.class,initialValue="\"$CODEBASE$/com/ptc/windchill/esi/ESIResponseMetaInfo.xml\"",supportedAPI=PUBLIC,javaDoc="Path to a file that contains meta information for ESI response. ESI renderers create the ESI response based on this meta information.",constraints=@PropertyConstraints(required=true),columnProperties=@ColumnProperties(defaultValue="$CODEBASE$/com/ptc/windchill/esi/ESIResponseMetaInfo.xml")),@GeneratedProperty(name="status",type=ESITargetStatusType.class,initialValue="ESITargetStatusType.ACTIVE",supportedAPI=PUBLIC,javaDoc="Indicates whether or not this target is active.")},iconProperties=@IconProperties(standardIcon="wtcore/images/disttarget.gif",openIcon="wtcore/images/disttarget.gif"))
public class ESITarget
extends _ESITarget
A location where ESI is to publish information.
Use the newESITarget static factory method(s), not the ESITarget 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 com.ptc.windchill.esi.tgt._ESITarget
DEFAULT_FOR_CONTEXT, DESCRIPTION, EXTERNALIZATION_VERSION_UID, NAME, NUMBER, RESPONSE_META_INFO_PATH, STATUS, SYSTEM, TASK_URIFields 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 com.ptc.windchill.esi.tgt._ESITargetTypeInterface
TYPE_INFO_ESITARGETFields inherited from interface wt.iba.value._IBAHolder
ATTRIBUTE_CONTAINERFields inherited from interface wt.notify._Notifiable
EVENT_SETFields inherited from interface wt.fc._Persistable
PERSIST_INFOFields inherited from interface wt.access._SecurityLabeled
SECURITY_LABELSFields inherited from interface wt.type._Typed
TYPE_DEFINITION_REFERENCEFields inherited from interface wt.inf.container._WTContained
CONTAINER, CONTAINER_NAME, CONTAINER_REFERENCEFields 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_VALUEFields inherited from interface wt.inf.container.WTContained
CONTAINER_ID -
Method Summary
Modifier and TypeMethodDescriptionReturns the Identification object for ESITarget
Supported API: trueReturn the UFID of this ESITarget object.getSoftAttribute(String attributeName) Returns the value of the input soft attribute of this ESITarget object from the database.Methods inherited from class com.ptc.windchill.esi.tgt._ESITarget
getAttributeContainer, getClassInfo, getConceptualClassname, getContainer, getContainerName, getContainerReference, getDescription, getEventSet, getName, getNumber, getResponseMetaInfoPath, getStatus, getSystem, getTaskURI, getType, getTypeDefinitionReference, getTypeInfoESITarget, isDefaultForContext, readExternal, readExternal, readVersion, setAttributeContainer, setContainer, setContainerReference, setDefaultForContext, setDescription, setEventSet, setName, setNumber, setResponseMetaInfoPath, setStatus, setSystem, setTaskURI, setTypeDefinitionReference, setTypeInfoESITarget, super_readExternal_ESITarget, super_readVersion_ESITarget, super_writeExternal_ESITarget, writeExternal, writeExternalMethods 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
-
getObjectID
Return the UFID of this ESITarget object.
Supported API: true- Returns:
- String
- Throws:
WTException
-
getIdentificationObject
Returns the Identification object for ESITarget
Supported API: true- Returns:
- IdentificationObject
- Throws:
WTException
-
getSoftAttribute
Returns the value of the input soft attribute of this ESITarget object from the database.Note: This method refreshes the attribute container with the values from database. Hence, if attribute container is having values that are modified in memory then, calling this method will replace those from database.
Supported API: true- Parameters:
attributeName- The name of soft attribute.- Returns:
- The soft attribute value.
-