Class LabelFormatSynchronisationService
java.lang.Object
ch.tocco.nice2.synchronisation.api.AbstractSynchronisationService<LabelFormatSynchronisationDescription>
ch.tocco.nice2.reporting.impl.sync.labelformat.LabelFormatSynchronisationService
- All Implemented Interfaces:
SynchronisationService<LabelFormatSynchronisationDescription>
@Component
@Order(0)
public class LabelFormatSynchronisationService
extends AbstractSynchronisationService<LabelFormatSynchronisationDescription>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLabelFormatSynchronisationService(Context context, QueryBuilderFactory queryBuilderFactory, EntityDefaultValueService defaultValueService) -
Method Summary
Modifier and TypeMethodDescriptioncreateEntity(LabelFormatSynchronisationDescription description) creates and entity using the given descriptionvoidinitialiseEntity(Entity labelFormat, LabelFormatSynchronisationDescription description) Initialises an entity using the given description.retrieve all available descriptionsretrieves all external entitiesretrieveDescription(String identifier) retrieve a description using an identifierretrieveEntity(LabelFormatSynchronisationDescription description) retrieves the entity for a given descriptionvoidsetFormatContributions(List<LabelFormatContribution> formatContributions) voidsetFormatsFile(ModelResource formatsFile) voidupdateEntity(Entity labelFormat, LabelFormatSynchronisationDescription description) updates the entity using the given descriptionMethods inherited from class AbstractSynchronisationService
getEdited, getExternal, resetEntity, retrieveIdentifier, setEdited, setExternal, synchronize
-
Field Details
-
ORDER
public static final int ORDER- See Also:
-
-
Constructor Details
-
LabelFormatSynchronisationService
public LabelFormatSynchronisationService(Context context, QueryBuilderFactory queryBuilderFactory, EntityDefaultValueService defaultValueService)
-
-
Method Details
-
getEntityName
-
setFormatsFile
-
setFormatContributions
-
retrieveEntity
Description copied from interface:SynchronisationServiceretrieves the entity for a given description -
retrieveAllExternalEntities
Description copied from interface:SynchronisationServiceretrieves all external entities -
retrieveDescription
Description copied from interface:SynchronisationServiceretrieve a description using an identifier -
retrieveAllDescriptions
Description copied from interface:SynchronisationServiceretrieve all available descriptions -
createEntity
Description copied from interface:SynchronisationServicecreates and entity using the given description -
initialiseEntity
Description copied from interface:SynchronisationServiceInitialises 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:SynchronisationServiceupdates the entity using the given description
-