net.sf.jabb.util.bean.jstree
Class JsTreeRequest

java.lang.Object
  extended by net.sf.jabb.util.bean.jstree.JsTreeRequest

public class JsTreeRequest
extends Object

This class encapsulates json_data request from jsTree.

Author:
James Hu

Field Summary
protected  String id
          for getChildren, removeNode, renameNode, moveNode
protected  boolean isCopy
          for moveNode
protected  boolean isRoot
          for getChildren
protected  String language
          for rename
static String OP_CREATE_NODE
           
static String OP_GET_CHILDREN
           
static String OP_MOVE_NODE
           
static String OP_REMOVE_NODE
           
static String OP_RENAME_NODE
           
static String OP_SEARCH
           
protected  String operation
           
protected  int position
          for createNode, moveNode
protected  String referenceId
          for createNode, moveNode
protected  String searchString
          for search
protected  String title
          for createNode, renameNode
protected  String type
          for createNode
 
Constructor Summary
JsTreeRequest()
           
 
Method Summary
 String getId()
           
 boolean getIsCopy()
           
 boolean getIsRoot()
           
 String getLanguage()
           
 String getOperation()
           
 int getPosition()
           
 String getReferenceId()
           
 String getSearchString()
           
 String getTitle()
           
 String getType()
           
 boolean isCopy()
           
 boolean isRoot()
           
 void setCopy(boolean isCopy)
           
 void setId(String id)
           
 void setIsCopy(boolean isCopy)
           
 void setIsRoot(boolean isRoot)
           
 void setLanguage(String language)
           
 void setOperation(String operation)
           
 void setPosition(int position)
           
 void setReferenceId(String referenceId)
           
 void setRoot(boolean isRoot)
           
 void setSearchString(String searchString)
           
 void setTitle(String title)
           
 void setType(String type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OP_GET_CHILDREN

public static final String OP_GET_CHILDREN
See Also:
Constant Field Values

OP_CREATE_NODE

public static final String OP_CREATE_NODE
See Also:
Constant Field Values

OP_REMOVE_NODE

public static final String OP_REMOVE_NODE
See Also:
Constant Field Values

OP_RENAME_NODE

public static final String OP_RENAME_NODE
See Also:
Constant Field Values

OP_MOVE_NODE

public static final String OP_MOVE_NODE
See Also:
Constant Field Values

OP_SEARCH

public static final String OP_SEARCH
See Also:
Constant Field Values

operation

protected String operation

id

protected String id
for getChildren, removeNode, renameNode, moveNode


isRoot

protected boolean isRoot
for getChildren


searchString

protected String searchString
for search


position

protected int position
for createNode, moveNode


title

protected String title
for createNode, renameNode


type

protected String type
for createNode


isCopy

protected boolean isCopy
for moveNode


referenceId

protected String referenceId
for createNode, moveNode


language

protected String language
for rename

Constructor Detail

JsTreeRequest

public JsTreeRequest()
Method Detail

getOperation

public String getOperation()

setOperation

public void setOperation(String operation)

getId

public String getId()

setId

public void setId(String id)

getIsRoot

public boolean getIsRoot()

setIsRoot

public void setIsRoot(boolean isRoot)

isRoot

public boolean isRoot()

setRoot

public void setRoot(boolean isRoot)

getSearchString

public String getSearchString()

setSearchString

public void setSearchString(String searchString)

getPosition

public int getPosition()

setPosition

public void setPosition(int position)

getTitle

public String getTitle()

setTitle

public void setTitle(String title)

getType

public String getType()

setType

public void setType(String type)

isCopy

public boolean isCopy()

setCopy

public void setCopy(boolean isCopy)

getIsCopy

public boolean getIsCopy()

setIsCopy

public void setIsCopy(boolean isCopy)

getReferenceId

public String getReferenceId()

setReferenceId

public void setReferenceId(String referenceId)

getLanguage

public String getLanguage()

setLanguage

public void setLanguage(String language)


Copyright © 2012. All Rights Reserved.