Package org.bonitasoft.engine.identity
Class CustomUserInfo
- java.lang.Object
-
- org.bonitasoft.engine.identity.CustomUserInfo
-
- All Implemented Interfaces:
Serializable,BonitaObject
public class CustomUserInfo extends Object implements BonitaObject
Aggregate information ofCustomUserInfoDefinitionandCustomUserInfoValue- Since:
- 6.3
- Author:
- Vincent Elcrin
- See Also:
CustomUserInfoDefinition,CustomUserInfoValue, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CustomUserInfo(long userId, CustomUserInfoDefinition definition, CustomUserInfoValue value)Creates an instance ofCustomUserInfobased given information
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CustomUserInfoDefinitiongetDefinition()Retrieves theCustomUserInfoDefinitionlonggetUserId()Retrieves theUseridentifierStringgetValue()Retrieves aStringrepresenting theCustom User Informationvalue.
-
-
-
Constructor Detail
-
CustomUserInfo
public CustomUserInfo(long userId, CustomUserInfoDefinition definition, CustomUserInfoValue value)Creates an instance ofCustomUserInfobased given information- Parameters:
userId- theUseridentifierdefinition- theCustomUserInfoDefinitionvalue- theCustomUserInfoValue- See Also:
User,CustomUserInfoDefinition,CustomUserInfoValue
-
-
Method Detail
-
getDefinition
public CustomUserInfoDefinition getDefinition()
Retrieves theCustomUserInfoDefinition- Returns:
- the
CustomUserInfoDefinition - Since:
- 6.3
- See Also:
CustomUserInfoDefinition
-
getUserId
public long getUserId()
Retrieves theUseridentifier- Returns:
- the
Useridentifier - Since:
- 6.3
- See Also:
User
-
getValue
public String getValue()
Retrieves aStringrepresenting theCustom User Informationvalue. This is the value ofCustomUserInfoValue.getValue()of theCustomUserInfoValuerelated to thisCustomUserInfo. If there is not relatedCustomUserInfoValue, this method will return null.- Returns:
- a
Stringrepresenting theCustom User Informationvalue. - Since:
- 6.3
-
-