Interface ADMdlUser
- All Superinterfaces:
ADClientAble,ADLoginAble,ADM2AttrModifyAble,ELContainerAble,ELContAsgnAble,ELDeleteAble,ELElement,ELNamedElement,ELNamespaceAsgnAble,ELObject,ELUUIDAble
Represents a common model user which is used for connecting to a model.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds the role to the current object.getLogin()The login of the current object.getModel()The model that own this model user.Returns all roles of the current object.getUsrRoleByPattern(String pattern, K_CONTROL_OPTION... behaviourFlags) Returns all roles for the current object.booleanReturns true if the roles privileges of the current object match argument kind.voidremoveRole(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, getStartAnalysisDiaMethods inherited from interface de.mid.innovator.srv2api.icw2meta.ADLoginAble
getActiveChangeSet, getFragment, getLoginAbleSection, getLoginByDisplay, getOwnedLogin, getOwnedUserNotification, getUserHostOption, getUserOption, modifyPasswordMethods inherited from interface de.mid.innovator.srv2api.icw2meta.ADM2AttrModifyAble
getTabCell, getTabCellObjectList, getTabCreateTemplate, getTabCreateTemplateObjectList, getTabElement, getTabElementRelshipTypeList, getTabElementRowList, getTabElementRowTypeList, getTabRelshipList, getTabRowList, tabCellModify, tabCreateTemplate, tabElementModifyMethods 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.ELUUIDAble
getHyperlinkReferenceAble, getInnoRef, getNotToTranslateAttribute, getTranslatedValue, getUUID, setUUID
-
Method Details
-
hasOperationMode
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:
InoNetExceptionSrvErrorException
-
getUsrRoleByPattern
List<ADUsrRole> getUsrRoleByPattern(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:
InoNetExceptionSrvErrorException- Sorted:
-
addRole
Adds the role to the current object.- Parameters:
role- role to use- Throws:
InoNetExceptionSrvErrorException
-
removeRole
Removes the role to from the current object.- Parameters:
role- role to use- Throws:
InoNetExceptionSrvErrorException
-
getUsrRole
Returns all roles of the current object.- Throws:
InoNetExceptionSrvErrorException
-
getLogin
The login of the current object.- Throws:
InoNetExceptionSrvErrorException
-
getModel
The model that own this model user.- Throws:
InoNetExceptionSrvErrorException
-