Interface ADMdlUser
-
- All Superinterfaces:
ADClientAble
,ADLoginAble
,ADM2AttrModifyAble
,ELContainerAble
,ELContAsgnAble
,ELDeleteAble
,ELElement
,ELNamedElement
,ELNamespaceAsgnAble
,ELObject
,ELUUIDAble
public interface ADMdlUser extends ADLoginAble, ADClientAble
Represents a common model user which is used for connecting to a model.- See Also:
ADMdlUserHelper
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ADMdlUser.VAttr
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addRole(ADUsrRole role)
Adds the role to the current object.ADLogin
getLogin()
The login of the current object.ADModel
getModel()
The model that own this model user.java.util.List<ADUsrRole>
getUsrRole()
Returns all roles of the current object.java.util.List<ADUsrRole>
getUsrRoleByPattern(java.lang.String pattern, K_CONTROL_OPTION... behaviourFlags)
Returns all roles for the current object.boolean
hasOperationMode(K_OPERATIONMODE kind)
Returns true if the roles privileges of the current object match argument kind.void
removeRole(ADUsrRole role)
Removes the role to from the current object.-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADClientAble
getAnnotation, getEndAnalysisDia, getLogic, getLogic, getPresentationContext, getSection, getStartAnalysisDia
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADLoginAble
getActiveChangeSet, getFragment, getLoginAbleSection, getLoginByDisplay, getOwnedLogin, getUserHostOption, getUserOption, modifyPassword
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADM2AttrModifyAble
getTabCell, getTabCellObjectList, getTabCreateTemplate, getTabCreateTemplateObjectList, getTabElement, getTabElementRowList, getTabElementRowTypeList, getTabRowList, tabCellModify, tabCreateTemplate, tabElementModify
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELContainerAble
getClientDependency, getOwnedElement, getOwnedElementTransitiveDown, getOwnedElementTransitiveDown, getOwnedElementTransitiveDownAndUnresolved, getOwnedElementTransitiveDownAndUnresolved, getOwnedOrReferencedElementTransitiveDown, getOwnedOrReferencedElementTransitiveDown, getOwnedRelshipBinDirWithTarget, getOwnedRelshipBinDirWithTarget, getRedirectedModelContainer, getRelshipBinDirSource, getSelfAndOwnedElementTransitiveDown, getSelfAndOwnedElementTransitiveDown, getSortedContents, sortContents
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELContAsgnAble
getAsgnKind, getContSortOrder, getFirstOwnerWhichIsConformTo, getOwner, getOwnerTransitive, getOwnerTransitive, getSelfAndOwnerTransitive, getSelfAndOwnerTransitive, getVersionRoot, isTransitiveChildOf, setAsgnKind, setContSortOrder, setOwner
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELDeleteAble
delete
-
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.ELNamedElement
getName, getNameKind, getQualifiedDisplayName, getQualifiedName, getQualifiedTLName, getSupplierDependency, rename, setName, setNameKind
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELNamespaceAsgnAble
getMnClassicTREFName, getNamespace, getNamespaceName, getPath, getSeparator, getVisibility, setUniqueName, setVisibility
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELObject
getId, getLongId, getMetaClass, getMetaName, getOclClass, getSrvCon, hasRead
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELUUIDAble
getHyperlinkReferenceAble, getNotToTranslateAttribute, getTranslatedValue, getUUID, setUUID
-
-
-
-
Method Detail
-
hasOperationMode
boolean hasOperationMode(K_OPERATIONMODE kind) throws InoNetException, SrvErrorException
Returns true if the roles privileges of the current object match argument kind.- Parameters:
kind
- A value of type K_OPERATIONMODE that controls the behaviour of the underlying method. (see description)- Throws:
InoNetException
SrvErrorException
-
getUsrRoleByPattern
java.util.List<ADUsrRole> getUsrRoleByPattern(java.lang.String pattern, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
Returns all roles for the current object. The result can be restricted by using argument pattern.- Parameters:
pattern
- A string pattern. This parameter is optional. (Its value can be given as null.)behaviourFlags
- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetException
SrvErrorException
- Sorted:
-
addRole
void addRole(ADUsrRole role) throws InoNetException, SrvErrorException
Adds the role to the current object.- Parameters:
role
- role to use- Throws:
InoNetException
SrvErrorException
-
removeRole
void removeRole(ADUsrRole role) throws InoNetException, SrvErrorException
Removes the role to from the current object.- Parameters:
role
- role to use- Throws:
InoNetException
SrvErrorException
-
getUsrRole
java.util.List<ADUsrRole> getUsrRole() throws InoNetException, SrvErrorException
Returns all roles of the current object.- Throws:
InoNetException
SrvErrorException
-
getLogin
ADLogin getLogin() throws InoNetException, SrvErrorException
The login of the current object.- Throws:
InoNetException
SrvErrorException
-
getModel
ADModel getModel() throws InoNetException, SrvErrorException
The model that own this model user.- Throws:
InoNetException
SrvErrorException
-
-