Class ExpressionPermissionProfile
java.lang.Object
com.evolveum.midpoint.prism.AbstractFreezable
com.evolveum.midpoint.schema.expression.ExpressionPermissionProfile
- All Implemented Interfaces:
Freezable
,Serializable
Compiled expression permission profile.
Compiled from
ExpressionPermissionProfileType
.
Immutable.
It is the basic building block of https://docs.evolveum.com/midpoint/reference/expressions/expressions/profiles/[Expression
Profiles] functionality; contained within ScriptLanguageExpressionProfile
.
TODO is this a good name?- Author:
- Radovan Semancik
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addClassAccessRule
(Class<?> clazz, AccessDecision decision) void
addClassAccessRule
(Class<?> clazz, String methodName, AccessDecision decision) Used to easily set up access for built-in class access rules (convenience).static ExpressionPermissionProfile
closed
(@NotNull String identifier, @NotNull AccessDecision defaultDecision, @NotNull List<ExpressionPermissionPackageProfileType> packageProfiles, @NotNull List<ExpressionPermissionClassProfileType> classProfiles) Creates frozen profile.@NotNull String
static ExpressionPermissionProfile
open
(@NotNull String identifier, @NotNull AccessDecision defaultDecision) Creates semi-frozen profile (lists are open).protected void
toString()
Methods inherited from class com.evolveum.midpoint.prism.AbstractFreezable
freeze, freeze, freezeAll, freezeNullableList, isImmutable, isMutable
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.evolveum.midpoint.prism.Freezable
checkImmutable, checkMutable
-
Method Details
-
open
public static ExpressionPermissionProfile open(@NotNull @NotNull String identifier, @NotNull @NotNull AccessDecision defaultDecision) Creates semi-frozen profile (lists are open). -
closed
public static ExpressionPermissionProfile closed(@NotNull @NotNull String identifier, @NotNull @NotNull AccessDecision defaultDecision, @NotNull @NotNull List<ExpressionPermissionPackageProfileType> packageProfiles, @NotNull @NotNull List<ExpressionPermissionClassProfileType> classProfiles) Creates frozen profile. -
performFreeze
protected void performFreeze()- Overrides:
performFreeze
in classAbstractFreezable
-
getIdentifier
-
addClassAccessRule
Used to easily set up access for built-in class access rules (convenience). -
addClassAccessRule
-
toString
-