Interface ADAccessAble
- All Known Subinterfaces:
ACActivity,ADApplicationConfiguration,ADConfigTranslation,ADLockAble,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 set an access to
- Note:
- The interface ADAccessAble 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 TypeMethodDescriptionReturn the roles which can read the current object.Return the roles which cannot read the current object.booleanReturns true if the current login has access to change the current object.voidsetAccessRole(List<? extends ADUsrRole> values) Set the value of Foreign Key AccessRole.voidsetReadRole(List<? extends ADUsrRole> values) Set the value of Foreign Key ReadRole.Methods 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.ELObject
getId, getLongId, getMetaClass, getMetaName, getOclClass, getSrvCon, hasRead
-
Method Details
-
hasAccess
Returns true if the current login has access to change the current object. If a role is given byargument refObj, this one is used instead.- Parameters:
refObj- A further instance of type ADUsrRole 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
-
getAccessRole
Return the roles which can read the current object.- Throws:
InoNetExceptionSrvErrorException
-
setAccessRole
Set the value of Foreign Key AccessRole.- Parameters:
values- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getReadRole
Return the roles which cannot read the current object.- Throws:
InoNetExceptionSrvErrorException
-
setReadRole
Set the value of Foreign Key ReadRole.- Parameters:
values- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-