Interface ADExecuteAble
-
- All Known Subinterfaces:
DGCommand,MMCreateTemplate,MMEngineeringSequence,MMVerify
public interface ADExecuteAble extends ELElement
Elements which an execution permission may be set for.- Note:
- The interface ADExecuteAble 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 classADExecuteAble.VAttr
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<MMRoleExecution>getRoleExecution(K_CONTROL_OPTION... behaviourFlags)Returns role executions from the current object.booleanhasExecution(ADClientAble refObj)Returns true if the current login has execution rights for the current object.-
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
-
hasExecution
boolean hasExecution(ADClientAble refObj) throws InoNetException, SrvErrorException
Returns true if the current login has execution rights for the current object. If an element is given asargument refObj, only rights of valid profiles of the specified element are evaluated.- Parameters:
refObj- A further instance of type ADClientAble 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
-
getRoleExecution
java.util.List<MMRoleExecution> getRoleExecution(K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
Returns role executions from the current object.- Parameters:
behaviourFlags- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetExceptionSrvErrorException
-
-