public class VorgangAPI extends AEntityAPI<Vorgang>
Vorgang
entities.entityClass
Constructor and Description |
---|
VorgangAPI() |
Modifier and Type | Method and Description |
---|---|
Vorgang |
addAttachment(UserContext uc,
Vorgang vorgang,
Attachment attachment)
Method for adding a attachment to a
Vorgang . |
int |
bulkDelete(UserContext uc,
List<Long> formRecordIds)
Deletes all form records with the given IDs
|
int |
bulkMarkRead(UserContext uc,
List<Long> formRecordIds,
boolean read)
Sets the attribute 'gelesen' of all the form records with the given IDs
|
Vorgang |
correctStatus(UserContext uc,
Vorgang formRecord,
Status targetState,
Benutzer user) |
List<Vorgang> |
getAllByBenutzer(UserContext uc,
Benutzer benutzer)
|
List<Vorgang> |
getAllByPostfach(UserContext uc,
Postfach postfach)
|
Map<String,String> |
getCustomAttributes(UserContext uc,
Vorgang v)
Method for determining all custom attributes of a
Vorgang . |
List<ExtendedEntityModel<Vorgang>> |
getVorgaengeData(UserContext uc,
Projekt project,
Postfach inbox,
de.xima.cmn.criteria.QueryCriteriaManager qcm)
|
List<ExtendedEntityModel<Vorgang>> |
getVorgaengeData(UserContext uc,
Projekt project,
Postfach inbox,
de.xima.cmn.criteria.QueryCriteriaManager qcm,
EProjectSpecificDBTable tableType)
Method for determining of process data by a project and a inbox.
|
List<ExtendedEntityModel<Vorgang>> |
getVorgaengeData(UserContext uc,
Projekt project,
de.xima.cmn.criteria.QueryCriteriaManager qcm)
|
List<ExtendedEntityModel<Vorgang>> |
getVorgaengeData(UserContext uc,
Projekt project,
de.xima.cmn.criteria.QueryCriteriaManager qcm,
EProjectSpecificDBTable tableType)
Method for determining of process data by a
Projekt . |
List<ExtendedEntityModel<Vorgang>> |
getVorgaengeData(UserContext uc,
Projekt project,
de.xima.cmn.criteria.QueryCriteriaManager qcm,
EProjectSpecificDBTable tableType,
Postfach... inboxes)
Method for determining of process data by a project and inboxes.
|
long |
getVorgaengeDataTotalCount(UserContext uc,
Projekt project,
Postfach inbox,
de.xima.cmn.criteria.QueryCriteriaManager qcm)
|
long |
getVorgaengeDataTotalCount(UserContext uc,
Projekt project,
Postfach inbox,
de.xima.cmn.criteria.QueryCriteriaManager qcm,
EProjectSpecificDBTable tableType)
|
long |
getVorgaengeDataTotalCount(UserContext uc,
Projekt project,
de.xima.cmn.criteria.QueryCriteriaManager qcm)
|
long |
getVorgaengeDataTotalCount(UserContext uc,
Projekt project,
de.xima.cmn.criteria.QueryCriteriaManager qcm,
EProjectSpecificDBTable tableType)
Method for determining the total number of process data of the processes of a
Projekt . |
long |
getVorgaengeDataTotalCount(UserContext uc,
Projekt project,
de.xima.cmn.criteria.QueryCriteriaManager qcm,
EProjectSpecificDBTable tableType,
Postfach... inboxes)
|
Vorgang |
getVorgangBy(UserContext uc,
Projekt projekt,
String vorgangProzessID)
|
Vorgang |
getVorgangBy(UserContext uc,
String vorgangProzessID)
Method for determining a
Vorgang by the process ID. |
ExtendedEntityModel<Vorgang> |
getVorgangsData(UserContext uc,
Projekt project,
Vorgang v,
de.xima.cmn.criteria.QueryCriteriaManager qcm)
|
ExtendedEntityModel<Vorgang> |
getVorgangsData(UserContext uc,
Projekt project,
Vorgang v,
de.xima.cmn.criteria.QueryCriteriaManager qcm,
EProjectSpecificDBTable tableType)
|
ExtendedEntityModel<Vorgang> |
getVorgangsData(UserContext uc,
String prozessId,
de.xima.cmn.criteria.QueryCriteriaManager qcm)
|
ExtendedEntityModel<Vorgang> |
getVorgangsData(UserContext uc,
String prozessId,
de.xima.cmn.criteria.QueryCriteriaManager qcm,
EProjectSpecificDBTable tableType)
Method for determining of process data of a concrete
Vorgang by a process ID. |
create, create, delete, delete, deleteAllBy, deleteById, deleteById, getAll, getAllBy, getAttributes, getAttributes, getBy, getById, getById, getSingleAttributes, getSingleAttributes, resultTotalCount, resultTotalCount, update, update
getHandlerProvider
public Vorgang getVorgangBy(UserContext uc, String vorgangProzessID)
Vorgang
by the process ID.uc
- UserContext
the user context in which the action is to be performed.vorgangProzessID
- String
the process ID of the Vorgang
.Vorgang
the searched process.public Vorgang getVorgangBy(UserContext uc, Projekt projekt, String vorgangProzessID)
public Vorgang addAttachment(UserContext uc, Vorgang vorgang, Attachment attachment)
Vorgang
.uc
- UserContext
the user context in which the action is to be performed.vorgang
- the Vorgang
, to which the attachment should be added.attachment
- Attachment
the one to add.Vorgang
, to which the attachment was added.public List<Vorgang> getAllByBenutzer(UserContext uc, Benutzer benutzer)
Vorgang
s associated with the Benutzer
. The Vorgang
are
determined by the BenutzerGruppe
and its Postfach
.uc
- UserContext
the user context in which the action is to be performed.benutzer
- Benutzer
, which is assigned to the processes.List
of Vorgang
public List<Vorgang> getAllByPostfach(UserContext uc, Postfach postfach)
uc
- UserContext
the user context in which the action is to be performed.postfach
- Postfach
, whose processes are to be determined.List
of Vorgang
.public List<ExtendedEntityModel<Vorgang>> getVorgaengeData(UserContext uc, Projekt project, Postfach inbox, de.xima.cmn.criteria.QueryCriteriaManager qcm, EProjectSpecificDBTable tableType)
uc
- UserContext
the user context in which the action is to be performed.project
- the Projekt
the processes are assigned.inbox
- the Postfach
in which the processes lie.qcm
- QueryCriteriaManager
with specific filter parameters.tableType
- EProjectSpecificDBTable
specifies from which table the data should be determined. EProjectSpecificDBTable.DATA_INBOX
table type is selected, the inbox parameter can be set to
null
.List
with generic objects of process data.public List<ExtendedEntityModel<Vorgang>> getVorgaengeData(UserContext uc, Projekt project, de.xima.cmn.criteria.QueryCriteriaManager qcm, EProjectSpecificDBTable tableType, Postfach... inboxes)
uc
- UserContext
the user context in which the action is to be performed.project
- the Projekt
the processes are assigned.inboxes
- the array of Postfach
in which the processes lie.qcm
- QueryCriteriaManager
with specific filter parameters.tableType
- EProjectSpecificDBTable
specifies from which table the data should be determined. EProjectSpecificDBTable.DATA_INBOX
table type is selected, the inbox parameter can be set to
null
.List
with generic objects of process data.public List<ExtendedEntityModel<Vorgang>> getVorgaengeData(UserContext uc, Projekt project, de.xima.cmn.criteria.QueryCriteriaManager qcm, EProjectSpecificDBTable tableType)
Projekt
.uc
- UserContext
the user context in which the action is to be performed.project
- the Projekt
the processes are assigned.qcm
- QueryCriteriaManager
with specific filter parameters.tableType
- EProjectSpecificDBTable
specifies from which table the data should be determined.List
with generic objects of process data.@Deprecated public List<ExtendedEntityModel<Vorgang>> getVorgaengeData(UserContext uc, Projekt project, de.xima.cmn.criteria.QueryCriteriaManager qcm)
getVorgaengeData(UserContext, Projekt, QueryCriteriaManager, EProjectSpecificDBTable)
uc
- UserContext
the user context in which the action is to be performed.project
- the Projekt
the processes are assigned.qcm
- QueryCriteriaManager
with specific filter parameters.List
with generic objects of process data.@Deprecated public List<ExtendedEntityModel<Vorgang>> getVorgaengeData(UserContext uc, Projekt project, Postfach inbox, de.xima.cmn.criteria.QueryCriteriaManager qcm)
getVorgaengeData(UserContext, Projekt, Postfach, QueryCriteriaManager, EProjectSpecificDBTable)
uc
- UserContext
the user context in which the action is to be performed.project
- the Projekt
the processes are assigned.inbox
- the Postfach
in which the processes lie.qcm
- QueryCriteriaManager
with specific filter parameters.List
with generic objects of process data.public ExtendedEntityModel<Vorgang> getVorgangsData(UserContext uc, String prozessId, de.xima.cmn.criteria.QueryCriteriaManager qcm, EProjectSpecificDBTable tableType)
Vorgang
by a process ID.uc
- UserContext
the user context in which the action is to be performed.prozessId
- String
the process ID of the process which data should be loaded.qcm
- QueryCriteriaManager
with specific filter parameters.tableType
- EProjectSpecificDBTable
specifies from which table the data should be determined.@Deprecated public ExtendedEntityModel<Vorgang> getVorgangsData(UserContext uc, String prozessId, de.xima.cmn.criteria.QueryCriteriaManager qcm)
uc
- UserContext
the user context in which the action is to be performed.prozessId
- String
the process ID of the process whose data is to be loaded.qcm
- QueryCriteriaManager
with specific filter parameters.public ExtendedEntityModel<Vorgang> getVorgangsData(UserContext uc, Projekt project, Vorgang v, de.xima.cmn.criteria.QueryCriteriaManager qcm, EProjectSpecificDBTable tableType)
uc
- UserContext
the user context in which the action is to be performed.project
- the Projekt
to which the process belongs.v
- the Vorgang
whose data is to be determined.qcm
- QueryCriteriaManager
with specific filter parameters.tableType
- EProjectSpecificDBTable
specifies from which table the data should be determined.null
.@Deprecated public ExtendedEntityModel<Vorgang> getVorgangsData(UserContext uc, Projekt project, Vorgang v, de.xima.cmn.criteria.QueryCriteriaManager qcm)
getVorgangsData(UserContext, Projekt, Vorgang, QueryCriteriaManager, EProjectSpecificDBTable)
uc
- UserContext
the user context in which the action is to be performed.project
- the Projekt
to which the process belongs.v
- the Vorgang
whose data is to be determined.qcm
- QueryCriteriaManager
with specific filter parameters.null
.public long getVorgaengeDataTotalCount(UserContext uc, Projekt project, Postfach inbox, de.xima.cmn.criteria.QueryCriteriaManager qcm, EProjectSpecificDBTable tableType)
Projekt
and a
Postfach
.uc
- UserContext
the user context in which the action is to be performed.project
- the Projekt
to which the processes belongs.inbox
- the Postfach
in which the processes lie.qcm
- QueryCriteriaManager
with specific filter parameters.tableType
- EProjectSpecificDBTable
specifies from which table the data should be determined. EProjectSpecificDBTable.DATA_INBOX
table type is selected, the inbox parameter can be set to
null
.public long getVorgaengeDataTotalCount(UserContext uc, Projekt project, de.xima.cmn.criteria.QueryCriteriaManager qcm, EProjectSpecificDBTable tableType, Postfach... inboxes)
Projekt
and a
Postfach
.uc
- UserContext
the user context in which the action is to be performed.project
- the Projekt
to which the processes belongs.inboxes
- the array of Postfach
in which the processes lie.qcm
- QueryCriteriaManager
with specific filter parameters.tableType
- EProjectSpecificDBTable
specifies from which table the data should be determined. EProjectSpecificDBTable.DATA_INBOX
table type is selected, the inbox parameter can be set to
null
.public long getVorgaengeDataTotalCount(UserContext uc, Projekt project, de.xima.cmn.criteria.QueryCriteriaManager qcm, EProjectSpecificDBTable tableType)
Projekt
.uc
- UserContext
the user context in which the action is to be performed.project
- the Projekt
to which the processes belongs.qcm
- QueryCriteriaManager
with specific filter parameters.tableType
- EProjectSpecificDBTable
specifies from which table the data should be determined.@Deprecated public long getVorgaengeDataTotalCount(UserContext uc, Projekt project, de.xima.cmn.criteria.QueryCriteriaManager qcm)
getVorgaengeDataTotalCount(UserContext, Projekt, QueryCriteriaManager, EProjectSpecificDBTable)
uc
- UserContext
the user context in which the action is to be performed.project
- the Projekt
to which the processes belongs.qcm
- QueryCriteriaManager
with specific filter parameters.@Deprecated public long getVorgaengeDataTotalCount(UserContext uc, Projekt project, Postfach inbox, de.xima.cmn.criteria.QueryCriteriaManager qcm)
getVorgaengeDataTotalCount(UserContext, Projekt, Postfach, QueryCriteriaManager, EProjectSpecificDBTable)
uc
- UserContext
the user context in which the action is to be performed.project
- the Projekt
to which the processes belongs.inbox
- the Postfach
in which the processes lie.qcm
- QueryCriteriaManager
with specific filter parameters. If the
EProjectSpecificDBTable.DATA_INBOX
table type is selected, the inbox parameter can be set to
null
.public Map<String,String> getCustomAttributes(UserContext uc, Vorgang v)
Vorgang
.uc
- UserContext
the user context in which the action is to be performed.v
- Vorgang
, whose custom attributes are to be determined.Map
with elements.public int bulkMarkRead(UserContext uc, List<Long> formRecordIds, boolean read)
uc
- UserContext
to be usedformRecordIds
- List
of IDs of the form records to updateread
- Boolean
value to set the attribute 'gelesen' topublic int bulkDelete(UserContext uc, List<Long> formRecordIds)
uc
- UserContext
to be usedformRecordIds
- List
of form record IDspublic Vorgang correctStatus(UserContext uc, Vorgang formRecord, Status targetState, Benutzer user)
Copyright © 2021 XIMA MEDIA GmbH. All rights reserved.