Package fr.becpg.repo.formulation.spel
Class BeCPGSpelFunctions
java.lang.Object
fr.becpg.repo.formulation.spel.BeCPGSpelFunctions
- All Implemented Interfaces:
CustomSpelFunctions
Register custom beCPG SPEL helper accessible with
@beCPG.- Version:
- $Id: $Id
- Author:
- matthieu
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate AlfrescoRepository<RepositoryEntity>private AssociationServiceprivate AttributeExtractorServiceprivate EntityDictionaryServiceprivate EntityListDAOprivate SpelFormulaServiceprivate static final org.apache.commons.logging.Logprivate org.alfresco.service.namespace.NamespaceServiceprivate org.alfresco.service.cmr.repository.NodeServiceprivate org.alfresco.service.cmr.repository.ScriptService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(RepositoryEntity repositoryEntity) create.booleanmatch.
-
Field Details
-
logger
private static final org.apache.commons.logging.Log logger -
repositoryEntityDefReader
-
entityDictionaryService
-
nodeService
@Autowired private org.alfresco.service.cmr.repository.NodeService nodeService -
namespaceService
@Autowired private org.alfresco.service.namespace.NamespaceService namespaceService -
associationService
-
entityListDAO
-
scriptService
@Autowired private org.alfresco.service.cmr.repository.ScriptService scriptService -
alfrescoRepository
-
formulaService
-
attributeExtractorService
-
-
Constructor Details
-
BeCPGSpelFunctions
public BeCPGSpelFunctions()
-
-
Method Details
-
match
match.
- Specified by:
matchin interfaceCustomSpelFunctions- Parameters:
beanName- aStringobject.- Returns:
- a boolean.
-
create
create.
- Specified by:
createin interfaceCustomSpelFunctions- Parameters:
repositoryEntity- aRepositoryEntityobject.- Returns:
- a
Objectobject.
-