Package org.imixs.workflow.datev.imports
Class DatevService
java.lang.Object
org.imixs.workflow.datev.imports.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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.imixs.workflow.ItemCollectionloadConfiguration(String name) Loads the scheduler configuration entity by name.org.imixs.workflow.ItemCollectionsaveConfiguration(org.imixs.workflow.ItemCollection configuration) This method saves the scheduler configuration.
-
Field Details
-
IMPORT_ERROR
- See Also:
-
DOCUMENT_TYPE
- See Also:
-
-
Constructor Details
-
DatevService
public DatevService()
-
-
Method Details
-
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
-