Package org.apache.syncope.common.lib
Class EntityTOUtils
- java.lang.Object
-
- org.apache.syncope.common.lib.EntityTOUtils
-
public final class EntityTOUtils extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Map<String,Attr>
buildAttrMap(Collection<Attr> attrs)
static Map<Pair<String,String>,LinkedAccountTO>
buildLinkedAccountMap(Collection<LinkedAccountTO> accounts)
static Map<String,MembershipTO>
buildMembershipMap(Collection<MembershipTO> memberships)
static Map<Pair<String,String>,RelationshipTO>
buildRelationshipMap(Collection<RelationshipTO> relationships)
static <A extends AnyTO,C extends AnyCR>
voidtoAnyCR(A anyTO, C anyCR)
static <C extends AnyCR,A extends AnyTO>
voidtoAnyTO(C anyCR, A anyTO)
-
-
-
Method Detail
-
buildAttrMap
public static Map<String,Attr> buildAttrMap(Collection<Attr> attrs)
-
buildRelationshipMap
public static Map<Pair<String,String>,RelationshipTO> buildRelationshipMap(Collection<RelationshipTO> relationships)
-
buildMembershipMap
public static Map<String,MembershipTO> buildMembershipMap(Collection<MembershipTO> memberships)
-
buildLinkedAccountMap
public static Map<Pair<String,String>,LinkedAccountTO> buildLinkedAccountMap(Collection<LinkedAccountTO> accounts)
-
-