Package fr.becpg.repo.expressions.impl
Class ExpressionServiceImpl
java.lang.Object
fr.becpg.repo.expressions.impl.ExpressionServiceImpl
- All Implemented Interfaces:
ExpressionService
@Service("expressionService")
public class ExpressionServiceImpl
extends Object
implements ExpressionService
ExpressionServiceImpl class.
- Version:
- $Id: $Id
- Author:
- matthieu
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate AssociationServiceprivate AttributeExtractorServiceprivate static final Stringprivate EntityDictionaryServiceprivate static final Stringprivate static final Patternprivate org.apache.commons.logging.Logprivate static final Stringprotected org.alfresco.service.cmr.repository.NodeServiceprotected org.alfresco.service.namespace.NamespaceServiceprotected org.alfresco.service.cmr.repository.NodeServiceprivate org.alfresco.service.cmr.repository.ScriptServiceprivate org.alfresco.service.ServiceRegistryprivate SpelFormulaServiceprivate static final Pattern -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioneval.<T extends RepositoryEntity>
Objecteval.extractExpr(org.alfresco.service.cmr.repository.NodeRef nodeRef, String exprFormat) extractExpr.extractExpr(org.alfresco.service.cmr.repository.NodeRef nodeRef, org.alfresco.service.cmr.repository.NodeRef docNodeRef, String exprFormat) extractExpr.extractExpr(org.json.JSONObject object, String exprFormat) extractExpr.private StringextractPropText(org.alfresco.service.cmr.repository.NodeRef nodeRef, String propQname) private StringextractPropText(org.alfresco.service.cmr.repository.NodeRef nodeRef, org.alfresco.service.cmr.repository.NodeRef docNodeRef, String propQname) private StringextractPropText(org.json.JSONObject object, String propQname)
-
Field Details
-
logger
private org.apache.commons.logging.Log logger -
jsPattern
-
spelPattern
-
DEBUG_MESG
- See Also:
-
HELPER_JS
- See Also:
-
scriptService
@Autowired private org.alfresco.service.cmr.repository.ScriptService scriptService -
serviceRegistry
@Autowired private org.alfresco.service.ServiceRegistry serviceRegistry -
spelFormulaService
-
ML_PREFIX
- See Also:
-
nodeService
@Autowired protected org.alfresco.service.cmr.repository.NodeService nodeService -
mlNodeService
@Autowired @Qualifier("mlAwareNodeService") protected org.alfresco.service.cmr.repository.NodeService mlNodeService -
namespaceService
@Autowired protected org.alfresco.service.namespace.NamespaceService namespaceService -
dictionaryService
-
associationService
-
attributeExtractorService
-
-
Constructor Details
-
ExpressionServiceImpl
public ExpressionServiceImpl()
-
-
Method Details
-
extractExpr
extractExpr.
- Specified by:
extractExprin interfaceExpressionService- Parameters:
nodeRef- aNodeRefobjectexprFormat- aStringobject- Returns:
- a
Stringobject
-
extractExpr
public String extractExpr(org.alfresco.service.cmr.repository.NodeRef nodeRef, org.alfresco.service.cmr.repository.NodeRef docNodeRef, String exprFormat) extractExpr.
- Specified by:
extractExprin interfaceExpressionService- Parameters:
nodeRef- aNodeRefobjectdocNodeRef- aNodeRefobjectexprFormat- aStringobject- Returns:
- a
Stringobject
-
extractPropText
-
extractPropText
-
extractExpr
extractExpr.
- Specified by:
extractExprin interfaceExpressionService- Parameters:
object- aJSONObjectobjectexprFormat- aStringobject- Returns:
- a
Stringobject
-
extractPropText
-
eval
eval.
- Specified by:
evalin interfaceExpressionService- Type Parameters:
T- a T class- Parameters:
condition- aStringobjectformulatedEntity- a T object- Returns:
- a
Objectobject
-
eval
eval.
- Specified by:
evalin interfaceExpressionService- Parameters:
condition- aStringobjectnodeRefs- aListobject- Returns:
- a
Objectobject
-