public interface IdentityService
Modifier and Type | Field and Description |
---|---|
static String |
CUSTOM_USER_INFO_DEFINITION |
static String |
CUSTOM_USER_INFO_VALUE |
static String |
GROUP |
static String |
ICON |
static String |
ROLE |
static String |
USER |
static String |
USER_CONTACT_INFO |
static String |
USER_LOGIN |
static String |
USERMEMBERSHIP |
Modifier and Type | Method and Description |
---|---|
boolean |
checkCredentials(SUser user,
String password)
Checks whether the couple user/password is valid.
|
SCustomUserInfoDefinition |
createCustomUserInfoDefinition(SCustomUserInfoDefinition customUserInfo)
Create custom user info definition in DB for a server given custom user info definition
|
SCustomUserInfoValue |
createCustomUserInfoValue(SCustomUserInfoValue customUserInfo)
Create profileMetadataValue in DB for give profileMetadataValue object
|
void |
createGroup(SGroup group,
String iconFileName,
byte[] iconContent)
Create group in DB for the given group object
|
void |
createRole(SRole role,
String iconFilename,
byte[] iconContent)
Create role in DB for the given role
|
SUser |
createUser(SUser user)
Create
SUser and store it to persistence layer |
SUser |
createUser(SUser sUser,
SContactInfo personalContactInfo,
SContactInfo proContactInfo,
String iconFilename,
byte[] iconContent)
create a new user in database along with its contact data
|
SContactInfo |
createUserContactInfo(SContactInfo contactInfo)
Create user contact information for given data
|
void |
createUserMembership(SUserMembership userMembership)
Create userMembership in DB for the given userMembership object
|
SUser |
createUserWithoutEncryptingPassword(SUser user)
Deprecated.
|
void |
deleteAllGroups()
Delete all groups for the connected tenant
|
void |
deleteAllRoles()
Delete all roles for the connected tenant
|
void |
deleteAllUserMemberships()
Delete all user memberships for the connected tenant
|
void |
deleteAllUsers()
Delete all users for the connected tenant
|
List<Long> |
deleteChildrenGroup(long groupId)
delete children groups of the given group if there is some
|
void |
deleteCustomUserInfoDefinition(long customUserInfoDefinitionId)
Delete the id specified custom user info
|
void |
deleteCustomUserInfoDefinition(SCustomUserInfoDefinition metadataDefinition)
Delete the specific custom user info
|
void |
deleteCustomUserInfoValue(long customUserInfoValueId)
Delete the id specified profileMetadataValue
|
void |
deleteCustomUserInfoValue(SCustomUserInfoValue customUserInfo)
Delete the specific profileMetadataValue
|
void |
deleteGroup(long groupId)
Delete the id specified group
|
void |
deleteGroup(SGroup group)
Delete the specific group
|
void |
deleteLightUserMembership(SUserMembership userMembership)
Delete the specific light userMembership
|
void |
deleteRole(long roleId)
Delete the id specified role
|
void |
deleteRole(SRole role)
Delete the specific role
|
void |
deleteUser(long userId)
Delete user by its id
|
void |
deleteUser(SUser user)
Delete the specific user
|
void |
deleteUserMembership(long userMembershipId)
Delete the id specified userMembership
|
void |
deleteUserMembership(SUserMembership userMembership)
Delete the specific userMembership
|
List<SUser> |
getActiveUsersInGroup(long groupId,
int fromIndex,
int numberOfUsers,
String field,
org.bonitasoft.engine.persistence.OrderByType order)
|
List<SUser> |
getActiveUsersWithManager(long managerId,
int fromIndex,
int numberMaxOfUsers,
String field,
org.bonitasoft.engine.persistence.OrderByType order)
Get all active users managed by a specific manager from a specific interval.
|
List<SUser> |
getActiveUsersWithRole(long roleId,
int fromIndex,
int numberOfUsers)
|
List<SUser> |
getActiveUsersWithRole(long roleId,
int fromIndex,
int numberOfUsers,
String field,
org.bonitasoft.engine.persistence.OrderByType order)
|
SCustomUserInfoDefinition |
getCustomUserInfoDefinition(long customUserInfoDefinitionId)
Get
SCustomUserInfoDefinition by its id |
SCustomUserInfoDefinition |
getCustomUserInfoDefinitionByName(String name)
Get a
SCustomUserInfoDefinition by its name |
List<SCustomUserInfoDefinition> |
getCustomUserInfoDefinitions(int fromIndex,
int maxResults)
Get a
List of SCustomUserInfoDefinition from specific interval |
List<SCustomUserInfoDefinition> |
getCustomUserInfoDefinitions(List<Long> customUserInfoDefinitionIds)
Get a
List of SCustomUserInfoDefinition of the given identifiers |
SCustomUserInfoValue |
getCustomUserInfoValue(long customUserInfoValueId)
Get
SCustomUserInfoValue by its id |
List<SCustomUserInfoValue> |
getCustomUserInfoValues(List<Long> customUserInfoValueIds)
Get a
List of SCustomUserInfoValue of the given identifiers |
SGroup |
getGroup(long groupId)
Get
SGroup by its identifier |
SGroup |
getGroupByPath(String groupPath)
Get the
SGroup by its path |
List<SGroup> |
getGroupChildren(long parentGroupId,
int fromIndex,
int numberOfGroups)
|
List<SGroup> |
getGroupChildren(long parentGroupId,
int fromIndex,
int numberOfGroups,
String field,
org.bonitasoft.engine.persistence.OrderByType order)
|
List<SGroup> |
getGroups(int fromIndex,
int numberOfGroups)
|
List<SGroup> |
getGroups(int fromIndex,
int numberOfGroups,
String field,
org.bonitasoft.engine.persistence.OrderByType order)
|
List<SGroup> |
getGroups(List<Long> groupIds)
|
SIcon |
getIcon(long id)
get the icon using its id
|
List<SUser> |
getInactiveUsersInGroup(long groupId,
int fromIndex,
int numberOfUsers,
String field,
org.bonitasoft.engine.persistence.OrderByType order)
|
List<SUser> |
getInactiveUsersWithManager(long managerId,
int fromIndex,
int numberMaxOfUsers,
String field,
org.bonitasoft.engine.persistence.OrderByType order)
Get all inactive users managed by a specific manager from a specific interval.
|
List<SUser> |
getInactiveUsersWithRole(long roleId,
int fromIndex,
int numberOfUsers)
|
List<SUser> |
getInactiveUsersWithRole(long roleId,
int fromIndex,
int numberOfUsers,
String field,
org.bonitasoft.engine.persistence.OrderByType order)
|
SUserMembership |
getLightUserMembership(long userMembershipId)
Get light userMembership by its id
|
SUserMembership |
getLightUserMembership(long userId,
long groupId,
long roleId)
Get the
SUserMembership of the specific user, group and role without userName, groupName and roleName being set. |
List<SUserMembership> |
getLightUserMemberships(int startIndex,
int numberOfElements)
Get light userMembership in a specific interval, this is used for pagination
|
long |
getNumberOfCustomUserInfoDefinition()
Get total number of
SCustomUserInfoDefinition of the current tenant |
long |
getNumberOfCustomUserInfoValue(org.bonitasoft.engine.persistence.QueryOptions options)
Get total number of
SCustomUserInfoValue of the current tenant matching the criterias of the given QueryOptions |
long |
getNumberOfGroupChildren(long parentGroupId)
Get number of child groups for the group identified by the given id
|
long |
getNumberOfGroups()
Get total number of
SGroup in the current tenant |
long |
getNumberOfGroups(org.bonitasoft.engine.persistence.QueryOptions options)
Get total number of groups according to specific query options
|
long |
getNumberOfRoles()
Get total number of
SRole for this tenant |
long |
getNumberOfRoles(org.bonitasoft.engine.persistence.QueryOptions options)
Get total number of roles according to specific query options
|
long |
getNumberOfUserMemberships()
Get total number of userMemberships of the current tenant
|
long |
getNumberOfUserMembershipsOfUser(long userId)
Get total number of
SUserMembership for a specific user |
long |
getNumberOfUsers()
Get total number of
SUser on the current tenant |
long |
getNumberOfUsers(org.bonitasoft.engine.persistence.QueryOptions options)
Get total number of users according to specific query options
|
long |
getNumberOfUsersByGroup(long groupId)
Get total number of users for the given
SGroup |
long |
getNumberOfUsersByMembership(long groupId,
long roleId)
Get total number of userMemberships contains specific group and role
|
long |
getNumberOfUsersByRole(long roleId)
Get total number of users for the given role on the current tenant
|
SRole |
getRole(long roleId)
Gets the
SRole given by its identifier. |
SRole |
getRoleByName(String roleName)
Get the
SRole given by its name. |
List<SRole> |
getRoles(int fromIndex,
int numberOfRoles)
|
List<SRole> |
getRoles(int fromIndex,
int numberOfRoles,
String field,
org.bonitasoft.engine.persistence.OrderByType order)
|
List<SRole> |
getRoles(List<Long> roleIds)
|
SUser |
getUser(long userId)
Get
SUser by its id |
SUser |
getUserByUserName(String username)
Get
SUser by its name |
SContactInfo |
getUserContactInfo(long userId,
boolean isPersonal)
Return the user contact info for a specific user.
|
List<Long> |
getUserIdsWithCustomUserInfo(String userInfoName,
String userInfoValue,
boolean usePartialMatch,
int fromIndex,
int maxResults)
Retrieve a
List of user identifiers from specific interval. |
SUserMembership |
getUserMembership(long userMembershipId)
Get
SUserMembership by given id |
SUserMembership |
getUserMembership(long userId,
long groupId,
long roleId)
|
List<SUserMembership> |
getUserMemberships(int fromIndex,
int numberOfResults)
Get a
List of SUserMembership from specific interval |
List<SUserMembership> |
getUserMemberships(int fromIndex,
int numberOfUserMemberships,
org.bonitasoft.engine.persistence.OrderByOption orderByOption)
Get a
List of SUserMembership from specific interval, sorted by field attribute in the given OrderByType order
order. |
List<SUserMembership> |
getUserMemberships(List<Long> userMembershipIds)
Get a
List of SUserMembership of the given identifiers if they exists |
List<SUserMembership> |
getUserMembershipsOfGroup(long groupId,
int fromIndex,
int numberOfResults)
Get a
List of SUserMembership for given group from specific interval |
List<SUserMembership> |
getUserMembershipsOfRole(long roleId,
int fromIndex,
int numberOfResults)
Get a
List of SUserMembership for given role from specific interval |
List<SUserMembership> |
getUserMembershipsOfUser(long userId,
int fromIndex,
int numberOfMemberships)
Get
SUserMembership for a specific interval for a given user |
List<SUserMembership> |
getUserMembershipsOfUser(long userId,
int fromIndex,
int numberPerPage,
org.bonitasoft.engine.persistence.OrderByOption sortOrder)
Get a
List of SUserMembership of a given user from specific interval, sorted by default field in the given OrderByType
sortOrder order. |
List<SUserMembership> |
getUserMembershipsOfUser(long userId,
int fromIndex,
int numberOfMemberships,
String field,
org.bonitasoft.engine.persistence.OrderByType sortOrder)
Get a
List of SUserMembership of a given user from specific interval, sorted by field attribute in the given OrderByType
sortOrder order. |
List<SUser> |
getUsers(int fromIndex,
int numberOfUsers)
|
List<SUser> |
getUsers(int fromIndex,
int numberOfUsers,
String field,
org.bonitasoft.engine.persistence.OrderByType order)
|
List<SUser> |
getUsers(List<Long> userIds)
Get
SUser by their userIds |
List<SUser> |
getUsersByUsername(List<String> userNames)
|
List<SUser> |
getUsersInGroup(long groupId,
int fromIndex,
int numberOfUsers,
String field,
org.bonitasoft.engine.persistence.OrderByType order)
|
List<SUser> |
getUsersWithManager(long managerId,
int fromIndex,
int numberMaxOfUsers,
String field,
org.bonitasoft.engine.persistence.OrderByType order)
Get all users (both active and inactive) managed by a specific manager from a specific interval.
|
List<SUser> |
getUsersWithRole(long roleId,
int fromIndex,
int numberOfUsers)
|
List<SUser> |
getUsersWithRole(long roleId,
int fromIndex,
int numberOfUsers,
String field,
org.bonitasoft.engine.persistence.OrderByType order)
|
boolean |
hasCustomUserInfoDefinition(String name)
Verify if there is a
SCustomUserInfoDefinition of the given name |
List<SCustomUserInfoValue> |
searchCustomUserInfoValue(org.bonitasoft.engine.persistence.QueryOptions options)
Search
SCustomUserInfoValue matching the criterias of the given QueryOptions |
List<SGroup> |
searchGroups(org.bonitasoft.engine.persistence.QueryOptions options)
Search groups according to specific query options
|
List<SRole> |
searchRoles(org.bonitasoft.engine.persistence.QueryOptions options)
Search roles according to specific query options
|
List<SUser> |
searchUsers(org.bonitasoft.engine.persistence.QueryOptions options)
Search users according to specific query options
|
void |
updateCustomUserInfoDefinition(SCustomUserInfoDefinition customUserInfo,
EntityUpdateDescriptor descriptor)
Update customUserInfoDefinition according to the descriptor
|
void |
updateCustomUserInfoValue(SCustomUserInfoValue customUserInfo,
EntityUpdateDescriptor descriptor)
Update profileMetadataValue according to the descriptor
|
void |
updateGroup(SGroup group,
EntityUpdateDescriptor descriptor,
EntityUpdateDescriptor iconUpdater)
Update group according to the descriptor
|
SRole |
updateRole(SRole role,
EntityUpdateDescriptor descriptor,
EntityUpdateDescriptor iconUpdater)
Update role according to the descriptor
|
SUser |
updateUser(long userId,
EntityUpdateDescriptor userUpdateDescriptor,
EntityUpdateDescriptor personalDataUpdateDescriptor,
EntityUpdateDescriptor professionalDataUpdateDescriptor,
EntityUpdateDescriptor iconUpdater)
Update the user having id userId according to the entity update descriptors in parameters
|
void |
updateUser(SUser user,
EntityUpdateDescriptor descriptor)
Update
SUser according to the EntityUpdateDescriptor |
void |
updateUser(SUser user,
EntityUpdateDescriptor descriptor,
boolean isPasswordEncrypted)
Deprecated.
|
void |
updateUserContactInfo(SContactInfo contactInfo,
EntityUpdateDescriptor descriptor)
Update user contact information according to the descriptor
|
void |
updateUserMembership(SUserMembership userMembership,
EntityUpdateDescriptor descriptor)
Update userMembership according to the descriptor
|
static final String GROUP
static final String CUSTOM_USER_INFO_DEFINITION
static final String CUSTOM_USER_INFO_VALUE
static final String ROLE
static final String USER
static final String USER_LOGIN
static final String USER_CONTACT_INFO
static final String USERMEMBERSHIP
static final String ICON
SRole getRole(long roleId) throws SRoleNotFoundException
SRole
given by its identifier.roleId
- the role identifierSRoleNotFoundException
- occurs when the roleId does not refer to any role.SRole getRoleByName(String roleName) throws SRoleNotFoundException
SRole
given by its name.roleName
- The name of roleSRoleNotFoundException
- occurs when the roleName does not refer to any role.long getNumberOfRoles() throws SIdentityException
SRole
for this tenantSIdentityException
- occurs on persistence layer access problemList<SRole> getRoles(List<Long> roleIds) throws SRoleNotFoundException
roleIds
- the role identifiersSRole
objectsSRoleNotFoundException
- Occurs when roleId does not refer to any role.List<SRole> getRoles(int fromIndex, int numberOfRoles) throws SIdentityException
List
of SRole
in specific interval
If the number of existing results are lower than the number asked, all results from the given index are retrieved.fromIndex
- Index of the record to be retrieved from. First record has index 0numberOfRoles
- Number of result to retrieveSIdentityException
- occurs on persistence layer access problemList<SRole> getRoles(int fromIndex, int numberOfRoles, String field, org.bonitasoft.engine.persistence.OrderByType order) throws SIdentityException
List
of SRole
in specific interval, sorted by field attribute in the given OrderByType
order.
For instance, getRoles(0,10,"displayName", OrderByType.DESC) returns the 10 first roles sorted by "displayName" in desc order
If the number of existing results are lower than the number asked, all results from the given index are retrieved.
check SRoleBuilderFactory
to get a list of available field keys to sort
fromIndex
- Index of the record to be retrieved from. First record has index 0numberOfRoles
- Number of result to retrievefield
- The field used by the sortorder
- ASC or DESCSIdentityException
- occurs on persistence layer access problemto get a list of available field keys to use
SGroup getGroupByPath(String groupPath) throws SGroupNotFoundException
SGroup
by its pathgroupPath
- The group pathSGroupNotFoundException
- Occurs when the groupPath does not refer to any group.SGroup getGroup(long groupId) throws SGroupNotFoundException
SGroup
by its identifiergroupId
- The group identifierSGroupNotFoundException
- occurs when the groupId does not refer to any group.long getNumberOfGroups() throws SIdentityException
SGroup
in the current tenantSGroup
SIdentityException
- occurs on persistence layer access problemList<SGroup> getGroups(List<Long> groupIds) throws SGroupNotFoundException
groupIds
- The group identifiersList
of SGroup
objectSGroupNotFoundException
- occurs when no given group identifiers refer to any group.List<SGroup> getGroups(int fromIndex, int numberOfGroups) throws SIdentityException
List
of SGroup
in a specific interval, this is used for pagination
If the number of existing results are lower than the number asked, all results from the given index are retrieved.fromIndex
- Index of the record to be retrieved from. First record has index 0numberOfGroups
- Number of result to retrieveList
of SGroup
SIdentityException
- occurs on persistence layer access problemList<SGroup> getGroups(int fromIndex, int numberOfGroups, String field, org.bonitasoft.engine.persistence.OrderByType order) throws SIdentityException
List
of SGroup
in specific interval, sorted by field attribute in the given OrderByType
order.
For instance, getGroups(0,10,"displayName", OrderByType.DESC) returns the 10 first SGroup
sorted by "displayName" in desc order
If the number of existing results are lower than the number asked, all results from the given index are retrieved.
check SGroupBuilderFactory
to get a list of available field keys to sort
fromIndex
- Index of the record to be retrieved from. First record has index 0numberOfGroups
- Number of result to retrievefield
- The field used to sortorder
- ASC or DESCList
of paginated SGroup
objectsSIdentityException
- occurs on persistence layer access problemSGroupBuilderFactory
long getNumberOfGroupChildren(long parentGroupId) throws SIdentityException
parentGroupId
- The parent group identifierSIdentityException
- occurs on persistence layer access problemList<SGroup> getGroupChildren(long parentGroupId, int fromIndex, int numberOfGroups) throws SIdentityException
List
child SGroup
in a specific interval for specific group. This is used for pagination
If the number of existing results are lower than the number asked, all results from the given index are retrieved.parentGroupId
- The parent group identifierfromIndex
- Index of the record to be retrieved from. First record has index 0numberOfGroups
- Number of result to retrieveList
of child SGroup
SIdentityException
- occurs on persistence layer access problemList<SGroup> getGroupChildren(long parentGroupId, int fromIndex, int numberOfGroups, String field, org.bonitasoft.engine.persistence.OrderByType order) throws SIdentityException
List
of child SGroup
in specific interval, sorted by field attribute in the given OrderByType
order.
For instance, getGroupChildren(0,10,"displayName", OrderByType.DESC) returns the 10 first child SGroup
of the parent SGroup
identified by parentGroupId sorted by "displayName" in desc order
If the number of existing results are lower than the number asked, all results from the given index are retrieved.
check SGroupBuilderFactory
to get a list of available field keys to sort
parentGroupId
- The parent group identifierfromIndex
- Index of the record to be retrieved from. First record has index 0numberOfGroups
- Number of result to retrievefield
- The field used to sortorder
- ASC or DESCList
of child SGroup
SIdentityException
- occurs on persistence layer access problemSUser getUser(long userId) throws SUserNotFoundException
SUser
by its iduserId
- The user identifierSUserNotFoundException
- occurs when the userId does not refer to any user.boolean checkCredentials(SUser user, String password)
user
- the userpassword
- the passwordSUser getUserByUserName(String username) throws SUserNotFoundException
SUser
by its nameusername
- The user nameSUserNotFoundException
- occurs when the user name does not refer to any user.long getNumberOfUsers() throws SIdentityException
SUser
on the current tenantSIdentityException
- occurs on persistence layer access problemList<SUser> getUsers(List<Long> userIds) throws SUserNotFoundException
SUser
by their userIdsuserIds
- A List
of user identifiersList
of SUser
SUserNotFoundException
- occurs when none of the given userIds refer to any user.List<SUser> getUsersByUsername(List<String> userNames) throws SIdentityException
userNames
- the list of user namesList
of SUser
SIdentityException
- If an exception occurs when retrieving the usersList<SUser> getUsers(int fromIndex, int numberOfUsers) throws SIdentityException
List
of SUser
from a specific interval.
If the number of existing results are lower than the number asked, all results from the given index are retrieved.fromIndex
- Index of the record to be retrieved from. First record has index 0numberOfUsers
- Number of result to retrieveList
of SUser
SIdentityException
- occurs on persistence layer access problemList<SUser> getUsers(int fromIndex, int numberOfUsers, String field, org.bonitasoft.engine.persistence.OrderByType order) throws SIdentityException
List
of child SUser
from specific interval, sorted by field attribute in the given OrderByType
order order.
For instance, getUsers(0,10,"displayName", OrderByType.DESC) returns the 10 first SUser
sorted by "displayName" in desc order
If the number of existing results are lower than the number asked, all results from the given index are retrieved.
check SUserBuilderFactory
to get a list of available field keys to sort
fromIndex
- Index of the record to be retrieved from. First record has index 0numberOfUsers
- Number of result we want to get. Maximum number of result returned.field
- The field used by the orderorder
- ASC or DESCList
of paginated SUser
SIdentityException
- occurs on persistence layer access problemSUserBuilderFactory
List<SUser> getUsersWithManager(long managerId, int fromIndex, int numberMaxOfUsers, String field, org.bonitasoft.engine.persistence.OrderByType order) throws SIdentityException
managerId
- The manager identifier, actually it is user identifierfromIndex
- Index of the record to be retrieved from. First record has index 0numberMaxOfUsers
- Number of result to retrievefield
- The field used to sortorder
- ASC or DESCList
of SUser
SIdentityException
- occurs on persistence layer access problemList<SUser> getActiveUsersWithManager(long managerId, int fromIndex, int numberMaxOfUsers, String field, org.bonitasoft.engine.persistence.OrderByType order) throws SIdentityException
managerId
- The manager identifier, actually it is user identifierfromIndex
- Index of the record to be retrieved from. First record has index 0numberMaxOfUsers
- Number of result to retrievefield
- The field used to sortorder
- ASC or DESCList
of SUser
SIdentityException
- occurs on persistence layer access problemList<SUser> getInactiveUsersWithManager(long managerId, int fromIndex, int numberMaxOfUsers, String field, org.bonitasoft.engine.persistence.OrderByType order) throws SIdentityException
managerId
- The manager identifier, actually it is user identifierfromIndex
- Index of the record to be retrieved from. First record has index 0numberMaxOfUsers
- Number of result to retrievefield
- The field used to sortorder
- ASC or DESCList
of SUser
SIdentityException
- occurs on persistence layer access problemlong getNumberOfUsersByRole(long roleId) throws SIdentityException
roleId
- The identifier of roleSIdentityException
- occurs on persistence layer access problemList<SUser> getUsersWithRole(long roleId, int fromIndex, int numberOfUsers) throws SIdentityException
List
of SUser
from a specific interval for the given SRole
identifier.
If the number of existing results are lower than the number asked, all results from the given index are retrieved.
Note that this method returns both active and inactive users.roleId
- The identifier of the SRole
of the SUser
to retrievefromIndex
- Index of the record to be retrieved from. First record has index 0numberOfUsers
- Number of result to retrieveList
of SUser
SIdentityException
- occurs on persistence layer access problemList<SUser> getActiveUsersWithRole(long roleId, int fromIndex, int numberOfUsers) throws SIdentityException
List
of active SUser
from a specific interval for the given SRole
identifier.
If the number of existing results are lower than the number asked, all results from the given index are retrieved.roleId
- The identifier of the SRole
of the SUser
to retrievefromIndex
- Index of the record to be retrieved from. First record has index 0numberOfUsers
- Number of result to retrieveList
of SUser
SIdentityException
- occurs on persistence layer access problemList<SUser> getInactiveUsersWithRole(long roleId, int fromIndex, int numberOfUsers) throws SIdentityException
List
of inactive SUser
from a specific interval for the given SRole
identifier.
If the number of existing results are lower than the number asked, all results from the given index are retrieved.roleId
- The identifier of the SRole
of the SUser
to retrievefromIndex
- Index of the record to be retrieved from. First record has index 0numberOfUsers
- Number of result to retrieveList
of SUser
SIdentityException
- occurs on persistence layer access problemList<SUser> getUsersWithRole(long roleId, int fromIndex, int numberOfUsers, String field, org.bonitasoft.engine.persistence.OrderByType order) throws SIdentityException
List
of SUser
for given SRole
from specific interval, sorted by field attribute in the given OrderByType
order order.
For instance, getUsersWithRole(1,0,10,"displayName", OrderByType.DESC) returns the 10 first SUser
of the SRole
with id '1' sorted by
"displayName" in desc order
If the number of existing results are lower than the number asked, all results from the given index are retrieved.
check SUserBuilderFactory
to get a list of available field keys to sort
roleId
- The identifier of the SRole
fromIndex
- Index of the record to be retrieved from. First record has index 0numberOfUsers
- Number of result to retrievefield
- The field used to sortorder
- ASC or DESCList
of SUser
SIdentityException
- occurs on persistence layer access problemList<SUser> getActiveUsersWithRole(long roleId, int fromIndex, int numberOfUsers, String field, org.bonitasoft.engine.persistence.OrderByType order) throws SIdentityException
List
of active SUser
for given SRole
from specific interval, sorted by field attribute in the given
OrderByType
order order.
For instance, getActiveUsersWithRole(1,0,10,"displayName", OrderByType.DESC) returns the 10 first SUser
of the SRole
with id '1'
sorted
by
"displayName" in desc order
If the number of existing results are lower than the number asked, all results from the given index are retrieved.
check SUserBuilderFactory
to get a list of available field keys to sort
roleId
- The identifier of the SRole
fromIndex
- Index of the record to be retrieved from. First record has index 0numberOfUsers
- Number of result to retrievefield
- The field used to sortorder
- ASC or DESCList
of SUser
SIdentityException
- occurs on persistence layer access problemList<SUser> getInactiveUsersWithRole(long roleId, int fromIndex, int numberOfUsers, String field, org.bonitasoft.engine.persistence.OrderByType order) throws SIdentityException
List
of Inactive SUser
for given SRole
from specific interval, sorted by field attribute in the given
OrderByType
order order.
For instance, getInactiveUsersWithRole(1,0,10,"displayName", OrderByType.DESC) returns the 10 first SUser
of the SRole
with id '1'
sorted by
"displayName" in desc order
If the number of existing results are lower than the number asked, all results from the given index are retrieved.
check SUserBuilderFactory
to get a list of available field keys to sort
roleId
- The identifier of the SRole
fromIndex
- Index of the record to be retrieved from. First record has index 0numberOfUsers
- Number of result to retrievefield
- The field used to sortorder
- ASC or DESCList
of SUser
SIdentityException
- occurs on persistence layer access problemlong getNumberOfUsersByGroup(long groupId) throws SIdentityException
SGroup
groupId
- The identifier of the SGroup
SIdentityException
- occurs on persistence layer access problemList<SUser> getActiveUsersInGroup(long groupId, int fromIndex, int numberOfUsers, String field, org.bonitasoft.engine.persistence.OrderByType order) throws SIdentityException
List
of Active SUser
for given SGroup
from specific interval, sorted by field attribute in the given
OrderByType
order order.
For instance, getActiveUsersInGroup(1,0,10,"displayName", OrderByType.DESC) returns the 10 first SUser
of the SGroup
with id '1'
sorted by
"displayName" in desc order
If the number of existing results are lower than the number asked, all results from the given index are retrieved.
check SUserBuilderFactory
to get a list of available field keys to sort
groupId
- Identifier of the SGroup
fromIndex
- Index of the record to be retrieved from. First record has index 0numberOfUsers
- Number of result to retrievefield
- The field used to sortorder
- ASC or DESCList
of SUser
SIdentityException
- occurs on persistence layer access problemList<SUser> getInactiveUsersInGroup(long groupId, int fromIndex, int numberOfUsers, String field, org.bonitasoft.engine.persistence.OrderByType order) throws SIdentityException
List
of Inactive SUser
for given SGroup
from specific interval, sorted by field attribute in the given
OrderByType
order order.
For instance, getInactiveUsersInGroup(1,0,10,"displayName", OrderByType.DESC) returns the 10 first SUser
of the SGroup
with id '1'
sorted by
"displayName" in desc order
If the number of existing results are lower than the number asked, all results from the given index are retrieved.
check SUserBuilderFactory
to get a list of available field keys to sort
groupId
- Identifier of the SGroup
fromIndex
- Index of the record to be retrieved from. First record has index 0numberOfUsers
- Number of result to retrievefield
- The field used to sortorder
- ASC or DESCList
of SUser
SIdentityException
- occurs on persistence layer access problemList<SUser> getUsersInGroup(long groupId, int fromIndex, int numberOfUsers, String field, org.bonitasoft.engine.persistence.OrderByType order) throws SIdentityException
List
of SUser
for given SGroup
from specific interval, sorted by field attribute in the given OrderByType
order order.
For instance, getUsersInGroup(1,0,10,"displayName", OrderByType.DESC) returns the 10 first SUser
of the SGroup
with id '1' sorted by
"displayName" in desc order
If the number of existing results are lower than the number asked, all results from the given index are retrieved.
check SUserBuilderFactory
to get a list of available field keys to sort
groupId
- Identifier of the SGroup
fromIndex
- Index of the record to be retrieved from. First record has index 0numberOfUsers
- Number of result to retrievefield
- The field used to sortorder
- ASC or DESCList
of SUser
SIdentityException
- occurs on persistence layer access problemList<SUserMembership> getUserMembershipsOfGroup(long groupId, int fromIndex, int numberOfResults) throws SIdentityException
List
of SUserMembership
for given group from specific interval
If the number of existing results are lower than the number asked, all results from the given index are retrieved.
groupId
- Identifier of the groupfromIndex
- Index of the record to be retrieved from. First record has index 0numberOfResults
- Number of result to retrieveList
of SUserMembership
SIdentityException
- occurs on persistence layer access problemList<SUserMembership> getUserMembershipsOfRole(long roleId, int fromIndex, int numberOfResults) throws SIdentityException
List
of SUserMembership
for given role from specific interval
If the number of existing results are lower than the number asked, all results from the given index are retrieved.
roleId
- Identifier of the rolefromIndex
- Index of the record to be retrieved from. First record has index 0numberOfResults
- Number of result to retrieveList
of SUserMembership
SIdentityException
- occurs on persistence layer access problemSUserMembership getUserMembership(long userMembershipId) throws SIdentityException
SUserMembership
by given iduserMembershipId
- The identifier of userMembershipSUserMembership
of the given idSIdentityException
- occurs on persistence layer access problem or if the SUserMembership
does not existsSUserMembership getUserMembership(long userId, long groupId, long roleId) throws SIdentityException
userId
- The user's identifiergroupId
- The group's identifierroleId
- The role's identifierSUserMembership
SIdentityException
- occurs on persistence layer access problem or if the SUserMembership
does not existsSUserMembership getLightUserMembership(long userId, long groupId, long roleId) throws SIdentityException
SUserMembership
of the specific user, group and role without userName, groupName and roleName being set.userId
- The user's identifiergroupId
- The group's identifierroleId
- The role's identifierSUserMembership
SIdentityException
- occurs on persistence layer access problem or if the SUserMembership
does not existsList<SUserMembership> getUserMemberships(List<Long> userMembershipIds) throws SIdentityException
List
of SUserMembership
of the given identifiers if they existsuserMembershipIds
- The SUserMembership
's identifiersList
of SUserMembership
SIdentityException
- occurs on persistence layer access problem or if none identifiers match an existing SUserMembership
List<SUserMembership> getUserMemberships(int fromIndex, int numberOfResults) throws SIdentityException
List
of SUserMembership
from specific interval
If the number of existing results are lower than the number asked, all results from the given index are retrieved.
fromIndex
- Index of the record to be retrieved from. First record has index 0numberOfResults
- Number of result to retrieveList
of SUserMembership
SIdentityException
- occurs on persistence layer access problemList<SUserMembership> getUserMemberships(int fromIndex, int numberOfUserMemberships, org.bonitasoft.engine.persistence.OrderByOption orderByOption) throws SIdentityException
List
of SUserMembership
from specific interval, sorted by field attribute in the given OrderByType
order
order.
For instance, getUserMemberships(0,10,"id", OrderByType.DESC) returns the 10 first SUserMembership
sorted by
"displayName" in desc order
If the number of existing results are lower than the number asked, all results from the given index are retrieved.
check SUserMembershipBuilderFactory
to check available field keys to sort
fromIndex
- Index of the record to be retrieved from. First record has index 0numberOfUserMemberships
- Number of result to retrievefield
- The field used to sortorder
- ASC or DESCList
of SUserMembership
SIdentityException
- occurs on persistence layer access problemSUserMembershipBuilderFactory
SCustomUserInfoDefinition getCustomUserInfoDefinition(long customUserInfoDefinitionId) throws SIdentityException
SCustomUserInfoDefinition
by its idcustomUserInfoDefinitionId
- The SCustomUserInfoDefinition
's identifierSIdentityException
- occurs on persistence layer access problemSCustomUserInfoValue getCustomUserInfoValue(long customUserInfoValueId) throws SCustomUserInfoValueNotFoundException, SCustomUserInfoValueReadException
SCustomUserInfoValue
by its idcustomUserInfoValueId
- The identifier of the custom user info valueSCustomUserInfoValue
SCustomUserInfoValueNotFoundException
- if no custom user info value is found for the given idSCustomUserInfoValueReadException
- if an exception occurs while trying to get the custom user info valueSCustomUserInfoDefinition getCustomUserInfoDefinitionByName(String name) throws SCustomUserInfoDefinitionNotFoundException, SCustomUserInfoDefinitionReadException
SCustomUserInfoDefinition
by its namename
- The name of the SCustomUserInfoDefinition
to retrieveSCustomUserInfoDefinition
identified by the given nameSCustomUserInfoDefinitionNotFoundException
- if there is no custom user info definition for the given nameSCustomUserInfoDefinitionReadException
- if an exception occurs when trying to retrieve the custom user info definitionboolean hasCustomUserInfoDefinition(String name) throws SCustomUserInfoDefinitionReadException
SCustomUserInfoDefinition
of the given namename
- The SCustomUserInfoDefinition
's name to checkSCustomUserInfoDefinition
of the given nameSCustomUserInfoDefinitionNotFoundException
- if there is no custom user info definition for the given nameSCustomUserInfoDefinitionReadException
- if an exception occurs when trying to retrieve the custom user info definitionlong getNumberOfCustomUserInfoDefinition() throws SIdentityException
SCustomUserInfoDefinition
of the current tenantSCustomUserInfoDefinition
of the current tenantSIdentityException
- occurs on persistence layer access problemlong getNumberOfCustomUserInfoValue(org.bonitasoft.engine.persistence.QueryOptions options) throws org.bonitasoft.engine.persistence.SBonitaReadException
SCustomUserInfoValue
of the current tenant matching the criterias of the given QueryOptions
options
- The QueryOptions
containing filtering conditionsSIdentityException
- occurs on persistence layer access problemorg.bonitasoft.engine.persistence.SBonitaReadException
List<SCustomUserInfoDefinition> getCustomUserInfoDefinitions(List<Long> customUserInfoDefinitionIds) throws SIdentityException
List
of SCustomUserInfoDefinition
of the given identifierscustomUserInfoDefinitionIds
- A List
of SCustomUserInfoDefinition
identifiersList
of SCustomUserInfoDefinition
SIdentityException
- occurs on persistence layer access problem or if none identifiers match an existing SCustomUserInfoDefinition
List<SCustomUserInfoValue> getCustomUserInfoValues(List<Long> customUserInfoValueIds) throws SIdentityException
List
of SCustomUserInfoValue
of the given identifierscustomUserInfoValueIds
- A List
of SCustomUserInfoValue
identifiersList
of SCustomUserInfoValue
SIdentityException
- occurs on persistence layer access problem or if none identifiers match an existing SCustomUserInfoDefinition
List<SCustomUserInfoDefinition> getCustomUserInfoDefinitions(int fromIndex, int maxResults) throws SIdentityException
List
of SCustomUserInfoDefinition
from specific interval
If the number of existing results are lower than the number asked, all results from the given index are retrieved.
fromIndex
- Index of the record to be retrieved from. First record has index 0maxResults
- Number of result to retrieveList
of SCustomUserInfoDefinition
SIdentityException
- occurs on persistence layer access problemList<Long> getUserIdsWithCustomUserInfo(String userInfoName, String userInfoValue, boolean usePartialMatch, int fromIndex, int maxResults) throws SIdentityException
List
of user identifiers from specific interval. The returned user's ids have their associated user's userInfo of the given
name userInfoName matches the given value userInfoValue partially or not depending on the usePartialMatch parameter.
If the number of existing results are lower than the number asked, all results from the given index are retrieved.
userInfoName
- The user's information name.userInfoValue
- The user's information value.usePartialMatch
- Defines whether the custom user information value should use a partial match.fromIndex
- The index of the first record to be retrieved. First record has index 0.maxResults
- The max results to be retrieved.SIdentityException
- occurs on persistence layer access problemList<SCustomUserInfoValue> searchCustomUserInfoValue(org.bonitasoft.engine.persistence.QueryOptions options) throws org.bonitasoft.engine.persistence.SBonitaReadException
SCustomUserInfoValue
matching the criterias of the given QueryOptions
options
- The QueryOptions object containing some query conditionsorg.bonitasoft.engine.persistence.SBonitaReadException
- occurs on persistence layer access problem or if search parameters are not correctList<SUserMembership> getUserMembershipsOfUser(long userId, int fromIndex, int numberOfMemberships) throws SIdentityException
SUserMembership
for a specific interval for a given useruserId
- The user's identifierfromIndex
- Index of the record to be retrieved from. First record has index 0numberOfMemberships
- Number of result to retrieveList
of SUserMembership
SIdentityException
- occurs on persistence layer access problemList<SUserMembership> getUserMembershipsOfUser(long userId, int fromIndex, int numberOfMemberships, String field, org.bonitasoft.engine.persistence.OrderByType sortOrder) throws SIdentityException
List
of SUserMembership
of a given user from specific interval, sorted by field attribute in the given OrderByType
sortOrder order.
For instance, getUserMembershipsOfUser(1,0,10,"id", OrderByType.DESC) returns the 10 first SUserMembership
of the given user sorted by
"id" in desc order
If the number of existing results are lower than the number asked, all results from the given index are retrieved.
check SUserMembershipBuilderFactory
to check available field keys to sort
userId
- The identifier of userfromIndex
- Index of the record to be retrieved from. First record has index 0numberOfMemberships
- Number of result to retrievefield
- The field user to do ordersortOrder
- ASC or DESCList
of SUserMembership
SIdentityException
- occurs on persistence layer access problemSUserMembershipBuilderFactory
List<SUserMembership> getUserMembershipsOfUser(long userId, int fromIndex, int numberPerPage, org.bonitasoft.engine.persistence.OrderByOption sortOrder) throws SIdentityException
List
of SUserMembership
of a given user from specific interval, sorted by default field in the given OrderByType
sortOrder order.
For instance, getUserMembershipsOfUser(1,0,10, OrderByType.DESC) returns the 10 first SUserMembership
of the given user sorted by
the default field in desc order
If the number of existing results are lower than the number asked, all results from the given index are retrieved.
userId
- The identifier of userfromIndex
- Index of the record to be retrieved from. First record has index 0numberPerPage
- Number of result o retrievesortOrder
- OrderByOption object containing order informationSIdentityException
- occurs on persistence layer access problemlong getNumberOfUserMembershipsOfUser(long userId) throws SIdentityException
SUserMembership
for a specific useruserId
- The user's identifierSIdentityException
- occurs on persistence layer access problemlong getNumberOfUserMemberships() throws SIdentityException
SIdentityException
- occurs on persistence layer access problemSUser createUser(SUser user) throws SUserCreationException
SUser
and store it to persistence layeruser
- The user to create and storeSUserCreationException
- occurs on persistence layer access problemvoid updateUser(SUser user, EntityUpdateDescriptor descriptor) throws SUserUpdateException
SUser
according to the EntityUpdateDescriptor
user
- The SUser
to updatedescriptor
- The SUser
contents to updateSUserUpdateException
- occurs on persistence layer access problem@Deprecated void updateUser(SUser user, EntityUpdateDescriptor descriptor, boolean isPasswordEncrypted) throws SUserUpdateException
SUser
according to the EntityUpdateDescriptor
user
- The SUser
to updatedescriptor
- The SUser
contents to updateisPasswordEncrypted
- allow to know if the password given in the EntityUpdateDescriptor
is encrypted or notSUserUpdateException
SCustomUserInfoDefinition createCustomUserInfoDefinition(SCustomUserInfoDefinition customUserInfo) throws SCustomUserInfoDefinitionAlreadyExistsException, SCustomUserInfoDefinitionCreationException
customUserInfo
- SCustomUserInfoDefinition objectSCustomUserInfoDefinitionAlreadyExistsException
- TODOSCustomUserInfoDefinitionCreationException
- TODOvoid updateCustomUserInfoDefinition(SCustomUserInfoDefinition customUserInfo, EntityUpdateDescriptor descriptor) throws SIdentityException
customUserInfo
- The customUserInfoDefinition will be updateddescriptor
- The update descriptionSIdentityException
SCustomUserInfoValue createCustomUserInfoValue(SCustomUserInfoValue customUserInfo) throws SIdentityException
customUserInfo
- A profileMetadataValue objectSIdentityException
void updateCustomUserInfoValue(SCustomUserInfoValue customUserInfo, EntityUpdateDescriptor descriptor) throws SIdentityException
customUserInfo
- The profileMetadataValue will be updateddescriptor
- The update descriptionSIdentityException
void createRole(SRole role, String iconFilename, byte[] iconContent) throws SIdentityException
role
- A role objecticonFilename
- iconContent
- SIdentityException
SRole updateRole(SRole role, EntityUpdateDescriptor descriptor, EntityUpdateDescriptor iconUpdater) throws SIdentityException
role
- The role will be updateddescriptor
- The update descriptioniconUpdater
- SIdentityException
void createGroup(SGroup group, String iconFileName, byte[] iconContent) throws SGroupCreationException
group
- A group objecticonFileName
- iconContent
- SGroupCreationException
void updateGroup(SGroup group, EntityUpdateDescriptor descriptor, EntityUpdateDescriptor iconUpdater) throws SIdentityException
group
- The group will be updateddescriptor
- The update descriptioniconUpdater
- SIdentityException
void createUserMembership(SUserMembership userMembership) throws SUserMembershipCreationException
userMembership
- A userMembership objectSUserMembershipCreationException
void updateUserMembership(SUserMembership userMembership, EntityUpdateDescriptor descriptor) throws SIdentityException
userMembership
- The userMembership will be updateddescriptor
- The update descriptionSIdentityException
void deleteUser(SUser user) throws SUserDeletionException
user
- The user will be deletedSUserDeletionException
void deleteUser(long userId) throws SUserDeletionException
userId
- The identifier of userSUserDeletionException
void deleteAllUsers() throws SUserDeletionException
SUserDeletionException
void deleteCustomUserInfoDefinition(SCustomUserInfoDefinition metadataDefinition) throws SIdentityException
metadataDefinition
- The custom user info object will be deletedSIdentityException
void deleteCustomUserInfoDefinition(long customUserInfoDefinitionId) throws SIdentityException
customUserInfoDefinitionId
- The identifier of custom user infoSIdentityException
void deleteCustomUserInfoValue(SCustomUserInfoValue customUserInfo) throws SIdentityException
customUserInfo
- The profileMetadataValue object will be deletedSIdentityException
void deleteCustomUserInfoValue(long customUserInfoValueId) throws SIdentityException
customUserInfoValueId
- The identifier of profileMetadataValueSIdentityException
void deleteRole(SRole role) throws SRoleDeletionException
role
- The role will be deletedSRoleDeletionException
void deleteRole(long roleId) throws SRoleNotFoundException, SRoleDeletionException
roleId
- The role identifierSRoleNotFoundException
- Error occurs when no role found with the specific roleIdSRoleDeletionException
void deleteAllRoles() throws SRoleDeletionException
SRoleDeletionException
void deleteGroup(SGroup group) throws SGroupDeletionException
group
- The group will be deletedSGroupDeletionException
void deleteGroup(long groupId) throws SGroupNotFoundException, SGroupDeletionException
groupId
- The identifier of groupSGroupNotFoundException
- Error occurs when no group found with the specific groupIdSGroupDeletionException
void deleteAllGroups() throws SGroupDeletionException
SGroupDeletionException
void deleteUserMembership(SUserMembership userMembership) throws SMembershipDeletionException
userMembership
- The userMembership will be deletedSMembershipDeletionException
void deleteLightUserMembership(SUserMembership userMembership) throws SMembershipDeletionException
userMembership
- SMembershipDeletionException
void deleteUserMembership(long userMembershipId) throws SMembershipDeletionException
userMembershipId
- The identifier of userMembershipSMembershipDeletionException
void deleteAllUserMemberships() throws SMembershipDeletionException
SMembershipDeletionException
long getNumberOfUsers(org.bonitasoft.engine.persistence.QueryOptions options) throws org.bonitasoft.engine.persistence.SBonitaReadException
options
- The QueryOptions object containing some query conditionsorg.bonitasoft.engine.persistence.SBonitaReadException
List<SUser> searchUsers(org.bonitasoft.engine.persistence.QueryOptions options) throws org.bonitasoft.engine.persistence.SBonitaReadException
options
- The QueryOptions object containing some query conditionsorg.bonitasoft.engine.persistence.SBonitaReadException
long getNumberOfRoles(org.bonitasoft.engine.persistence.QueryOptions options) throws org.bonitasoft.engine.persistence.SBonitaReadException
options
- The QueryOptions object containing some query conditionsorg.bonitasoft.engine.persistence.SBonitaReadException
List<SRole> searchRoles(org.bonitasoft.engine.persistence.QueryOptions options) throws org.bonitasoft.engine.persistence.SBonitaReadException
options
- The QueryOptions object containing some query conditionsorg.bonitasoft.engine.persistence.SBonitaReadException
long getNumberOfGroups(org.bonitasoft.engine.persistence.QueryOptions options) throws org.bonitasoft.engine.persistence.SBonitaReadException
options
- The QueryOptions object containing some query conditionsorg.bonitasoft.engine.persistence.SBonitaReadException
List<SGroup> searchGroups(org.bonitasoft.engine.persistence.QueryOptions options) throws org.bonitasoft.engine.persistence.SBonitaReadException
options
- The QueryOptions object containing some query conditionsorg.bonitasoft.engine.persistence.SBonitaReadException
long getNumberOfUsersByMembership(long groupId, long roleId) throws SIdentityException
groupId
- The identifier of grouproleId
- The identifier of roleSIdentityException
SUserMembership getLightUserMembership(long userMembershipId) throws SIdentityException
userMembershipId
- The identifier of userMembershipSIdentityException
List<SUserMembership> getLightUserMemberships(int startIndex, int numberOfElements) throws SIdentityException
startIndex
- Index of the record to be retrieved from. First record has index 0numberOfElements
- Number of result we want to get. Maximum number of result returned.SIdentityException
List<Long> deleteChildrenGroup(long groupId) throws SGroupDeletionException, SGroupNotFoundException
groupId
- The index of the group to deleteSGroupDeletionException
SGroupNotFoundException
SContactInfo getUserContactInfo(long userId, boolean isPersonal) throws SIdentityException
userId
- the ID of the user to retrieve the contact info fromisPersonal
- Do we want personal contact information (or professional) ?SIdentityException
- if a Read problem occurredSContactInfo createUserContactInfo(SContactInfo contactInfo) throws SUserCreationException
contactInfo
- The user contact information objectSUserCreationException
void updateUserContactInfo(SContactInfo contactInfo, EntityUpdateDescriptor descriptor) throws SIdentityException
contactInfo
- The user contact information to be updateddescriptor
- The update descriptionSUserUpdateException
SIdentityException
@Deprecated SUser createUserWithoutEncryptingPassword(SUser user) throws SUserCreationException
user
- The user objectSUserCreationException
SUser updateUser(long userId, EntityUpdateDescriptor userUpdateDescriptor, EntityUpdateDescriptor personalDataUpdateDescriptor, EntityUpdateDescriptor professionalDataUpdateDescriptor, EntityUpdateDescriptor iconUpdater) throws SIdentityException
userId
- the user to updateuserUpdateDescriptor
- the entity update descriptor of the user itselfpersonalDataUpdateDescriptor
- the entity update descriptor for the personal dataprofessionalDataUpdateDescriptor
- the entity update descriptor for the professional dataSIdentityException
SUser createUser(SUser sUser, SContactInfo personalContactInfo, SContactInfo proContactInfo, String iconFilename, byte[] iconContent) throws SUserCreationException
sUser
- the user to persistpersonalContactInfo
- its personal contact infoproContactInfo
- its professional contact infoiconFilename
- original name of the icon, used to determine the mime typeiconContent
- content of the iconSUserCreationException
SIcon getIcon(long id) throws org.bonitasoft.engine.persistence.SBonitaReadException
id
- id of the iconorg.bonitasoft.engine.persistence.SBonitaReadException
Copyright © 2018 Bonitasoft S.A.. All rights reserved.