Constructor and Description |
---|
AppHelper(com.edorasware.commons.core.any.AnyWorkObjectService anyWorkObjectService,
com.edorasware.commons.core.any.AnyWorkObjectDefinitionService anyWorkObjectDefinitionService) |
Modifier and Type | Method and Description |
---|---|
com.edorasware.commons.core.entity.WorkObjectId |
getAppId(com.edorasware.commons.core.entity.WorkObject<?,?,?> workObject)
Returns the id of the app work item which is the root work object of the given work object.
|
public AppHelper(com.edorasware.commons.core.any.AnyWorkObjectService anyWorkObjectService, com.edorasware.commons.core.any.AnyWorkObjectDefinitionService anyWorkObjectDefinitionService)
public com.edorasware.commons.core.entity.WorkObjectId getAppId(com.edorasware.commons.core.entity.WorkObject<?,?,?> workObject)
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 - 2015 edorasware ag. All Rights Reserved.