Class OutputTemplateLayoutSynchronisationService
java.lang.Object
ch.tocco.nice2.synchronisation.api.AbstractSynchronisationService<OutputTemplateLayoutDescription>
ch.tocco.nice2.reporting.impl.sync.outputtemplatelayout.OutputTemplateLayoutSynchronisationService
- All Implemented Interfaces:
SynchronisationService<OutputTemplateLayoutDescription>
@Component
@Order(200)
public class OutputTemplateLayoutSynchronisationService
extends AbstractSynchronisationService<OutputTemplateLayoutDescription>
-
Field Summary
-
Constructor Summary
ConstructorDescriptionOutputTemplateLayoutSynchronisationService
(Context context, QueryBuilderFactory queryBuilderFactory, TextResources textResources, EntityDefaultValueService entityDefaultValueService, OutputTemplateLayoutDescriptionProvider descriptionProvider) -
Method Summary
Modifier and TypeMethodDescriptioncreateEntity
(OutputTemplateLayoutDescription description) creates and entity using the given descriptionvoid
initialiseEntity
(Entity outputTemplateLayout, OutputTemplateLayoutDescription description) Initialises an entity using the given description.retrieve all available descriptionsretrieves all external entitiesretrieveDescription
(String uniqueId) retrieve a description using an identifierretrieveEntity
(OutputTemplateLayoutDescription description) retrieves the entity for a given descriptionvoid
updateEntity
(Entity outputTemplateLayout, OutputTemplateLayoutDescription description) updates the entity using the given descriptionMethods inherited from class ch.tocco.nice2.synchronisation.api.AbstractSynchronisationService
getEdited, getExternal, resetEntity, retrieveIdentifier, setEdited, setExternal, synchronize
-
Field Details
-
ORDER
public static final int ORDER- See Also:
-
-
Constructor Details
-
OutputTemplateLayoutSynchronisationService
public OutputTemplateLayoutSynchronisationService(Context context, QueryBuilderFactory queryBuilderFactory, TextResources textResources, EntityDefaultValueService entityDefaultValueService, OutputTemplateLayoutDescriptionProvider descriptionProvider)
-
-
Method Details
-
getEntityName
-
retrieveEntity
Description copied from interface:SynchronisationService
retrieves the entity for a given description -
retrieveAllExternalEntities
Description copied from interface:SynchronisationService
retrieves all external entities -
retrieveDescription
Description copied from interface:SynchronisationService
retrieve a description using an identifier -
retrieveAllDescriptions
Description copied from interface:SynchronisationService
retrieve all available descriptions -
createEntity
Description copied from interface:SynchronisationService
creates and entity using the given description -
initialiseEntity
public void initialiseEntity(Entity outputTemplateLayout, OutputTemplateLayoutDescription description) Description copied from interface:SynchronisationService
Initialises an entity using the given description. This method sets fields that may be edited without breaking synchronisation. It is called when creating or reseting an entity. -
updateEntity
Description copied from interface:SynchronisationService
updates the entity using the given description
-