Class AbstractRoleType
- java.lang.Object
-
- com.evolveum.prism.xml.ns._public.types_3.ObjectType
-
- com.evolveum.midpoint.prism.impl.binding.AbstractMutableObjectable
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.AssignmentHolderType
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.FocusType
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.AbstractRoleType
-
- All Implemented Interfaces:
Containerable
,Freezable
,com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding
,JaxbVisitable
,Objectable
,DebugDumpable
,Serializable
- Direct Known Subclasses:
ArchetypeType
,OrgType
,RoleType
,ServiceType
public abstract class AbstractRoleType extends FocusType implements Objectable
Abstract class that contains the "essence" of a role. This is kind of "Roleable" interface when speaking in Java terms. A role implies assignments. The role may "grant" accounts on resources, attributes and entitlements for such accounts. The role can also assign organizational units, other roles or various IDM objects that can be assigned directly to user. Role is in fact just a named set of assignments. This is the basic building block of role-based access control (RBAC) in the provisioning system. It defines what rights (e.g. accounts) should be given to user, how they should look like (attributes) and what groups or native roles to assign to them (entitlements).- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding
com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding.ContainerableList<T extends Containerable>, com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding.ReferencableList<T extends Referencable>
-
-
Field Summary
Fields Modifier and Type Field Description static QName
COMPLEX_TYPE
static QName
CONTAINER_NAME
static ItemName
F_ADMIN_GUI_CONFIGURATION
static ItemName
F_AUTHORIZATION
static ItemName
F_AUTOASSIGN
static ItemName
F_CONDITION
static ItemName
F_DATA_PROTECTION
static ItemName
F_DELEGABLE
static ItemName
F_DISPLAY_NAME
static ItemName
F_IDEMPOTENCE
static ItemName
F_IDENTIFIER
static ItemName
F_INDUCEMENT
static ItemName
F_REQUESTABLE
static ItemName
F_RISK_LEVEL
-
Fields inherited from class com.evolveum.midpoint.xml.ns._public.common.common_3.FocusType
F_ACTIVATION, F_BEHAVIOR, F_COST_CENTER, F_CREDENTIALS, F_EMAIL_ADDRESS, F_JPEG_PHOTO, F_LINK_REF, F_LOCALE, F_LOCALITY, F_PERSONA_REF, F_PREFERRED_LANGUAGE, F_TELEPHONE_NUMBER, F_TIMEZONE
-
Fields inherited from class com.evolveum.midpoint.xml.ns._public.common.common_3.AssignmentHolderType
F_ARCHETYPE_REF, F_ASSIGNMENT, F_DELEGATED_REF, F_ITERATION, F_ITERATION_TOKEN, F_ROLE_INFLUENCE_REF, F_ROLE_MEMBERSHIP_REF
-
Fields inherited from class com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType
F_DESCRIPTION, F_DIAGNOSTIC_INFORMATION, F_DOCUMENTATION, F_EXTENSION, F_FETCH_RESULT, F_INDESTRUCTIBLE, F_LENS_CONTEXT, F_LIFECYCLE_STATE, F_METADATA, F_NAME, F_OPERATION_EXECUTION, F_PARENT_ORG_REF, F_POLICY_EXCEPTION, F_POLICY_SITUATION, F_SUBTYPE, F_TENANT_REF, F_TRIGGER, F_TRIGGERED_POLICY_RULE
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description AbstractRoleType()
AbstractRoleType(PrismContext context)
Deprecated.
-
Method Summary
-
Methods inherited from class com.evolveum.midpoint.xml.ns._public.common.common_3.FocusType
getActivation, getBehavior, getCostCenter, getCredentials, getEmailAddress, getJpegPhoto, getLinkRef, getLocale, getLocality, getPersonaRef, getPreferredLanguage, getTelephoneNumber, getTimezone, setActivation, setBehavior, setCostCenter, setCredentials, setEmailAddress, setJpegPhoto, setLocale, setLocality, setPreferredLanguage, setTelephoneNumber, setTimezone
-
Methods inherited from class com.evolveum.midpoint.xml.ns._public.common.common_3.AssignmentHolderType
createAssignmentList, getArchetypeRef, getAssignment, getDelegatedRef, getIteration, getIterationToken, getRoleInfluenceRef, getRoleMembershipRef, setIteration, setIterationToken
-
Methods inherited from class com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType
createOperationExecutionList, createPolicyExceptionList, createTriggerList, getDescription, getDiagnosticInformation, getDocumentation, getExtension, getFetchResult, getLensContext, getLifecycleState, getMetadata, getName, getOperationExecution, getParentOrgRef, getPolicyException, getPolicySituation, getSubtype, getTenantRef, getTrigger, getTriggeredPolicyRule, isIndestructible, setDescription, setDocumentation, setExtension, setFetchResult, setIndestructible, setLensContext, setLifecycleState, setMetadata, setName, setTenantRef
-
Methods inherited from class com.evolveum.midpoint.prism.impl.binding.AbstractMutableObjectable
asPrismContainer, asPrismContainerValue, getOid, getVersion, hashCode, setOid, setupContainer, setupContainerValue, setVersion, toDebugName, toDebugType, toString
-
Methods inherited from class com.evolveum.prism.xml.ns._public.types_3.ObjectType
accept
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.evolveum.midpoint.prism.Containerable
asPrismContainerValue, cloneWithoutId, debugDump, freeze, isImmutable, setupContainerValue
-
Methods inherited from interface com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding
prismGetContainerableList, prismGetPropertyValue, prismGetPropertyValues, prismGetReferencable, prismGetReferencableList, prismGetReferenceObjectable, prismGetSingleContainerable, prismSetPropertyValue, prismSetReferencable, prismSetReferenceObjectable, prismSetSingleContainerable
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
Methods inherited from interface com.evolveum.midpoint.prism.Freezable
checkImmutable, checkMutable
-
Methods inherited from interface com.evolveum.midpoint.prism.Objectable
getDescription, getName, getOid, getVersion, setDescription, setName, setOid, setupContainer, setVersion, toDebugName, toDebugType
-
-
-
-
Field Detail
-
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
-
F_DISPLAY_NAME
public static final ItemName F_DISPLAY_NAME
-
F_IDENTIFIER
public static final ItemName F_IDENTIFIER
-
F_INDUCEMENT
public static final ItemName F_INDUCEMENT
-
F_AUTHORIZATION
public static final ItemName F_AUTHORIZATION
-
F_REQUESTABLE
public static final ItemName F_REQUESTABLE
-
F_DELEGABLE
public static final ItemName F_DELEGABLE
-
F_IDEMPOTENCE
public static final ItemName F_IDEMPOTENCE
-
F_RISK_LEVEL
public static final ItemName F_RISK_LEVEL
-
F_CONDITION
public static final ItemName F_CONDITION
-
F_ADMIN_GUI_CONFIGURATION
public static final ItemName F_ADMIN_GUI_CONFIGURATION
-
F_DATA_PROTECTION
public static final ItemName F_DATA_PROTECTION
-
F_AUTOASSIGN
public static final ItemName F_AUTOASSIGN
-
CONTAINER_NAME
public static final QName CONTAINER_NAME
-
-
Constructor Detail
-
AbstractRoleType
public AbstractRoleType()
-
AbstractRoleType
@Deprecated public AbstractRoleType(PrismContext context)
Deprecated.
-
-
Method Detail
-
prismGetContainerName
protected QName prismGetContainerName()
- Overrides:
prismGetContainerName
in classFocusType
-
prismGetContainerType
protected QName prismGetContainerType()
- Overrides:
prismGetContainerType
in classFocusType
-
asPrismObject
public PrismObject<? extends AbstractRoleType> asPrismObject()
- Specified by:
asPrismObject
in interfaceObjectable
- Overrides:
asPrismObject
in classFocusType
-
getDisplayName
public PolyStringType getDisplayName()
-
setDisplayName
public void setDisplayName(PolyStringType value)
-
getIdentifier
public String getIdentifier()
-
setIdentifier
public void setIdentifier(String value)
-
getInducement
public List<AssignmentType> getInducement()
-
createInducementList
public List<AssignmentType> createInducementList()
-
getAuthorization
public List<AuthorizationType> getAuthorization()
-
createAuthorizationList
public List<AuthorizationType> createAuthorizationList()
-
isRequestable
public Boolean isRequestable()
-
setRequestable
public void setRequestable(Boolean value)
-
isDelegable
public Boolean isDelegable()
-
setDelegable
public void setDelegable(Boolean value)
-
getIdempotence
public IdempotenceType getIdempotence()
-
setIdempotence
public void setIdempotence(IdempotenceType value)
-
getRiskLevel
public String getRiskLevel()
-
setRiskLevel
public void setRiskLevel(String value)
-
getCondition
public MappingType getCondition()
-
setCondition
public void setCondition(MappingType value)
-
getAdminGuiConfiguration
public AdminGuiConfigurationType getAdminGuiConfiguration()
-
setAdminGuiConfiguration
public void setAdminGuiConfiguration(AdminGuiConfigurationType value)
-
getDataProtection
public DataProtectionType getDataProtection()
-
setDataProtection
public void setDataProtection(DataProtectionType value)
-
getAutoassign
public AutoassignSpecificationType getAutoassign()
-
setAutoassign
public void setAutoassign(AutoassignSpecificationType value)
-
version
public AbstractRoleType version(String value)
-
oid
public AbstractRoleType oid(String value)
-
displayName
public AbstractRoleType displayName(PolyStringType value)
-
displayName
public AbstractRoleType displayName(String value)
-
identifier
public AbstractRoleType identifier(String value)
-
inducement
public AbstractRoleType inducement(AssignmentType value)
-
beginInducement
public AssignmentType beginInducement()
-
authorization
public AbstractRoleType authorization(AuthorizationType value)
-
beginAuthorization
public AuthorizationType beginAuthorization()
-
requestable
public AbstractRoleType requestable(Boolean value)
-
delegable
public AbstractRoleType delegable(Boolean value)
-
idempotence
public AbstractRoleType idempotence(IdempotenceType value)
-
riskLevel
public AbstractRoleType riskLevel(String value)
-
condition
public AbstractRoleType condition(MappingType value)
-
beginCondition
public MappingType beginCondition()
-
adminGuiConfiguration
public AbstractRoleType adminGuiConfiguration(AdminGuiConfigurationType value)
-
beginAdminGuiConfiguration
public AdminGuiConfigurationType beginAdminGuiConfiguration()
-
dataProtection
public AbstractRoleType dataProtection(DataProtectionType value)
-
beginDataProtection
public DataProtectionType beginDataProtection()
-
autoassign
public AbstractRoleType autoassign(AutoassignSpecificationType value)
-
beginAutoassign
public AutoassignSpecificationType beginAutoassign()
-
linkRef
public AbstractRoleType linkRef(ObjectReferenceType value)
-
linkRef
public AbstractRoleType linkRef(String oid, QName type)
-
linkRef
public AbstractRoleType linkRef(String oid, QName type, QName relation)
-
beginLinkRef
public ObjectReferenceType beginLinkRef()
- Overrides:
beginLinkRef
in classFocusType
-
personaRef
public AbstractRoleType personaRef(ObjectReferenceType value)
- Overrides:
personaRef
in classFocusType
-
personaRef
public AbstractRoleType personaRef(String oid, QName type)
- Overrides:
personaRef
in classFocusType
-
personaRef
public AbstractRoleType personaRef(String oid, QName type, QName relation)
- Overrides:
personaRef
in classFocusType
-
beginPersonaRef
public ObjectReferenceType beginPersonaRef()
- Overrides:
beginPersonaRef
in classFocusType
-
activation
public AbstractRoleType activation(ActivationType value)
- Overrides:
activation
in classFocusType
-
beginActivation
public ActivationType beginActivation()
- Overrides:
beginActivation
in classFocusType
-
jpegPhoto
public AbstractRoleType jpegPhoto(byte[] value)
-
costCenter
public AbstractRoleType costCenter(String value)
- Overrides:
costCenter
in classFocusType
-
locality
public AbstractRoleType locality(PolyStringType value)
-
locality
public AbstractRoleType locality(String value)
-
preferredLanguage
public AbstractRoleType preferredLanguage(String value)
- Overrides:
preferredLanguage
in classFocusType
-
locale
public AbstractRoleType locale(String value)
-
timezone
public AbstractRoleType timezone(String value)
-
emailAddress
public AbstractRoleType emailAddress(String value)
- Overrides:
emailAddress
in classFocusType
-
telephoneNumber
public AbstractRoleType telephoneNumber(String value)
- Overrides:
telephoneNumber
in classFocusType
-
credentials
public AbstractRoleType credentials(CredentialsType value)
- Overrides:
credentials
in classFocusType
-
beginCredentials
public CredentialsType beginCredentials()
- Overrides:
beginCredentials
in classFocusType
-
behavior
public AbstractRoleType behavior(BehaviorType value)
-
beginBehavior
public BehaviorType beginBehavior()
- Overrides:
beginBehavior
in classFocusType
-
assignment
public AbstractRoleType assignment(AssignmentType value)
- Overrides:
assignment
in classFocusType
-
beginAssignment
public AssignmentType beginAssignment()
- Overrides:
beginAssignment
in classFocusType
-
iteration
public AbstractRoleType iteration(Integer value)
-
iterationToken
public AbstractRoleType iterationToken(String value)
- Overrides:
iterationToken
in classFocusType
-
archetypeRef
public AbstractRoleType archetypeRef(ObjectReferenceType value)
- Overrides:
archetypeRef
in classFocusType
-
archetypeRef
public AbstractRoleType archetypeRef(String oid, QName type)
- Overrides:
archetypeRef
in classFocusType
-
archetypeRef
public AbstractRoleType archetypeRef(String oid, QName type, QName relation)
- Overrides:
archetypeRef
in classFocusType
-
beginArchetypeRef
public ObjectReferenceType beginArchetypeRef()
- Overrides:
beginArchetypeRef
in classFocusType
-
roleMembershipRef
public AbstractRoleType roleMembershipRef(ObjectReferenceType value)
- Overrides:
roleMembershipRef
in classFocusType
-
roleMembershipRef
public AbstractRoleType roleMembershipRef(String oid, QName type)
- Overrides:
roleMembershipRef
in classFocusType
-
roleMembershipRef
public AbstractRoleType roleMembershipRef(String oid, QName type, QName relation)
- Overrides:
roleMembershipRef
in classFocusType
-
beginRoleMembershipRef
public ObjectReferenceType beginRoleMembershipRef()
- Overrides:
beginRoleMembershipRef
in classFocusType
-
delegatedRef
public AbstractRoleType delegatedRef(ObjectReferenceType value)
- Overrides:
delegatedRef
in classFocusType
-
delegatedRef
public AbstractRoleType delegatedRef(String oid, QName type)
- Overrides:
delegatedRef
in classFocusType
-
delegatedRef
public AbstractRoleType delegatedRef(String oid, QName type, QName relation)
- Overrides:
delegatedRef
in classFocusType
-
beginDelegatedRef
public ObjectReferenceType beginDelegatedRef()
- Overrides:
beginDelegatedRef
in classFocusType
-
roleInfluenceRef
public AbstractRoleType roleInfluenceRef(ObjectReferenceType value)
- Overrides:
roleInfluenceRef
in classFocusType
-
roleInfluenceRef
public AbstractRoleType roleInfluenceRef(String oid, QName type)
- Overrides:
roleInfluenceRef
in classFocusType
-
roleInfluenceRef
public AbstractRoleType roleInfluenceRef(String oid, QName type, QName relation)
- Overrides:
roleInfluenceRef
in classFocusType
-
beginRoleInfluenceRef
public ObjectReferenceType beginRoleInfluenceRef()
- Overrides:
beginRoleInfluenceRef
in classFocusType
-
name
public AbstractRoleType name(PolyStringType value)
-
name
public AbstractRoleType name(String value)
-
description
public AbstractRoleType description(String value)
- Overrides:
description
in classFocusType
-
documentation
public AbstractRoleType documentation(String value)
- Overrides:
documentation
in classFocusType
-
subtype
public AbstractRoleType subtype(String value)
-
fetchResult
public AbstractRoleType fetchResult(OperationResultType value)
- Overrides:
fetchResult
in classFocusType
-
beginFetchResult
public OperationResultType beginFetchResult()
- Overrides:
beginFetchResult
in classFocusType
-
extension
public AbstractRoleType extension(ExtensionType value)
-
beginExtension
public ExtensionType beginExtension()
- Overrides:
beginExtension
in classFocusType
-
parentOrgRef
public AbstractRoleType parentOrgRef(ObjectReferenceType value)
- Overrides:
parentOrgRef
in classFocusType
-
parentOrgRef
public AbstractRoleType parentOrgRef(String oid, QName type)
- Overrides:
parentOrgRef
in classFocusType
-
parentOrgRef
public AbstractRoleType parentOrgRef(String oid, QName type, QName relation)
- Overrides:
parentOrgRef
in classFocusType
-
beginParentOrgRef
public ObjectReferenceType beginParentOrgRef()
- Overrides:
beginParentOrgRef
in classFocusType
-
trigger
public AbstractRoleType trigger(TriggerType value)
-
beginTrigger
public TriggerType beginTrigger()
- Overrides:
beginTrigger
in classFocusType
-
metadata
public AbstractRoleType metadata(MetadataType value)
-
beginMetadata
public MetadataType beginMetadata()
- Overrides:
beginMetadata
in classFocusType
-
tenantRef
public AbstractRoleType tenantRef(ObjectReferenceType value)
-
tenantRef
public AbstractRoleType tenantRef(String oid, QName type)
-
tenantRef
public AbstractRoleType tenantRef(String oid, QName type, QName relation)
-
beginTenantRef
public ObjectReferenceType beginTenantRef()
- Overrides:
beginTenantRef
in classFocusType
-
lifecycleState
public AbstractRoleType lifecycleState(String value)
- Overrides:
lifecycleState
in classFocusType
-
operationExecution
public AbstractRoleType operationExecution(OperationExecutionType value)
- Overrides:
operationExecution
in classFocusType
-
beginOperationExecution
public OperationExecutionType beginOperationExecution()
- Overrides:
beginOperationExecution
in classFocusType
-
lensContext
public AbstractRoleType lensContext(LensContextType value)
- Overrides:
lensContext
in classFocusType
-
beginLensContext
public LensContextType beginLensContext()
- Overrides:
beginLensContext
in classFocusType
-
policySituation
public AbstractRoleType policySituation(String value)
- Overrides:
policySituation
in classFocusType
-
triggeredPolicyRule
public AbstractRoleType triggeredPolicyRule(EvaluatedPolicyRuleType value)
- Overrides:
triggeredPolicyRule
in classFocusType
-
beginTriggeredPolicyRule
public EvaluatedPolicyRuleType beginTriggeredPolicyRule()
- Overrides:
beginTriggeredPolicyRule
in classFocusType
-
policyException
public AbstractRoleType policyException(PolicyExceptionType value)
- Overrides:
policyException
in classFocusType
-
beginPolicyException
public PolicyExceptionType beginPolicyException()
- Overrides:
beginPolicyException
in classFocusType
-
diagnosticInformation
public AbstractRoleType diagnosticInformation(DiagnosticInformationType value)
- Overrides:
diagnosticInformation
in classFocusType
-
beginDiagnosticInformation
public DiagnosticInformationType beginDiagnosticInformation()
- Overrides:
beginDiagnosticInformation
in classFocusType
-
indestructible
public AbstractRoleType indestructible(Boolean value)
- Overrides:
indestructible
in classFocusType
-
clone
public AbstractRoleType clone()
-
-