org.exoplatform.wiki.rendering.macro.children
Class ChildrenMacroParameters
java.lang.Object
org.exoplatform.wiki.rendering.macro.children.ChildrenMacroParameters
public class ChildrenMacroParameters
- extends Object
Created by The eXo Platform SAS
Author : Lai Trung Hieu
hieu.lai@exoplatform.com
Jan 06, 2011
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChildrenMacroParameters
public ChildrenMacroParameters()
isDescendant
public boolean isDescendant()
- Returns:
- the value allow show descendant or not
setDescendant
public void setDescendant(boolean descendant)
- Parameters:
descendant - the value show descendant to set
getParent
public String getParent()
- Returns:
- parent page of children
setParent
public void setParent(String parentPage)
- Parameters:
parentPage - parent of children
getChildrenNum
public String getChildrenNum()
- Returns:
- the number of children
setChildrenNum
public void setChildrenNum(String childrenNum)
throws org.xwiki.rendering.macro.MacroExecutionException
- Parameters:
childrenNum - number of children to set
- Throws:
org.xwiki.rendering.macro.MacroExecutionException - if parameter is not empty and not a number
getDepth
public String getDepth()
- Returns:
- the depth of children
setDepth
public void setDepth(String depth)
throws org.xwiki.rendering.macro.MacroExecutionException
- Parameters:
depth - depth of children to set
- Throws:
org.xwiki.rendering.macro.MacroExecutionException - if parameter is not empty and not a number
isExcerpt
public boolean isExcerpt()
- Returns:
- the value allow hide excerpt or not
setExcerpt
public void setExcerpt(boolean excerpt)
- Parameters:
hidden - the value show excerpt to set
Copyright © 2013 eXo Platform SAS. All Rights Reserved.