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 SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionLabelFormatSynchronisationService(Context context, QueryBuilderFactory queryBuilderFactory, EntityDefaultValueService defaultValueService) 
- 
Method SummaryModifier 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 ch.tocco.nice2.synchronisation.api.AbstractSynchronisationServicegetEdited, getExternal, resetEntity, retrieveIdentifier, setEdited, setExternal, synchronize
- 
Field Details- 
ORDERpublic static final int ORDER- See Also:
 
 
- 
- 
Constructor Details- 
LabelFormatSynchronisationServicepublic LabelFormatSynchronisationService(Context context, QueryBuilderFactory queryBuilderFactory, EntityDefaultValueService defaultValueService) 
 
- 
- 
Method Details- 
getEntityName
- 
setFormatsFile
- 
setFormatContributions
- 
retrieveEntityDescription copied from interface:SynchronisationServiceretrieves the entity for a given description
- 
retrieveAllExternalEntitiesDescription copied from interface:SynchronisationServiceretrieves all external entities
- 
retrieveDescriptionDescription copied from interface:SynchronisationServiceretrieve a description using an identifier
- 
retrieveAllDescriptionsDescription copied from interface:SynchronisationServiceretrieve all available descriptions
- 
createEntityDescription copied from interface:SynchronisationServicecreates and entity using the given description
- 
initialiseEntityDescription 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.
- 
updateEntityDescription copied from interface:SynchronisationServiceupdates the entity using the given description
 
-