public class AppHelper extends Object
Helper class for working with com.edorasware.cloud.core.entity.App
entities.
Constructor and Description |
---|
AppHelper(AnyWorkObjectService anyWorkObjectService,
AnyWorkObjectDefinitionService anyWorkObjectDefinitionService) |
Modifier and Type | Method and Description |
---|---|
String |
getAppId(AnyWorkObject workObject)
Returns the id of the app work item which is the root work object of the given work object.
|
String |
getAppWorkObjectId(String workObjectDefinitionId)
Returns the ID of the app work object corresponding to the given definition ID.
|
public AppHelper(AnyWorkObjectService anyWorkObjectService, AnyWorkObjectDefinitionService anyWorkObjectDefinitionService)
public String getAppId(AnyWorkObject workObject)
Returns the id of the app work item which is the root work object of the given work object. The app id is retrieved from the root definition of the given work object’s definition.
workObject
- the work object for which to get the app idIllegalArgumentException
- if the definition id of the given work object is not set or undefinedIllegalStateException
- if the definitions or the app work item are not foundCopyright © 2010 - 2019 edorasware ag. All Rights Reserved.