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
,BPCallAbleChoreographyElement
,BPCallAbleProcessElement
,BPChoreography
,BPCollaboration
,BPConditionalEventDefinition
,BPDataStore
,BPDia
,BPEndPoint
,BPError
,BPEscalation
,BPEventDefinition
,BPGlobalChoreographyTask
,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
,DRBusinessKnowledgeModel
,DRDecision
,DRDecisionRequirementDia
,DRDecisionService
,DRGElement
,DRInputData
,DRInvocable
,DRKnowledgeSource
,ERAttributeSet
,ERCheckConstraint
,ERDia
,ERDiaAll
,EREntity
,ERRelationship
,ERView
,GCConcept
,GCDia
,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
public interface ADAccessAble extends ELElement
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 Modifier and Type Interface Description static class
ADAccessAble.VAttr
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<ADUsrRole>
getAccessRole()
Return the roles which can read the current object.java.util.List<ADUsrRole>
getReadRole()
Return the roles which cannot read the current object.boolean
hasAccess(ADUsrRole refObj)
Returns true if the current login has access to change the current object.void
setAccessRole(java.util.List<? extends ADUsrRole> values)
Set the value of Foreign Key AccessRole.void
setReadRole(java.util.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, getQualifiedNamespaceName, getRelshipBinDir, getRelshipBinDir, getRelshipBinDirTarget, getUnitToLock, getValSpecElement, isContainedInProfile, isUnresolved, lockUnit, setUnresolved, unlockUnit
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELObject
getId, getLongId, getMetaClass, getMetaName, getOclClass, getSrvCon, hasRead
-
-
-
-
Method Detail
-
hasAccess
boolean hasAccess(ADUsrRole refObj) throws InoNetException, SrvErrorException
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:
InoNetException
SrvErrorException
-
getAccessRole
java.util.List<ADUsrRole> getAccessRole() throws InoNetException, SrvErrorException
Return the roles which can read the current object.- Throws:
InoNetException
SrvErrorException
-
setAccessRole
void setAccessRole(java.util.List<? extends ADUsrRole> values) throws InoNetException, SrvErrorException
Set the value of Foreign Key AccessRole.- Parameters:
values
- The value to be set.- Throws:
InoNetException
SrvErrorException
-
getReadRole
java.util.List<ADUsrRole> getReadRole() throws InoNetException, SrvErrorException
Return the roles which cannot read the current object.- Throws:
InoNetException
SrvErrorException
-
setReadRole
void setReadRole(java.util.List<? extends ADUsrRole> values) throws InoNetException, SrvErrorException
Set the value of Foreign Key ReadRole.- Parameters:
values
- The value to be set.- Throws:
InoNetException
SrvErrorException
-
-