Class TemplateUtils
- java.lang.Object
-
- org.apache.syncope.core.provisioning.java.utils.TemplateUtils
-
public class TemplateUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description TemplateUtils(UserDAO userDAO, GroupDAO groupDAO)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(RealmMember realmMember, Optional<? extends AnyTemplate> template)
void
apply(RealmMember realmMember, AnyTO template)
static void
check(Map<String,AnyTO> templates, ClientExceptionType clientExceptionType)
protected static Attr
evaluateAttr(Attr template, MapContext jexlContext)
protected static void
fill(RealmMember realmMember, RealmMember template)
protected static void
fillMemberships(GroupableRelatableTO any, GroupableRelatableTO template)
protected static void
fillRelationships(GroupableRelatableTO any, GroupableRelatableTO template)
-
-
-
Method Detail
-
evaluateAttr
protected static Attr evaluateAttr(Attr template, MapContext jexlContext)
-
fill
protected static void fill(RealmMember realmMember, RealmMember template)
-
fillRelationships
protected static void fillRelationships(GroupableRelatableTO any, GroupableRelatableTO template)
-
fillMemberships
protected static void fillMemberships(GroupableRelatableTO any, GroupableRelatableTO template)
-
apply
@Transactional(readOnly=true) public void apply(RealmMember realmMember, Optional<? extends AnyTemplate> template)
-
apply
@Transactional(readOnly=true) public void apply(RealmMember realmMember, AnyTO template)
-
check
public static void check(Map<String,AnyTO> templates, ClientExceptionType clientExceptionType)
-
-