Class ProcessServiceBase

java.lang.Object
com.aquima.web.rest.v1.service.ProcessServiceBase
Direct Known Subclasses:
CaseService, TaskService

public class ProcessServiceBase extends Object
  • Field Details

    • repository

      protected final com.aquima.interactions.process.impl.ProcessCaseRepository repository
    • dateConverter

      protected final IDateConverter dateConverter
  • Constructor Details

    • ProcessServiceBase

      public ProcessServiceBase(com.aquima.interactions.process.impl.ProcessCaseRepository repository, IDateConverter dateConverter)
  • Method Details

    • 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)
    • getIncluded

      protected static List<String> getIncluded(String elements)