Package wt.locks

Interface Lockable

All Superinterfaces:
wt.locks._Lockable, wt.fc._NetFactor, wt.fc._ObjectMappable, wt.fc._Persistable, NetFactor, ObjectMappable, Persistable, Serializable
All Known Subinterfaces:
wt.vc.baseline._Baseline, _BaselineConfigurationVersion, wt.esi._EnterpriseDatable, wt.epm.familytable._EPMFamilyTable, wt.sandbox._Interoperable, wt.vc.baseline._IteratedPartialBaseline, wt.epm.modelitems._ModelItemContainer, com.ptc.windchill.mpml._MPMCompatibility, _MPMCompatible, com.ptc.windchill.mpml.processplan.operation._MPMConsumableResource, com.ptc.windchill.mpml.mfgprocess._MPMMfgStandardGrouped, com.ptc.windchill.mpml.processplan.operation._MPMOperationHolder, com.ptc.windchill.mpml.processplan.sequence._MPMSequenceHolder, wt.configuration._SerialNumberedBaselineConfigurationVersion, wt.vc.wip._Workable, wt.change2.workset._WorkSet, Associative, Baseline, BaselineConfigurationVersion, EnterpriseDatable, EPMFamilyTable, wt.sandbox.Interoperable, IteratedPartialBaseline, ModelItemContainer, MPMCompatibility, MPMCompatible, MPMConsumableResource, MPMMfgStandardGrouped, MPMOperationHolder, MPMSequenceHolder, SerialNumberedBaselineConfigurationVersion, Workable, WorkSet
All Known Implementing Classes:
com.ptc.windchill.enterprise.data._AbstractEnterpriseData, _AbstractRemaObject, _AccessControlSurrogate, wt.access.agreement._AuthorizationAgreement, _Choice, _ChoiceRule, _DefaultWTContainerTemplate, _EnterpriseData, wt.epm.workspaces._EPMAsStoredConfig, _EPMDocument, _EPMSepFamilyTable, _ESIManagedBaseline, _ExpressionAlias, _IndependentAssignedExpression, _IteratedFolderResident, wt.lifecycle._LifeCycleTemplate, _LotBaseline, _ManagedBaseline, com.ptc.windchill.suma.part._ManufacturerPart, wt.maturity._MaturityBaseline, _MPMConfigurationRecipe, _MPMControlCharacteristic, _MPMMfgProcess, _MPMMfgStandardGroup, _MPMOperation, com.ptc.windchill.mpml.resource._MPMOperationAssignableResource, _MPMPlant, _MPMProcessMaterial, _MPMProcessPlan, _MPMResource, _MPMResourceGroup, _MPMSequence, _MPMSkill, _MPMStandardCC, _MPMStandardOperation, _MPMTooling, _MPMWorkCenter, _Option, _OptionSet, _PartList, _ProxyDocument, wt.viewmarkup._PublishCloudEntry, wt.queue._QueueEntry, com.ptc.windchill.enterprise.requirement._Requirement, _RevisionControlled, wt.queue._ScheduleQueueEntry, com.ptc.windchill.enterprise.requirement._Specification, _SpecificationTemplate, com.ptc.windchill.suma.part._SupplierPart, _UdiSuperSet2, _VariantSpec, com.ptc.windchill.suma.part._VendorPart, _WfProcessTemplate, _WTDocument, _WTPart, _WTPartAlternateRep, _WTPartRequest, _WTProductConfiguration, _WTWorkSet, com.ptc.windchill.enterprise.data.AbstractEnterpriseData, AbstractRemaObject, AccessControlSurrogate, AuthorizationAgreement, Choice, ChoiceRule, DefaultWTContainerTemplate, EnterpriseData, EPMAsStoredConfig, EPMDocument, EPMSepFamilyTable, ESIManagedBaseline, ExpressionAlias, IndependentAssignedExpression, IteratedFolderResident, LifeCycleTemplate, LotBaseline, ManagedBaseline, ManufacturerPart, MaturityBaseline, MPMConfigurationRecipe, MPMControlCharacteristic, MPMMfgProcess, MPMMfgStandardGroup, MPMOperation, com.ptc.windchill.mpml.resource.MPMOperationAssignableResource, MPMPlant, MPMProcessMaterial, MPMProcessPlan, MPMResource, MPMResourceGroup, MPMSequence, MPMSkill, MPMStandardCC, MPMStandardOperation, MPMTooling, MPMWorkCenter, Option, OptionSet, PartList, ProxyDocument, PublishCloudEntry, QueueEntry, Requirement, RevisionControlled, ScheduleQueueEntry, Specification, SpecificationTemplate, SupplierPart, UdiSuperSet2, VariantSpec, VendorPart, WfProcessTemplate, WTDocument, WTPart, WTPartAlternateRep, WTPartRequest, WTProductConfiguration, WTWorkSet

@GenAsPersistable(extendable=true,properties=@GeneratedProperty(name="lock",type=wt.locks.Lock.class,javaDoc="The lock mechanism/cookie aggregated in any business object that asserts itself as being lockable. @see wt.locks.Lock",constraints=@PropertyConstraints(required=true)),derivedProperties={@DerivedProperty(name="locked",derivedFrom="lock.seized",type=boolean.class,getBody="try { return getLock().isSeized(); } catch (java.lang.NullPointerException npe) { return false; }",accessors=@PropertyAccessors(setAccess=PRIVATE)),@DerivedProperty(name="lockDate",derivedFrom="lock.date",accessors=@PropertyAccessors(setAccess=PRIVATE)),@DerivedProperty(name="lockNote",derivedFrom="lock.note",accessors=@PropertyAccessors(setAccess=PRIVATE)),@DerivedProperty(name="locker",derivedFrom="lock.locker",accessors=@PropertyAccessors(setAccess=PRIVATE)),@DerivedProperty(name="lockerEMail",derivedFrom="lock.locker.EMail",accessors=@PropertyAccessors(setAccess=PRIVATE)),@DerivedProperty(name="lockerName",derivedFrom="lock.locker.name",accessors=@PropertyAccessors(setAccess=PRIVATE)),@DerivedProperty(name="lockerFullName",derivedFrom="lock.locker.fullName",accessors=@PropertyAccessors(setAccess=PRIVATE))}) public interface Lockable extends wt.locks._Lockable
Provides an abstraction of a plug-and-play component. The intent is that in a business model a business object would assert that it is Lockable by inheriting (i.e., implements) the Lockable interface. With this assertion the business object can then be (un)locked through the locking service's API.

Supported API: true

Extendable: true
See Also: