Class ExpressionPermissionProfileType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.ExpressionPermissionProfileType
-
- All Implemented Interfaces:
Containerable
,DebugDumpable
,Serializable
,Cloneable
public class ExpressionPermissionProfileType extends Object implements Serializable, Cloneable, Containerable
Specifies restrictions and permissions for various evaluators, especially for scripting expressions. The permission profile configuration is a separate container with its own identifier as it is expected that the same setting will be applied to many evaluators and/or scripting languages. And the definition of a profile can be quite long and extensive.Java class for ExpressionPermissionProfileType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ExpressionPermissionProfileType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="identifier" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element ref="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}documentation" minOccurs="0"/> <element name="decision" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}AuthorizationDecisionType"/> <element name="package" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ExpressionPermissionPackageProfileType" maxOccurs="unbounded" minOccurs="0"/> <element name="class" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ExpressionPermissionClassProfileType" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}long" /> </restriction> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static QName
COMPLEX_TYPE
static ItemName
F_CLAZZ
static ItemName
F_DECISION
static ItemName
F_DESCRIPTION
static ItemName
F_DOCUMENTATION
static ItemName
F_IDENTIFIER
static ItemName
F_PACKAGE
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description ExpressionPermissionProfileType()
ExpressionPermissionProfileType(PrismContext prismContext)
-
Method Summary
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.evolveum.midpoint.prism.Containerable
cloneWithoutId, debugDump
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
-
-
-
Field Detail
-
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
-
F_IDENTIFIER
public static final ItemName F_IDENTIFIER
-
F_DESCRIPTION
public static final ItemName F_DESCRIPTION
-
F_DOCUMENTATION
public static final ItemName F_DOCUMENTATION
-
F_DECISION
public static final ItemName F_DECISION
-
F_PACKAGE
public static final ItemName F_PACKAGE
-
F_CLAZZ
public static final ItemName F_CLAZZ
-
-
Constructor Detail
-
ExpressionPermissionProfileType
public ExpressionPermissionProfileType()
-
ExpressionPermissionProfileType
public ExpressionPermissionProfileType(PrismContext prismContext)
-
-
Method Detail
-
asPrismContainerValue
public PrismContainerValue asPrismContainerValue()
- Specified by:
asPrismContainerValue
in interfaceContainerable
-
setupContainerValue
public void setupContainerValue(PrismContainerValue containerValue)
Description copied from interface:Containerable
Setup value to the containerable representation. This is used to after (empty) containerable is created to initialize it with a correct prism container value. Note: This method DOES NOT change the container value parent.- Specified by:
setupContainerValue
in interfaceContainerable
-
end
public <X> X end()
-
getIdentifier
public String getIdentifier()
-
setIdentifier
public void setIdentifier(String value)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String value)
-
getDocumentation
public String getDocumentation()
-
setDocumentation
public void setDocumentation(String value)
-
getDecision
public AuthorizationDecisionType getDecision()
-
setDecision
public void setDecision(AuthorizationDecisionType value)
-
getPackage
public List<ExpressionPermissionPackageProfileType> getPackage()
-
createPackageList
public List<ExpressionPermissionPackageProfileType> createPackageList()
-
getClazz
public List<ExpressionPermissionClassProfileType> getClazz()
-
createClazzList
public List<ExpressionPermissionClassProfileType> createClazzList()
-
getId
public Long getId()
-
setId
public void setId(Long value)
-
identifier
public ExpressionPermissionProfileType identifier(String value)
-
description
public ExpressionPermissionProfileType description(String value)
-
documentation
public ExpressionPermissionProfileType documentation(String value)
-
decision
public ExpressionPermissionProfileType decision(AuthorizationDecisionType value)
-
_package
public ExpressionPermissionProfileType _package(ExpressionPermissionPackageProfileType value)
-
beginPackage
public ExpressionPermissionPackageProfileType beginPackage()
-
clazz
public ExpressionPermissionProfileType clazz(ExpressionPermissionClassProfileType value)
-
beginClazz
public ExpressionPermissionClassProfileType beginClazz()
-
id
public ExpressionPermissionProfileType id(Long value)
-
clone
public ExpressionPermissionProfileType clone()
-
-