org.drools.guvnor.server
Class RepositoryCategoryOperations

java.lang.Object
  extended by org.drools.guvnor.server.RepositoryCategoryOperations

@Name(value="org.drools.guvnor.server.RepositoryCategoryOperations")
@AutoCreate
public class RepositoryCategoryOperations
extends Object


Constructor Summary
RepositoryCategoryOperations()
           
 
Method Summary
protected  Boolean createCategory(String path, String name, String description)
           
 RulesRepository getRulesRepository()
           
protected  String[] loadChildCategories(String categoryPath)
           
protected  PageResponse<CategoryPageRow> loadRuleListForCategories(CategoryPageRequest request)
           
protected  TableDataResult loadRuleListForCategories(String categoryPath, int skip, int numRows, String tableConfig)
          Deprecated. in favour of loadRuleListForCategories(CategoryPageRequest)
protected  void removeCategory(String categoryPath)
           
protected  void renameCategory(String fullPathAndName, String newName)
           
 void setRulesRepository(RulesRepository repository)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RepositoryCategoryOperations

public RepositoryCategoryOperations()
Method Detail

setRulesRepository

public void setRulesRepository(RulesRepository repository)

getRulesRepository

public RulesRepository getRulesRepository()

loadChildCategories

protected String[] loadChildCategories(String categoryPath)

createCategory

protected Boolean createCategory(String path,
                                 String name,
                                 String description)

renameCategory

protected void renameCategory(String fullPathAndName,
                              String newName)

loadRuleListForCategories

protected TableDataResult loadRuleListForCategories(String categoryPath,
                                                    int skip,
                                                    int numRows,
                                                    String tableConfig)
                                             throws com.google.gwt.user.client.rpc.SerializationException
Deprecated. in favour of loadRuleListForCategories(CategoryPageRequest)

loadRuleListForCategories

Throws:
com.google.gwt.user.client.rpc.SerializationException

loadRuleListForCategories

protected PageResponse<CategoryPageRow> loadRuleListForCategories(CategoryPageRequest request)

removeCategory

protected void removeCategory(String categoryPath)
                       throws com.google.gwt.user.client.rpc.SerializationException
Throws:
com.google.gwt.user.client.rpc.SerializationException


Copyright © 2001-2011 JBoss Inc.. All Rights Reserved.