org.pentaho.platform.engine.services.solution
Class SolutionReposHelper

java.lang.Object
  extended by org.pentaho.platform.engine.services.solution.SolutionReposHelper

public class SolutionReposHelper
extends Object


Field Summary
static ISolutionAttributeContributor ADD_NOTHING_CONTRIBUTOR
           
static String BRANCH_NODE_NAME
           
static String BRANCH_TEXT_NODE_NAME
           
static String DIRECTORY_ATTR
           
static String ENTRY_NODE_NAME
           
static String FILE_ATTR
           
static String ID_ATTR_NAME
           
static String IS_DIR_ATTR_NAME
           
static ISolutionFilter KEEP_ALL_FILTER
           
static String LEAF_NODE_NAME
           
static String LEAF_TEXT_NODE_NAME
           
static String LINK_NODE_NAME
           
static String NAME_ATTR_NAME
           
static String PATH_TEXT_NODE_NAME
           
static String TREE_NODE_NAME
           
static String TYPE_ATTR_NAME
           
 
Method Summary
static Document getActionSequences(ISolutionFile targetFile, int actionOperation)
           
static Document getActionSequences(ISolutionFile targetFile, ISolutionAttributeContributor contributor, int actionOperation)
           
static ISolutionRepository getSolutionRepositoryThreadVariable()
           
static boolean ignoreDirectory(String dirName)
           
static boolean ignoreFile(String fileName)
           
static boolean isActionSequence(ISolutionFile solutionFile)
           
static void processSolutionStructure(Element parentNode, ISolutionFile targetFile, int actionOperation)
           
static void processSolutionStructure(Element parentNode, ISolutionFile targetFile, ISolutionFilter solutionFilter, int actionOperation)
           
static void processSolutionStructure(Element parentNode, ISolutionFile targetFile, ISolutionFilter solutionFilter, ISolutionAttributeContributor contributor, int actionOperation)
           
static void processSolutionTree(Element parentNode, ISolutionFile targetFile, int actionOperation)
           
static void processSolutionTree(Element parentNode, ISolutionFile targetFile, ISolutionFilter solutionFilter, int actionOperation)
           
static void processSolutionTree(Element parentNode, ISolutionFile targetFile, ISolutionFilter solutionFilter, ISolutionAttributeContributor contributor, List ignoreDirsList, List ignoreFilesList, int actionOperation)
           
static Document processSolutionTree(ISolutionFile targetFile, int actionOperation)
           
static void setSolutionRepositoryThreadVariable(ISolutionRepository repository)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TREE_NODE_NAME

public static final String TREE_NODE_NAME
See Also:
Constant Field Values

ENTRY_NODE_NAME

public static final String ENTRY_NODE_NAME
See Also:
Constant Field Values

TYPE_ATTR_NAME

public static final String TYPE_ATTR_NAME
See Also:
Constant Field Values

NAME_ATTR_NAME

public static final String NAME_ATTR_NAME
See Also:
Constant Field Values

DIRECTORY_ATTR

public static final String DIRECTORY_ATTR
See Also:
Constant Field Values

FILE_ATTR

public static final String FILE_ATTR
See Also:
Constant Field Values

BRANCH_NODE_NAME

public static final String BRANCH_NODE_NAME
See Also:
Constant Field Values

BRANCH_TEXT_NODE_NAME

public static final String BRANCH_TEXT_NODE_NAME
See Also:
Constant Field Values

ID_ATTR_NAME

public static final String ID_ATTR_NAME
See Also:
Constant Field Values

IS_DIR_ATTR_NAME

public static final String IS_DIR_ATTR_NAME
See Also:
Constant Field Values

LEAF_NODE_NAME

public static final String LEAF_NODE_NAME
See Also:
Constant Field Values

LEAF_TEXT_NODE_NAME

public static final String LEAF_TEXT_NODE_NAME
See Also:
Constant Field Values

LINK_NODE_NAME

public static final String LINK_NODE_NAME
See Also:
Constant Field Values

PATH_TEXT_NODE_NAME

public static final String PATH_TEXT_NODE_NAME
See Also:
Constant Field Values

KEEP_ALL_FILTER

public static final ISolutionFilter KEEP_ALL_FILTER

ADD_NOTHING_CONTRIBUTOR

public static final ISolutionAttributeContributor ADD_NOTHING_CONTRIBUTOR
Method Detail

ignoreFile

public static boolean ignoreFile(String fileName)

ignoreDirectory

public static boolean ignoreDirectory(String dirName)

isActionSequence

public static boolean isActionSequence(ISolutionFile solutionFile)

getActionSequences

public static Document getActionSequences(ISolutionFile targetFile,
                                          int actionOperation)

getActionSequences

public static Document getActionSequences(ISolutionFile targetFile,
                                          ISolutionAttributeContributor contributor,
                                          int actionOperation)

processSolutionTree

public static Document processSolutionTree(ISolutionFile targetFile,
                                           int actionOperation)

processSolutionTree

public static void processSolutionTree(Element parentNode,
                                       ISolutionFile targetFile,
                                       int actionOperation)

processSolutionStructure

public static void processSolutionStructure(Element parentNode,
                                            ISolutionFile targetFile,
                                            int actionOperation)

processSolutionTree

public static void processSolutionTree(Element parentNode,
                                       ISolutionFile targetFile,
                                       ISolutionFilter solutionFilter,
                                       int actionOperation)

processSolutionTree

public static void processSolutionTree(Element parentNode,
                                       ISolutionFile targetFile,
                                       ISolutionFilter solutionFilter,
                                       ISolutionAttributeContributor contributor,
                                       List ignoreDirsList,
                                       List ignoreFilesList,
                                       int actionOperation)

setSolutionRepositoryThreadVariable

public static void setSolutionRepositoryThreadVariable(ISolutionRepository repository)

getSolutionRepositoryThreadVariable

public static ISolutionRepository getSolutionRepositoryThreadVariable()

processSolutionStructure

public static void processSolutionStructure(Element parentNode,
                                            ISolutionFile targetFile,
                                            ISolutionFilter solutionFilter,
                                            int actionOperation)

processSolutionStructure

public static void processSolutionStructure(Element parentNode,
                                            ISolutionFile targetFile,
                                            ISolutionFilter solutionFilter,
                                            ISolutionAttributeContributor contributor,
                                            int actionOperation)