Package org.imixs.workflow.datev
Class DatevService
java.lang.Object
org.imixs.workflow.datev.DatevService
@DeclareRoles({"org.imixs.ACCESSLEVEL.NOACCESS","org.imixs.ACCESSLEVEL.READERACCESS","org.imixs.ACCESSLEVEL.AUTHORACCESS","org.imixs.ACCESSLEVEL.EDITORACCESS","org.imixs.ACCESSLEVEL.MANAGERACCESS"})
@RolesAllowed({"org.imixs.ACCESSLEVEL.NOACCESS","org.imixs.ACCESSLEVEL.READERACCESS","org.imixs.ACCESSLEVEL.AUTHORACCESS","org.imixs.ACCESSLEVEL.EDITORACCESS","org.imixs.ACCESSLEVEL.MANAGERACCESS"})
public class DatevService
extends Object
This Service provides methods to read and save the DATEV configuration
- Author:
- rsoika
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncomputeKey(org.imixs.workflow.ItemCollection workitem, String datevClientID) Helper Method to compute the DATEV grouping key (MandantID+Buchungsperiode)org.imixs.workflow.ItemCollectionLoads the scheduler configuration entity by name.org.imixs.workflow.ItemCollectionsaveConfiguration(org.imixs.workflow.ItemCollection configuration) This method saves the scheduler configuration.
-
Field Details
-
DOCUMENT_TYPE
- See Also:
-
ITEM_DATEV_KONTENLAENGE
- See Also:
-
ITEM_DATEV_CLIENT_ID
- See Also:
-
ITEM_DATEV_CLIENT_NAME
- See Also:
-
ITEM_DATEV_BOOKING_PERIOD
- See Also:
-
ITEM_DATEV_CONSULTANT_ID
- See Also:
-
ITEM_DATEV_FISCAL_START
- See Also:
-
ITEM_DATEV_BETRAG
- See Also:
-
ITEM_DATEV_BELEGDATUM
- See Also:
-
ITEM_DATEV_BELEGFELD1
- See Also:
-
ITEM_DATEV_KONTO
- See Also:
-
ITEM_DATEV_GEGENKONTO
- See Also:
-
ITEM_DATEV_BUSCHLUESSEL
- See Also:
-
ITEM_DATEV_BOOKING_LIST
- See Also:
-
DATEV_CONFIGURATION
- See Also:
-
-
Constructor Details
-
DatevService
public DatevService()
-
-
Method Details
-
loadConfiguration
public org.imixs.workflow.ItemCollection loadConfiguration()Loads the scheduler configuration entity by name. The method returns null if no scheduler configuration exits.- Returns:
-
saveConfiguration
public org.imixs.workflow.ItemCollection saveConfiguration(org.imixs.workflow.ItemCollection configuration) This method saves the scheduler configuration. The method ensures that the following properties are set to default.- type
- name
- $writeAccess
- $readAccess
- Returns:
- Throws:
org.imixs.workflow.exceptions.AccessDeniedException
-
computeKey
public String computeKey(org.imixs.workflow.ItemCollection workitem, String datevClientID) throws org.imixs.workflow.exceptions.PluginException Helper Method to compute the DATEV grouping key (MandantID+Buchungsperiode)- Returns:
- Throws:
org.imixs.workflow.exceptions.PluginException
-