Package de.xima.fc.handler.entity
Class VorgangHandler
- java.lang.Object
-
- de.xima.fc.handler.AMSApiHandler
-
- de.xima.fc.handler.entity.GenericHandler
-
- de.xima.fc.handler.entity.VorgangHandler
-
- All Implemented Interfaces:
IAPIHandler
,IGenericHandler
,IVorgangHandler
,Serializable
public class VorgangHandler extends GenericHandler implements IVorgangHandler
The Class VorgangHandler.- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class de.xima.fc.handler.entity.GenericHandler
LOG
-
-
Constructor Summary
Constructors Constructor Description VorgangHandler()
-
Method Summary
-
Methods inherited from class de.xima.fc.handler.entity.GenericHandler
create, create, delete, delete, deleteBy, deleteById, deleteById, getAll, getAllBy, getAttributes, getAttributes, getBy, getById, getById, getById, getSingleAttributes, getSingleAttributes, resultTotalCount, serializableList, update, update
-
Methods inherited from class de.xima.fc.handler.AMSApiHandler
getName
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.xima.fc.com.interfaces.IAPIHandler
getName
-
Methods inherited from interface de.xima.fc.handler.interfaces.entity.IGenericHandler
create, create, delete, delete, deleteBy, deleteById, deleteById, getAll, getAllBy, getAttributes, getAttributes, getBy, getById, getById, getById, getSingleAttributes, getSingleAttributes, resultTotalCount, update, update
-
-
-
-
Method Detail
-
addAttachment
public Vorgang addAttachment(UserContext uc, Long vorgangId, Long attachmentId)
- Specified by:
addAttachment
in interfaceIVorgangHandler
-
addAttachment
public Vorgang addAttachment(UserContext uc, Vorgang vorgang, Attachment attachment)
- Specified by:
addAttachment
in interfaceIVorgangHandler
-
getVorgaengeByBenutzer
public List<Vorgang> getVorgaengeByBenutzer(UserContext uc, Benutzer benutzer)
- Specified by:
getVorgaengeByBenutzer
in interfaceIVorgangHandler
-
getVorgaengeData
public List<ExtendedEntityModel<Vorgang>> getVorgaengeData(UserContext uc, Projekt pro, Postfach pf, de.xima.cmn.criteria.QueryCriteriaManager qcm, EProjectSpecificDBTable tableType)
- Specified by:
getVorgaengeData
in interfaceIVorgangHandler
-
getVorgaengeData
public List<ExtendedEntityModel<Vorgang>> getVorgaengeData(UserContext uc, Projekt pro, de.xima.cmn.criteria.QueryCriteriaManager qcm, EProjectSpecificDBTable tableType, Postfach... inboxes)
- Specified by:
getVorgaengeData
in interfaceIVorgangHandler
-
getVorgaengeDataTotalCount
public long getVorgaengeDataTotalCount(UserContext uc, Projekt pro, Postfach pf, de.xima.cmn.criteria.QueryCriteriaManager qcm, EProjectSpecificDBTable tableType)
- Specified by:
getVorgaengeDataTotalCount
in interfaceIVorgangHandler
-
getVorgaengeDataTotalCount
public long getVorgaengeDataTotalCount(UserContext uc, Projekt pro, de.xima.cmn.criteria.QueryCriteriaManager qcm, EProjectSpecificDBTable tableType, Postfach... inboxes)
- Specified by:
getVorgaengeDataTotalCount
in interfaceIVorgangHandler
-
getVorgangsData
public ExtendedEntityModel<Vorgang> getVorgangsData(UserContext uc, String prozessId, de.xima.cmn.criteria.QueryCriteriaManager qcm, EProjectSpecificDBTable tableType)
- Specified by:
getVorgangsData
in interfaceIVorgangHandler
-
getVorgangsData
public ExtendedEntityModel<Vorgang> getVorgangsData(UserContext uc, Projekt pro, Vorgang v, de.xima.cmn.criteria.QueryCriteriaManager qcm, EProjectSpecificDBTable tableType)
- Specified by:
getVorgangsData
in interfaceIVorgangHandler
-
getAllByPostfach
public List<Vorgang> getAllByPostfach(UserContext uc, Postfach postfach)
- Specified by:
getAllByPostfach
in interfaceIVorgangHandler
-
getCustomAttributes
public Map<String,String> getCustomAttributes(UserContext uc, Vorgang process)
- Specified by:
getCustomAttributes
in interfaceIVorgangHandler
-
getFormRecordReviewData
public IFormRecordReviewData getFormRecordReviewData(UserContext uc, IInboxFormRecordRequest inboxRequest)
- Specified by:
getFormRecordReviewData
in interfaceIVorgangHandler
-
getFormRecordBaseData
public List<IFormRecordBaseData> getFormRecordBaseData(UserContext uc, de.xima.cmn.criteria.QueryCriteriaManager qcm)
- Specified by:
getFormRecordBaseData
in interfaceIVorgangHandler
-
getFormRecordDoiInitData
public IFormRecordDoiInitData getFormRecordDoiInitData(UserContext uc, Vorgang formRecord)
- Specified by:
getFormRecordDoiInitData
in interfaceIVorgangHandler
-
correctStatus
public Vorgang correctStatus(UserContext uc, Vorgang formRecord, Status targetState, Benutzer user)
- Specified by:
correctStatus
in interfaceIVorgangHandler
-
getParent
public Vorgang getParent(UserContext uc, Vorgang formRecord)
- Specified by:
getParent
in interfaceIVorgangHandler
- Parameters:
uc
- The user context for the user who initiated this query.formRecord
- Form record for which to find the parent.- Returns:
- The parent form record of the given form record, or
null
if no parent exists.
-
getChildren
public List<Vorgang> getChildren(UserContext uc, Vorgang formRecord)
- Specified by:
getChildren
in interfaceIVorgangHandler
- Parameters:
uc
- The user context for the user who initiated this query.formRecord
- Form record for which to find the parent.- Returns:
- All children of the given form record, or an empty list if no children exist.
-
bulkMarkRead
public int bulkMarkRead(UserContext uc, List<Long> formRecordIds, boolean read)
- Specified by:
bulkMarkRead
in interfaceIVorgangHandler
-
bulkDelete
public int bulkDelete(UserContext uc, List<Long> formRecordIds)
- Specified by:
bulkDelete
in interfaceIVorgangHandler
-
acquireExclusiveFormRecordLock
public IExclusiveFormRecordLockResult acquireExclusiveFormRecordLock(UserContext uc, IBasicFormRecordRequestData req)
- Specified by:
acquireExclusiveFormRecordLock
in interfaceIVorgangHandler
-
releaseExclusiveFormRecordLock
public IExclusiveFormRecordLockResult releaseExclusiveFormRecordLock(UserContext uc, IBasicFormRecordRequestData req)
- Specified by:
releaseExclusiveFormRecordLock
in interfaceIVorgangHandler
-
-