@Component @Transactional(rollbackFor=java.lang.Throwable.class) public class GroupDataBinderImpl extends Object implements GroupDataBinder
Modifier and Type | Field and Description |
---|---|
protected AnyObjectDAO |
anyObjectDAO |
protected AnyTypeClassDAO |
anyTypeClassDAO |
protected AnyUtilsFactory |
anyUtilsFactory |
protected DerAttrHandler |
derAttrHandler |
protected EntityFactory |
entityFactory |
protected GroupDAO |
groupDAO |
protected IntAttrNameParser |
intAttrNameParser |
protected static org.slf4j.Logger |
LOG |
protected MappingManager |
mappingManager |
protected OutboundMatcher |
outboundMatcher |
protected PlainAttrDAO |
plainAttrDAO |
protected PlainAttrValueDAO |
plainAttrValueDAO |
protected PlainSchemaDAO |
plainSchemaDAO |
protected RealmDAO |
realmDAO |
protected RelationshipTypeDAO |
relationshipTypeDAO |
protected ExternalResourceDAO |
resourceDAO |
protected UserDAO |
userDAO |
protected PlainAttrValidationManager |
validator |
protected VirAttrHandler |
virAttrHandler |
Constructor and Description |
---|
GroupDataBinderImpl() |
Modifier and Type | Method and Description |
---|---|
void |
create(Group group,
GroupTO groupTO) |
protected void |
fill(Any any,
AnyPatch anyPatch,
AnyUtils anyUtils,
SyncopeClientCompositeException scce) |
protected void |
fill(Any any,
AnyTO anyTO,
AnyUtils anyUtils,
SyncopeClientCompositeException scce) |
protected void |
fill(Any any,
Membership membership,
MembershipTO membershipTO,
AnyUtils anyUtils,
SyncopeClientCompositeException scce) |
protected void |
fillAttr(List<String> values,
AnyUtils anyUtils,
PlainSchema schema,
PlainAttr<?> attr,
SyncopeClientException invalidValues) |
protected void |
fillTO(AnyTO anyTO,
String realmFullPath,
Collection<? extends AnyTypeClass> auxClasses,
Collection<? extends PlainAttr<?>> plainAttrs,
Map<DerSchema,String> derAttrs,
Map<VirSchema,List<String>> virAttrs,
Collection<? extends ExternalResource> resources,
boolean details) |
Map<String,PropagationByResource<String>> |
findAnyObjectsWithTransitiveResources(String groupKey)
Finds any objects having resources assigned exclusively because of memberships of the given group.
|
Map<String,PropagationByResource<String>> |
findUsersWithTransitiveResources(String groupKey)
Finds users having resources assigned exclusively because of memberships of the given group.
|
GroupTO |
getGroupTO(Group group,
boolean details) |
GroupTO |
getGroupTO(String key) |
protected MembershipTO |
getMembershipTO(Collection<? extends PlainAttr<?>> plainAttrs,
Map<DerSchema,String> derAttrs,
Map<VirSchema,List<String>> virAttrs,
Membership<? extends Any<?>> membership) |
protected PlainSchema |
getPlainSchema(String schemaName) |
protected RelationshipTO |
getRelationshipTO(String relationshipType,
AnyObject otherEnd) |
TypeExtensionTO |
getTypeExtensionTO(TypeExtension typeExt) |
protected Map<String,ConnObjectTO> |
onResources(Any<?> any,
Collection<String> resources,
String password,
boolean changePwd) |
protected void |
processAttrPatch(Any any,
AttrPatch patch,
PlainSchema schema,
PlainAttr<?> attr,
AnyUtils anyUtils,
SyncopeClientException invalidValues) |
protected PropagationByResource<String> |
propByRes(Map<String,ConnObjectTO> before,
Map<String,ConnObjectTO> after) |
protected void |
setRealm(Any<?> any,
AnyPatch anyPatch) |
PropagationByResource<String> |
update(Group toBeUpdated,
GroupPatch groupPatch) |
protected static final org.slf4j.Logger LOG
@Autowired protected RealmDAO realmDAO
@Autowired protected AnyTypeClassDAO anyTypeClassDAO
@Autowired protected AnyObjectDAO anyObjectDAO
@Autowired protected UserDAO userDAO
@Autowired protected GroupDAO groupDAO
@Autowired protected PlainSchemaDAO plainSchemaDAO
@Autowired protected PlainAttrDAO plainAttrDAO
@Autowired protected PlainAttrValueDAO plainAttrValueDAO
@Autowired protected ExternalResourceDAO resourceDAO
@Autowired protected RelationshipTypeDAO relationshipTypeDAO
@Autowired protected EntityFactory entityFactory
@Autowired protected AnyUtilsFactory anyUtilsFactory
@Autowired protected DerAttrHandler derAttrHandler
@Autowired protected VirAttrHandler virAttrHandler
@Autowired protected MappingManager mappingManager
@Autowired protected IntAttrNameParser intAttrNameParser
@Autowired protected OutboundMatcher outboundMatcher
@Autowired protected PlainAttrValidationManager validator
public void create(Group group, GroupTO groupTO)
create
in interface GroupDataBinder
public PropagationByResource<String> update(Group toBeUpdated, GroupPatch groupPatch)
update
in interface GroupDataBinder
public TypeExtensionTO getTypeExtensionTO(TypeExtension typeExt)
getTypeExtensionTO
in interface GroupDataBinder
@Transactional(readOnly=true) public GroupTO getGroupTO(Group group, boolean details)
getGroupTO
in interface GroupDataBinder
@Transactional(readOnly=true) public GroupTO getGroupTO(String key)
getGroupTO
in interface GroupDataBinder
@Transactional(readOnly=true) public Map<String,PropagationByResource<String>> findAnyObjectsWithTransitiveResources(String groupKey)
GroupDataBinder
findAnyObjectsWithTransitiveResources
in interface GroupDataBinder
groupKey
- group key@Transactional(readOnly=true) public Map<String,PropagationByResource<String>> findUsersWithTransitiveResources(String groupKey)
GroupDataBinder
findUsersWithTransitiveResources
in interface GroupDataBinder
groupKey
- group keyprotected Map<String,ConnObjectTO> onResources(Any<?> any, Collection<String> resources, String password, boolean changePwd)
protected PlainSchema getPlainSchema(String schemaName)
protected void fillAttr(List<String> values, AnyUtils anyUtils, PlainSchema schema, PlainAttr<?> attr, SyncopeClientException invalidValues)
protected void processAttrPatch(Any any, AttrPatch patch, PlainSchema schema, PlainAttr<?> attr, AnyUtils anyUtils, SyncopeClientException invalidValues)
protected void fill(Any any, AnyPatch anyPatch, AnyUtils anyUtils, SyncopeClientCompositeException scce)
protected PropagationByResource<String> propByRes(Map<String,ConnObjectTO> before, Map<String,ConnObjectTO> after)
protected void fill(Any any, AnyTO anyTO, AnyUtils anyUtils, SyncopeClientCompositeException scce)
protected void fill(Any any, Membership membership, MembershipTO membershipTO, AnyUtils anyUtils, SyncopeClientCompositeException scce)
protected void fillTO(AnyTO anyTO, String realmFullPath, Collection<? extends AnyTypeClass> auxClasses, Collection<? extends PlainAttr<?>> plainAttrs, Map<DerSchema,String> derAttrs, Map<VirSchema,List<String>> virAttrs, Collection<? extends ExternalResource> resources, boolean details)
protected RelationshipTO getRelationshipTO(String relationshipType, AnyObject otherEnd)
protected MembershipTO getMembershipTO(Collection<? extends PlainAttr<?>> plainAttrs, Map<DerSchema,String> derAttrs, Map<VirSchema,List<String>> virAttrs, Membership<? extends Any<?>> membership)
Copyright © 2010–2023 The Apache Software Foundation. All rights reserved.