@Manager public class DefaultModelerManager extends Object implements ModelerManager
ModelerManager.Option
Constructor and Description |
---|
DefaultModelerManager(WorkObjectService workObjectService,
OneCurrentUserService currentUserService,
FrontendObjectService frontendObjectService,
AmbiguousIdHelper ambiguousIdHelper) |
Modifier and Type | Method and Description |
---|---|
List<ModelerManager.Option> |
getCaseModels(String ambiguousAppId)
Get all Case models for the given App ID.
|
FrontendObject |
getCurrentUser()
Get the details of the current user.
|
List<ModelerManager.Option> |
getDmnModels(String ambiguousAppId)
Get all dmn models for the given App ID.
|
List<ModelerManager.Option> |
getDocumentModels(String ambiguousAppId)
Get all Document models for the given App ID.
|
List<ModelerManager.Option> |
getMailModels(String ambiguousAppId)
Get all mail models for the given App ID.
|
List<ModelerManager.Option> |
getModelerUsers()
Get all modeler users.
|
ModelerManager.Option |
getOneGroup(String ambiguousId)
Get group for the given groupID.
|
List<ModelerManager.Option> |
getOneGroups(String typedText)
Get all groups matching the typed text.
|
ModelerManager.Option |
getOneUser(String ambiguousId)
Get user for the given user ID.
|
List<ModelerManager.Option> |
getOneUsers(String typedText,
String groupIds)
Get all users for given group (when group is missing ("", null) do not filter according to groupIds).
|
List<ModelerManager.Option> |
getVisModels(String ambiguousAppId)
Get all Vis models for the given App ID.
|
public DefaultModelerManager(WorkObjectService workObjectService, OneCurrentUserService currentUserService, FrontendObjectService frontendObjectService, AmbiguousIdHelper ambiguousIdHelper)
public List<ModelerManager.Option> getModelerUsers()
ModelerManager
Get all modeler users.
getModelerUsers
in interface ModelerManager
public List<ModelerManager.Option> getVisModels(String ambiguousAppId)
ModelerManager
Get all Vis models for the given App ID.
getVisModels
in interface ModelerManager
ambiguousAppId
- the ID of the App (either work object ID value or global ID value)public List<ModelerManager.Option> getCaseModels(String ambiguousAppId)
ModelerManager
Get all Case models for the given App ID.
getCaseModels
in interface ModelerManager
ambiguousAppId
- the ID of the App (either work object ID value or global ID value)public List<ModelerManager.Option> getDocumentModels(String ambiguousAppId)
ModelerManager
Get all Document models for the given App ID.
getDocumentModels
in interface ModelerManager
ambiguousAppId
- the ID of the App (either work object ID value or global ID value)public List<ModelerManager.Option> getMailModels(String ambiguousAppId)
ModelerManager
Get all mail models for the given App ID.
getMailModels
in interface ModelerManager
ambiguousAppId
- the ID of the App (either work object ID value or global ID value)public List<ModelerManager.Option> getDmnModels(String ambiguousAppId)
ModelerManager
Get all dmn models for the given App ID.
getDmnModels
in interface ModelerManager
ambiguousAppId
- the ID of the App (either work object ID value or global ID value)public List<ModelerManager.Option> getOneGroups(String typedText)
ModelerManager
Get all groups matching the typed text. Typed text is filtering like names
getOneGroups
in interface ModelerManager
typedText
- name like filterpublic ModelerManager.Option getOneGroup(String ambiguousId)
ModelerManager
Get group for the given groupID.
getOneGroup
in interface ModelerManager
ambiguousId
- the ID of the group (either object ID value or global ID value)public List<ModelerManager.Option> getOneUsers(String typedText, String groupIds)
ModelerManager
Get all users for given group (when group is missing ("", null) do not filter according to groupIds). Typed text is filtering like names
getOneUsers
in interface ModelerManager
typedText
- name like filtergroupIds
- return only users in this group list (comma separated list of groupIds)public ModelerManager.Option getOneUser(String ambiguousId)
ModelerManager
Get user for the given user ID.
getOneUser
in interface ModelerManager
ambiguousId
- the ID of the user (either object ID value or global ID value)public FrontendObject getCurrentUser() throws Exception
ModelerManager
Get the details of the current user.
getCurrentUser
in interface ModelerManager
Exception
- on errorCopyright © 2010 - 2019 edorasware ag. All Rights Reserved.