Package org.exoplatform.addons.ixbus
Class IxbusConnectorService
java.lang.Object
org.exoplatform.addons.ixbus.IxbusConnectorService
-
Constructor Summary
ConstructorsConstructorDescriptionIxbusConnectorService(org.exoplatform.container.xml.InitParams params, org.exoplatform.services.organization.OrganizationService organizationService) -
Method Summary
Modifier and TypeMethodDescriptiongetPendingFolders(Collection<String> userIdentifiers) Reads, for each user, the folders waiting for one of their actions, as the drawer's required actions do: ixbus includes there the steps assigned to a function or a service the user holds, which a folder's own step target does not name.getUserActions(String username) intgetUserActionsCount(String username) getUserFolders(String username) intgetUserFoldersCount(String username) getUserIdentifier(String username)
-
Constructor Details
-
IxbusConnectorService
public IxbusConnectorService(org.exoplatform.container.xml.InitParams params, org.exoplatform.services.organization.OrganizationService organizationService)
-
-
Method Details
-
getUserIdentifier
- Returns:
- the ixbus identifier of the user, or null when the user has no ixbus account or ixbus could not be read
-
getAllUsers
- Returns:
- the email of every ixbus user by identifier, or null when ixbus could not be read
-
getUserFoldersCount
-
getUserFolders
- Returns:
- the folders the user follows, or null when ixbus could not be read
-
getUserActionsCount
-
getUserActions
- Returns:
- the folders waiting for an action of the user, or null when ixbus could not be read
-
getPendingFolders
Reads, for each user, the folders waiting for one of their actions, as the drawer's required actions do: ixbus includes there the steps assigned to a function or a service the user holds, which a folder's own step target does not name. The users are read in parallel, with the job read timeout.- Returns:
- the folders of each user, or null for a user whose folders could not be read
-
getPermissions
- Returns:
- the permission expressions of the addon, as for its top bar button (exo.ixbus.permissions): only the users who hold one of them are notified
-
getSettings
-