Package com.aquima.web.rest.v1.service
Class ProcessServiceBase
- java.lang.Object
-
- com.aquima.web.rest.v1.service.ProcessServiceBase
-
- Direct Known Subclasses:
CaseService
,TaskService
public class ProcessServiceBase extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected IDateConverter
dateConverter
protected com.aquima.interactions.process.impl.ProcessCaseRepository
repository
-
Constructor Summary
Constructors Constructor Description ProcessServiceBase(com.aquima.interactions.process.impl.ProcessCaseRepository repository, IDateConverter dateConverter)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
fillAttributes(IProcessBase processCase, com.aquima.interactions.process.dao.ICaseDataInstance[] caseInstances, Map<Long,com.aquima.interactions.process.dao.ICaseDataValue[]> caseValues, List<String> includedAttributes, boolean includeAll)
protected void
fillAttributes(IProcessBase caseInstance, List<String> includedAttributes, boolean includeAll)
protected void
fillAttributes(List<? extends IProcessBase> cases, List<String> includedAttributes, boolean includeAll)
protected Object
getAttributeValue(com.aquima.interactions.foundation.IValue value)
protected static long[]
getCaseIds(List<? extends IProcessBase> cases)
protected static List<String>
getIncluded(String elements)
protected static long[]
getInstanceIds(com.aquima.interactions.process.dao.ICaseDataInstance... instances)
protected static long[]
getInstanceIds(Map<Long,com.aquima.interactions.process.dao.ICaseDataInstance[]> instances)
-
-
-
Field Detail
-
repository
protected final com.aquima.interactions.process.impl.ProcessCaseRepository repository
-
dateConverter
protected final IDateConverter dateConverter
-
-
Constructor Detail
-
ProcessServiceBase
public ProcessServiceBase(com.aquima.interactions.process.impl.ProcessCaseRepository repository, IDateConverter dateConverter)
-
-
Method Detail
-
fillAttributes
protected final void fillAttributes(List<? extends IProcessBase> cases, List<String> includedAttributes, boolean includeAll) throws com.aquima.interactions.process.dao.exception.ProcessDataAccessException
- Throws:
com.aquima.interactions.process.dao.exception.ProcessDataAccessException
-
fillAttributes
protected final void fillAttributes(IProcessBase caseInstance, List<String> includedAttributes, boolean includeAll) throws com.aquima.interactions.process.dao.exception.ProcessDataAccessException
- Throws:
com.aquima.interactions.process.dao.exception.ProcessDataAccessException
-
fillAttributes
protected final void fillAttributes(IProcessBase processCase, com.aquima.interactions.process.dao.ICaseDataInstance[] caseInstances, Map<Long,com.aquima.interactions.process.dao.ICaseDataValue[]> caseValues, List<String> includedAttributes, boolean includeAll)
-
getCaseIds
protected static long[] getCaseIds(List<? extends IProcessBase> cases)
-
getInstanceIds
protected static long[] getInstanceIds(Map<Long,com.aquima.interactions.process.dao.ICaseDataInstance[]> instances)
-
getInstanceIds
protected static long[] getInstanceIds(com.aquima.interactions.process.dao.ICaseDataInstance... instances)
-
getAttributeValue
protected final Object getAttributeValue(com.aquima.interactions.foundation.IValue value)
-
-