org.exoplatform.services.workflow.impl.bonita
Class JCRFileDefinitionServiceImpl

java.lang.Object
  extended by org.exoplatform.services.workflow.impl.bonita.JCRFileDefinitionServiceImpl
All Implemented Interfaces:
WorkflowFileDefinitionService

public class JCRFileDefinitionServiceImpl
extends java.lang.Object
implements WorkflowFileDefinitionService

Created by Bull R&D

Author:
Silani Patrick E-mail: patrick.silani@gmail.com May 29, 2006

Field Summary
static java.lang.String ECM_BUSINESS_PROCESSES_PATH
          Property that identify the path in the JCR
 
Constructor Summary
JCRFileDefinitionServiceImpl(org.exoplatform.services.jcr.ext.hierarchy.NodeHierarchyCreator nodeHierarchyCreator)
          Instantiates a new JCRFileDefinitionServiceImpl.
 
Method Summary
static javax.jcr.Node makePath(javax.jcr.Node rootNode, java.lang.String path, java.lang.String nodetype)
           
static javax.jcr.Node makePath(javax.jcr.Node rootNode, java.lang.String path, java.lang.String nodetype, java.util.Map permissions)
           
 void remove(java.lang.String processId)
           
 void removeFromCache(java.lang.String processId)
           
 FileDefinition retrieve(java.lang.String processId)
           
 void store(FileDefinition fileDefinition, java.lang.String processId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ECM_BUSINESS_PROCESSES_PATH

public static final java.lang.String ECM_BUSINESS_PROCESSES_PATH
Property that identify the path in the JCR

See Also:
Constant Field Values
Constructor Detail

JCRFileDefinitionServiceImpl

public JCRFileDefinitionServiceImpl(org.exoplatform.services.jcr.ext.hierarchy.NodeHierarchyCreator nodeHierarchyCreator)
Instantiates a new JCRFileDefinitionServiceImpl. Caches a reference to the cmsConfiguration service.

Parameters:
CmsConfiguration - reference to the Cms Configuration Manager
Method Detail

makePath

public static javax.jcr.Node makePath(javax.jcr.Node rootNode,
                                      java.lang.String path,
                                      java.lang.String nodetype)
                               throws javax.jcr.PathNotFoundException,
                                      javax.jcr.RepositoryException
Throws:
javax.jcr.PathNotFoundException
javax.jcr.RepositoryException

makePath

public static javax.jcr.Node makePath(javax.jcr.Node rootNode,
                                      java.lang.String path,
                                      java.lang.String nodetype,
                                      java.util.Map permissions)
                               throws javax.jcr.PathNotFoundException,
                                      javax.jcr.RepositoryException
Throws:
javax.jcr.PathNotFoundException
javax.jcr.RepositoryException

remove

public void remove(java.lang.String processId)
Specified by:
remove in interface WorkflowFileDefinitionService

removeFromCache

public void removeFromCache(java.lang.String processId)
Specified by:
removeFromCache in interface WorkflowFileDefinitionService

retrieve

public FileDefinition retrieve(java.lang.String processId)
Specified by:
retrieve in interface WorkflowFileDefinitionService

store

public void store(FileDefinition fileDefinition,
                  java.lang.String processId)
Specified by:
store in interface WorkflowFileDefinitionService


Copyright © 2013 eXo Platform SAS. All Rights Reserved.