Class DefaultAnyUtils
java.lang.Object
org.apache.syncope.core.persistence.common.entity.DefaultAnyUtils
- All Implemented Interfaces:
AnyUtils
-
Field Summary
Modifier and TypeFieldDescriptionprotected final AnyObjectDAO
protected final AnyTypeKind
protected final EntityFactory
protected final GroupDAO
protected final boolean
protected static final Logger
protected final PlainAttrValueDAO
protected final PlainSchemaDAO
protected final UserDAO
-
Constructor Summary
ConstructorDescriptionDefaultAnyUtils
(UserDAO userDAO, GroupDAO groupDAO, AnyObjectDAO anyObjectDAO, PlainSchemaDAO plainSchemaDAO, PlainAttrValueDAO plainAttrValueDAO, EntityFactory entityFactory, AnyTypeKind anyTypeKind, boolean linkedAccount) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addAttr
(PlainAttrValidationManager validator, String key, PlainSchema schema, String value) anyClass()
<T extends PlainAttrValue>
TclonePlainAttrValue
(T src) dao()
getAllResources
(Any<?> any) protected static void
initFieldNames
(Class<?> entityClass, Map<String, Field> fields) <C extends AnyCR>
CnewAnyCR()
<T extends AnyTO>
TnewAnyTO()
<U extends AnyUR>
U<T extends PlainAttr<?>>
T<T extends PlainAttrUniqueValue>
T<T extends PlainAttrValue>
T<T extends PlainAttrUniqueValue>
Class<T> <T extends PlainAttrValue>
Class<T> void
removeAttr
(String key, PlainSchema schema)
-
Field Details
-
LOG
-
userDAO
-
groupDAO
-
anyObjectDAO
-
plainSchemaDAO
-
plainAttrValueDAO
-
entityFactory
-
anyTypeKind
-
linkedAccount
protected final boolean linkedAccount -
userFields
-
groupFields
-
anyObjectFields
-
-
Constructor Details
-
DefaultAnyUtils
public DefaultAnyUtils(UserDAO userDAO, GroupDAO groupDAO, AnyObjectDAO anyObjectDAO, PlainSchemaDAO plainSchemaDAO, PlainAttrValueDAO plainAttrValueDAO, EntityFactory entityFactory, AnyTypeKind anyTypeKind, boolean linkedAccount)
-
-
Method Details
-
initFieldNames
-
anyTypeKind
- Specified by:
anyTypeKind
in interfaceAnyUtils
-
anyClass
-
getField
-
plainAttrClass
- Specified by:
plainAttrClass
in interfaceAnyUtils
-
newPlainAttr
- Specified by:
newPlainAttr
in interfaceAnyUtils
-
plainAttrValueClass
- Specified by:
plainAttrValueClass
in interfaceAnyUtils
-
newPlainAttrValue
- Specified by:
newPlainAttrValue
in interfaceAnyUtils
-
plainAttrUniqueValueClass
- Specified by:
plainAttrUniqueValueClass
in interfaceAnyUtils
-
newPlainAttrUniqueValue
- Specified by:
newPlainAttrUniqueValue
in interfaceAnyUtils
-
clonePlainAttrValue
- Specified by:
clonePlainAttrValue
in interfaceAnyUtils
-
newAnyTO
-
newAnyCR
-
newAnyUR
-
dao
-
getAllResources
- Specified by:
getAllResources
in interfaceAnyUtils
-
addAttr
@Transactional public void addAttr(PlainAttrValidationManager validator, String key, PlainSchema schema, String value) -
removeAttr
- Specified by:
removeAttr
in interfaceAnyUtils
-