org.apache.jetspeed.om.folder.impl
Class BaseMenuDefinitionImpl

java.lang.Object
  extended by org.apache.jetspeed.om.folder.impl.BaseMenuDefinitionElement
      extended by org.apache.jetspeed.om.folder.impl.BaseMenuDefinitionMetadata
          extended by org.apache.jetspeed.om.folder.impl.BaseMenuDefinitionImpl
All Implemented Interfaces:
org.apache.jetspeed.om.folder.MenuDefinition
Direct Known Subclasses:
FolderMenuDefinitionImpl, PageMenuDefinitionImpl

public abstract class BaseMenuDefinitionImpl
extends BaseMenuDefinitionMetadata
implements org.apache.jetspeed.om.folder.MenuDefinition

BaseMenuDefinitionImpl

Version:
$Id:$
Author:
Randy Watler

Field Summary
private  int depth
           
private  List elements
           
private  String name
           
private  String options
           
private  String order
           
private  boolean paths
           
private  String profile
           
private  boolean regexp
           
private  String shortTitle
           
private  String skin
           
private  String title
           
 
Fields inherited from interface org.apache.jetspeed.om.folder.MenuDefinition
ANY_PROFILE_LOCATOR
 
Constructor Summary
BaseMenuDefinitionImpl()
           
 
Method Summary
 List accessElements()
          accessElements Access mutable persistent collection member for List wrappers.
 boolean equals(Object o)
           
 int getDepth()
           
abstract  List getMenuElements()
           
 String getName()
           
 String getOptions()
           
 String getOrder()
           
 String getProfile()
           
 String getShortTitle()
           
 String getSkin()
           
 String getTitle()
           
 int hashCode()
           
 boolean isPaths()
           
 boolean isRegexp()
           
 void setDepth(int depth)
           
 void setMenuElements(List elements)
           
 void setName(String name)
           
 void setOptions(String options)
           
 void setOrder(String order)
           
 void setPaths(boolean paths)
           
 void setProfile(String locatorName)
           
 void setRegexp(boolean regexp)
           
 void setShortTitle(String title)
           
 void setSkin(String name)
           
 void setTitle(String title)
           
 
Methods inherited from class org.apache.jetspeed.om.folder.impl.BaseMenuDefinitionMetadata
getMetadata, getPageMetadata, getShortTitle, getText, getText, getTitle, newPageMetadata
 
Methods inherited from class org.apache.jetspeed.om.folder.impl.BaseMenuDefinitionElement
getElementOrder, setElementOrder
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.jetspeed.om.folder.MenuDefinition
getMetadata, getShortTitle, getTitle
 

Field Detail

name

private String name

options

private String options

depth

private int depth

paths

private boolean paths

regexp

private boolean regexp

profile

private String profile

order

private String order

skin

private String skin

title

private String title

shortTitle

private String shortTitle

elements

private List elements
Constructor Detail

BaseMenuDefinitionImpl

public BaseMenuDefinitionImpl()
Method Detail

accessElements

public List accessElements()
accessElements Access mutable persistent collection member for List wrappers.

Returns:
persistent collection

getName

public String getName()
Specified by:
getName in interface org.apache.jetspeed.om.folder.MenuDefinition

setName

public void setName(String name)
Specified by:
setName in interface org.apache.jetspeed.om.folder.MenuDefinition

getOptions

public String getOptions()
Specified by:
getOptions in interface org.apache.jetspeed.om.folder.MenuDefinition

setOptions

public void setOptions(String options)
Specified by:
setOptions in interface org.apache.jetspeed.om.folder.MenuDefinition

getDepth

public int getDepth()
Specified by:
getDepth in interface org.apache.jetspeed.om.folder.MenuDefinition

setDepth

public void setDepth(int depth)
Specified by:
setDepth in interface org.apache.jetspeed.om.folder.MenuDefinition

isPaths

public boolean isPaths()
Specified by:
isPaths in interface org.apache.jetspeed.om.folder.MenuDefinition

setPaths

public void setPaths(boolean paths)
Specified by:
setPaths in interface org.apache.jetspeed.om.folder.MenuDefinition

isRegexp

public boolean isRegexp()
Specified by:
isRegexp in interface org.apache.jetspeed.om.folder.MenuDefinition

setRegexp

public void setRegexp(boolean regexp)
Specified by:
setRegexp in interface org.apache.jetspeed.om.folder.MenuDefinition

getProfile

public String getProfile()
Specified by:
getProfile in interface org.apache.jetspeed.om.folder.MenuDefinition

setProfile

public void setProfile(String locatorName)
Specified by:
setProfile in interface org.apache.jetspeed.om.folder.MenuDefinition

getOrder

public String getOrder()
Specified by:
getOrder in interface org.apache.jetspeed.om.folder.MenuDefinition

setOrder

public void setOrder(String order)
Specified by:
setOrder in interface org.apache.jetspeed.om.folder.MenuDefinition

getSkin

public String getSkin()
Specified by:
getSkin in interface org.apache.jetspeed.om.folder.MenuDefinition

setSkin

public void setSkin(String name)
Specified by:
setSkin in interface org.apache.jetspeed.om.folder.MenuDefinition

getTitle

public String getTitle()
Specified by:
getTitle in interface org.apache.jetspeed.om.folder.MenuDefinition
Overrides:
getTitle in class BaseMenuDefinitionMetadata

setTitle

public void setTitle(String title)
Specified by:
setTitle in interface org.apache.jetspeed.om.folder.MenuDefinition

getShortTitle

public String getShortTitle()
Specified by:
getShortTitle in interface org.apache.jetspeed.om.folder.MenuDefinition
Overrides:
getShortTitle in class BaseMenuDefinitionMetadata

setShortTitle

public void setShortTitle(String title)
Specified by:
setShortTitle in interface org.apache.jetspeed.om.folder.MenuDefinition

getMenuElements

public abstract List getMenuElements()
Specified by:
getMenuElements in interface org.apache.jetspeed.om.folder.MenuDefinition

setMenuElements

public void setMenuElements(List elements)
Specified by:
setMenuElements in interface org.apache.jetspeed.om.folder.MenuDefinition

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.