Class ExternalTemplateCustomDataProvider

java.lang.Object
ch.tocco.nice2.optional.cms.impl.template.ExternalTemplateCustomDataProvider
All Implemented Interfaces:
CustomDataProvider

@Component public class ExternalTemplateCustomDataProvider extends Object implements CustomDataProvider
This custom providers provides understandable information about the origin of a template and whether it is synchronized with the external source (if there is one) or not. There are 4 possibilities: - The template has not been imported from an external source (in this case "edited" is always false and doesn't matter) - The template has been imported from an external source, but the "edited" flag is not readable (this is the case for system templates) - The template has been imported and edited - The template has been imported and not edited