public class UserRepositoryElementType extends AbstractUserElementType implements ComplexRepositoryElementType<UserIdentity>
_helper, _userManager
TYPE_ID_DATA_NAME
Constructor and Description |
---|
UserRepositoryElementType() |
Modifier and Type | Method and Description |
---|---|
private String |
_getStringValue(RepositoryData userData,
String name) |
String |
getNodeType()
Retrieves the type of node used for this type
|
UserIdentity |
readSingleValue(RepositoryData userData)
Read the single value in the given repository data
|
void |
writeSingleValue(ModifiableRepositoryData parentData,
String name,
UserIdentity value)
Write the single value into the given repository data
This method is called by the
ComplexRepositoryElementType.write(ModifiableRepositoryData, String, Object) method, once for each value if the value is an array |
_singleValueToJSON, _singleValueToSAX, castValue, fromJSONForClient, isSimple, parseConfiguration, service, toString
getManagedClass, getManagedClassArray, isCompatible, valueToJSONForClient, valueToSAX
getId, setPluginInfo
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isCompatible, read, removeValueBeforeWritingIt, write
castValue, fromJSONForClient, getManagedClass, getManagedClassArray, isCompatible, isSimple, parseConfiguration, toString, valueToJSONForClient
getId, valueToSAX
setPluginInfo
public UserRepositoryElementType()
public UserIdentity readSingleValue(RepositoryData userData)
ComplexRepositoryElementType
readSingleValue
in interface ComplexRepositoryElementType<UserIdentity>
userData
- repository data containing the valueprivate String _getStringValue(RepositoryData userData, String name)
public void writeSingleValue(ModifiableRepositoryData parentData, String name, UserIdentity value)
ComplexRepositoryElementType
ComplexRepositoryElementType.write(ModifiableRepositoryData, String, Object)
method, once for each value if the value is an arraywriteSingleValue
in interface ComplexRepositoryElementType<UserIdentity>
parentData
- repository where to store the single value.name
- the name of the element to writevalue
- the single value to write. Can be null. In this case, an empty data must be createdpublic String getNodeType()
ComplexRepositoryElementType
getNodeType
in interface ComplexRepositoryElementType<UserIdentity>