com.jalios.jcms.widget
Interface TreeCatJSONInterface

All Known Implementing Classes:
TreeCat

public interface TreeCatJSONInterface

This interface is a JSON Wrapper to declare only useable method to AJAX calls.

Since:
jcms-5.7.1
Version:
$Revision: 19638 $
Author:
Jean-Philippe Encausse
See Also:
TreeCat

Field Summary
static String REVISION
           
 
Method Summary
 String addCat(Category parent, String name)
           
 String addSiblingCat(String catId, String name)
           
 String addSubCat(String catId, String name)
           
 String getChildren(String parentId)
           
 String getChildren(String[] checked, String[] opened)
           
 String remove(String catId)
           
 String rename(String catId, String value)
           
 String setParent(String catId, String parentId)
           
 

Field Detail

REVISION

static final String REVISION
See Also:
Constant Field Values
Method Detail

getChildren

String getChildren(String parentId)
See Also:
TreeCat.getChildren(String)

getChildren

String getChildren(String[] checked,
                   String[] opened)
See Also:
TreeCat.getChildren(String[], String[])

rename

String rename(String catId,
              String value)
See Also:
TreeCat.rename(String, String)

addSubCat

String addSubCat(String catId,
                 String name)
See Also:
TreeCat.addSubCat(String, String)

addSiblingCat

String addSiblingCat(String catId,
                     String name)
See Also:
TreeCat.addSiblingCat(String, String)

addCat

String addCat(Category parent,
              String name)
See Also:
TreeCat.addCat(Category, String)

remove

String remove(String catId)
See Also:
TreeCat.remove(String)

setParent

String setParent(String catId,
                 String parentId)
See Also:
TreeCat.setParent(String, String)


Copyright © 2001-2010 Jalios SA. All Rights Reserved.