Interface ADLockAble
- All Superinterfaces:
ADAccessAble,ADFindAble,ADHistoryAble,ELContainerAble,ELContAsgnAble,ELDeleteAble,ELElement,ELNamedElement,ELNamespaceAsgnAble,ELObject,ELPackageAble,ELUUIDAble
- All Known Subinterfaces:
ACActivity,ADApplicationConfiguration,ADConfigTranslation,ADModel,ADModelTranslation,ADTranslationAble,ADVersionAble,ADXModel,BCExpression,BCPropertySet,BCRootReuseAbleElement,BCTerm,BEAnyReceiveEvent,BEBehavior,BECallEvent,BEChangeEvent,BEEvent,BEMessageEvent,BEOpaque,BESignalEvent,BETimeEvent,BI2Cube,BI2DimensionTree,BI2MeasurementTime,BIHierarchy,BIHierarchyRole,BPCallAble,BPCallAbleProcessElement,BPCollaboration,BPConditionalEventDefinition,BPDataStore,BPDia,BPEndPoint,BPError,BPEscalation,BPEventDefinition,BPGlobalMaskTask,BPGlobalTask,BPInterface,BPItemDefinition,BPLinkEventDefinition,BPMaskDefinition,BPMessage,BPPath,BPProcess,BPSignal,BPTimerEventDefinition,BRCostCenter,BRDia,BRLocation,BROrgUnit,BRPerson,BRResource,BRResourceCL,BRRole,BRTechnical,BSDia,BSFinalState,BSRegularState,BSState,CLActor,CLArtifact,CLAssocClass,CLAssociation,CLBehavioredClassifier,CLClass,CLClassDia,CLClassifier,CLCollaboration,CLCommunicationPath,CLComponent,CLComponentDia,CLCompositeStructureDia,CLDataType,CLDeclarationAbleClassifier,CLDeploymentDia,CLDeploymentSpec,CLDevice,CLDia,CLEncapsulatedClassifier,CLEnumeration,CLExecEnv,CLHierarchyAbleDia,CLInstanceSpecification,CLInterface,CLNode,CLPrimitiveType,CLRequirementDia,CLSignal,CLStructuredClassifier,CLStructureDefinition,CLStructureDefinitionDia,CLTemplateParameterAbleClass,CLUseCase,CLUseCaseDia,DBAuthorizationIdentifier,DBCheckConstraint,DBColumnSet,DBConnection,DBDia,DBGroup,DBPackage,DBRole,DBSiblingConstraint,DBSQLGeneric,DBStoredProcedure,DBTable,DBUser,DBView,DMGroup,DRBusinessKnowledgeModel,DRDecision,DRDecisionRequirementDia,DRDecisionService,DRGElement,DRInputData,DRInvocable,DRKnowledgeSource,ERAttributeSet,ERCheckConstraint,ERDia,ERDiaAll,EREntity,ERRelationship,ERView,GCConcept,GCDia,GCDynDia,GCJunction,GCNode,IAInteraction,IMAssociation,IMClassifier,IMCLDataType,IMConstraint,IMDia,IMProcedure,IMSemanticDataType,IMSequence,MEAttachment,MEConfigurationManagement,MEConstraint,MEHierarchyAble,MEMappingConfigurationPackage,MEMappingConfigurationPackageForward,MEMappingConfigurationPackageReverse,MEMappingPackageContent,MEMappingPackageType,MEMappingPackageTypeForward,MEMappingPackageTypeReverse,MEModel,MEPackage,MEProxy,MEProxyExternal,MEProxyInnovator,MERequirement,MESection,MEStubPackage,MEStubPackageBase,MEStubPackageExternalModel,MEStubPackageInnovator,MESystemModel,MESystemModelManagement,MM2SchemaTranslation,MMProfile,MMProfileTranslation,MMSyncProfile,MMXProfile,PRAnalysisDia,PRDiaWhiteboard,PRVersionAbleDia,SMProtocolStateMachine,SMStateMachine
Elements which can be locked by a user.
- See Also:
- Note:
- The interface ADLockAble describes an abstract ability of an object. Therefore no instances of this type can be found in the repository!
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptiongetLock()The lock of the current object.Gets important information of the lockable element all at once.Returns the login which has locked the current object.Returns the name of the user who has locked the current object.booleanReturns true if the current login has access to change the current object and the current object is not locked by another login.booleanhasLock()Returns true if the current object is locked.booleanReturns true if the current object is not locked.booleanhasOthLock(ADLogin refObj) Returns true if the current object is locked by a login from anyone else except the current login.booleanhasOwnLock(ADLogin refObj) Returns true if the current object is locked by the current login.booleanisLockable(ADLogin refObj) Returns true if the current login is able to lock the current object.voidlock()Creates a lock for the current object.voidunlock()Deletes the lock for the current object.Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADAccessAble
getAccessRole, getReadRole, hasAccess, setAccessRole, setReadRoleMethods inherited from interface de.mid.innovator.srv2api.icw2meta.ADHistoryAble
getCreateTime, getCreator, getHistory, getModifier, getModifyTime, modifyHistory, setHistoryMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELContainerAble
getClientDependency, getOwnedElement, getOwnedElementTransitiveDown, getOwnedElementTransitiveDown, getOwnedElementTransitiveDownAndUnresolved, getOwnedElementTransitiveDownAndUnresolved, getOwnedOrReferencedElementTransitiveDown, getOwnedOrReferencedElementTransitiveDown, getOwnedRelshipBinDirWithTarget, getOwnedRelshipBinDirWithTarget, getRedirectedModelContainer, getRelshipBinDirSource, getSelfAndOwnedElementTransitiveDown, getSelfAndOwnedElementTransitiveDown, getSortedContents, sortContentsMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELContAsgnAble
getAsgnKind, getContSortOrder, getFirstOwnerWhichIsConformTo, getOwner, getOwnerTransitive, getOwnerTransitive, getSelfAndOwnerTransitive, getSelfAndOwnerTransitive, getVersionRoot, isTransitiveChildOf, setAsgnKind, setContSortOrder, setOwnerMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELDeleteAble
deleteMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELElement
duplicateElement, getAssignAbleToVattr, getAssignAbleToVattr, getClientId, getCreateTemplateOfInstance, getDisplayBitmap, getDisplayColor, getDisplayFont, getDisplayLine, getDisplayName, getDisplayNameShort, getDisplayNSName, getElementCache, getElementMappingInformation, getNotificationElement, getQualifiedNamespaceName, getRelshipBinDir, getRelshipBinDir, getRelshipBinDirTarget, getUnitToLock, getValSpecElement, isContainedInProfile, isUnresolved, lockUnit, setUnresolved, unlockUnitMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELNamedElement
getName, getNameKind, getQualifiedDisplayName, getQualifiedName, getQualifiedTLName, getSupplierDependency, rename, setName, setNameKindMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELNamespaceAsgnAble
getMnClassicTREFName, getNamespace, getNamespaceName, getPath, getSeparator, getVisibility, setUniqueName, setVisibilityMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELObject
getId, getLongId, getMetaClass, getMetaName, getOclClass, getSrvCon, hasReadMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELPackageAble
getElementImportingNamespace, getElementImportingNamespace, getImportedPackageAble, getOwningPackageMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELUUIDAble
getHyperlinkReferenceAble, getInnoRef, getNotToTranslateAttribute, getTranslatedValue, getUUID, setUUID
-
Method Details
-
hasClutch
Returns true if the current login has access to change the current object and the current object is not locked by another login. If another login is given byargument refObj, this one is used instead.- Parameters:
refObj- A further instance of type ADLogin which is used to control the behaviour of the method. (see description above) This parameter is optional. (Its value can be given as null.)- Throws:
InoNetExceptionSrvErrorException
-
hasLock
Returns true if the current object is locked.- Throws:
InoNetExceptionSrvErrorException
-
hasNoLock
Returns true if the current object is not locked.- Throws:
InoNetExceptionSrvErrorException
-
hasOthLock
Returns true if the current object is locked by a login from anyone else except the current login. If another login is given byargument refObj, this one is used instead.- Parameters:
refObj- A further instance of type ADLogin which is used to control the behaviour of the method. (see description above) This parameter is optional. (Its value can be given as null.)- Throws:
InoNetExceptionSrvErrorException
-
hasOwnLock
Returns true if the current object is locked by the current login. If another login is given byargument refObj, this one is used instead.- Parameters:
refObj- A further instance of type ADLogin which is used to control the behaviour of the method. (see description above) This parameter is optional. (Its value can be given as null.)- Throws:
InoNetExceptionSrvErrorException
-
isLockable
Returns true if the current login is able to lock the current object. If another login is given byargument refObj, this one is used instead.- Parameters:
refObj- A further instance of type ADLogin which is used to control the behaviour of the method. (see description above) This parameter is optional. (Its value can be given as null.)- Throws:
InoNetExceptionSrvErrorException
-
getLockName
Returns the name of the user who has locked the current object.- Throws:
InoNetExceptionSrvErrorException
-
getLockLogin
Returns the login which has locked the current object.- Throws:
InoNetExceptionSrvErrorException
-
getLockableCache
Gets important information of the lockable element all at once.- Throws:
InoNetExceptionSrvErrorException
-
lock
Creates a lock for the current object.- Throws:
InoNetExceptionSrvErrorException
-
unlock
Deletes the lock for the current object.- Throws:
InoNetExceptionSrvErrorException
-
getLock
The lock of the current object.- Throws:
InoNetExceptionSrvErrorException
-