it.sistematica.isharedoc.service
Class DocumentRecordServiceImpl
java.lang.Object
it.sistematica.isharedoc.service.DocumentRecordServiceImpl
- All Implemented Interfaces:
- DocumentRecordService
@Service(value="documentRecordService")
public class DocumentRecordServiceImpl
- extends java.lang.Object
- implements DocumentRecordService
Field Summary |
(package private) it.neverworks.data.EntityManager |
entities
|
(package private) it.neverworks.scripting.PythonEnvironment |
pythonEnvironment
|
(package private) org.hibernate.SessionFactory |
sessionFactory
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
entities
it.neverworks.data.EntityManager entities
pythonEnvironment
it.neverworks.scripting.PythonEnvironment pythonEnvironment
sessionFactory
org.hibernate.SessionFactory sessionFactory
DocumentRecordServiceImpl
public DocumentRecordServiceImpl()
createSequence
@Transactional
public DocumentSequence createSequence(java.lang.String sequenceDefinitionName,
int year)
- Description copied from interface:
DocumentRecordService
- Creates the sequence.
- Specified by:
createSequence
in interface DocumentRecordService
- Parameters:
sequenceDefinitionName
- the sequence definition nameyear
- the year
- Returns:
- the document sequence
getCurrentSequence
@Transactional
public DocumentSequence getCurrentSequence(java.lang.String sequenceDefinitionName)
- Description copied from interface:
DocumentRecordService
- Gets the current sequence.
- Specified by:
getCurrentSequence
in interface DocumentRecordService
- Parameters:
sequenceDefinitionName
- the sequence definition name
- Returns:
- the current sequence
incrementSequence
@Transactional
public java.lang.String incrementSequence(java.lang.String sequenceDefinitionName)
- Description copied from interface:
DocumentRecordService
- Increment sequence.
- Specified by:
incrementSequence
in interface DocumentRecordService
- Parameters:
sequenceDefinitionName
- the sequence definition name
- Returns:
- the string