net.sf.basedb.clients.web
Class ModeInfo
java.lang.Object
net.sf.basedb.clients.web.ModeInfo
public class ModeInfo
- extends Object
- Version:
- 2.0
- Author:
- Nicklas
Constructor Summary |
private |
ModeInfo(String name,
String pageType,
String titleTemplate,
boolean hasToolbar,
boolean hasFilter,
boolean hasNavigator,
boolean hasPropertyLink,
boolean hasCheck,
boolean hasRadio,
boolean hasIcons,
boolean isCompact,
boolean hasEditLink,
boolean hasOkButton,
boolean hasCloseButton,
boolean hasCancelButton,
Permission permission,
boolean selectionMode)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HAS_TOOLBAR
private static final boolean HAS_TOOLBAR
- See Also:
- Constant Field Values
NO_TOOLBAR
private static final boolean NO_TOOLBAR
- See Also:
- Constant Field Values
HAS_FILTER
private static final boolean HAS_FILTER
- See Also:
- Constant Field Values
NO_FILTER
private static final boolean NO_FILTER
- See Also:
- Constant Field Values
HAS_NAVIGATOR
private static final boolean HAS_NAVIGATOR
- See Also:
- Constant Field Values
NO_NAVIGATOR
private static final boolean NO_NAVIGATOR
- See Also:
- Constant Field Values
HAS_CHECK
private static final boolean HAS_CHECK
- See Also:
- Constant Field Values
NO_CHECK
private static final boolean NO_CHECK
- See Also:
- Constant Field Values
HAS_RADIO
private static final boolean HAS_RADIO
- See Also:
- Constant Field Values
NO_RADIO
private static final boolean NO_RADIO
- See Also:
- Constant Field Values
HAS_ICONS
private static final boolean HAS_ICONS
- See Also:
- Constant Field Values
NO_ICONS
private static final boolean NO_ICONS
- See Also:
- Constant Field Values
IS_COMPACT
private static final boolean IS_COMPACT
- See Also:
- Constant Field Values
NOT_COMPACT
private static final boolean NOT_COMPACT
- See Also:
- Constant Field Values
HAS_OKBUTTON
private static final boolean HAS_OKBUTTON
- See Also:
- Constant Field Values
NO_OKBUTTON
private static final boolean NO_OKBUTTON
- See Also:
- Constant Field Values
HAS_CLOSEBUTTON
private static final boolean HAS_CLOSEBUTTON
- See Also:
- Constant Field Values
NO_CLOSEBUTTON
private static final boolean NO_CLOSEBUTTON
- See Also:
- Constant Field Values
HAS_CANCELBUTTON
private static final boolean HAS_CANCELBUTTON
- See Also:
- Constant Field Values
NO_CANCELBUTTON
private static final boolean NO_CANCELBUTTON
- See Also:
- Constant Field Values
HAS_PROPERTYLINK
private static final boolean HAS_PROPERTYLINK
- See Also:
- Constant Field Values
NO_PROPERTYLINK
private static final boolean NO_PROPERTYLINK
- See Also:
- Constant Field Values
HAS_EDITLINK
private static final boolean HAS_EDITLINK
- See Also:
- Constant Field Values
NO_EDITLINK
private static final boolean NO_EDITLINK
- See Also:
- Constant Field Values
SELECTION_MODE
private static final boolean SELECTION_MODE
- See Also:
- Constant Field Values
NOT_SELECTION_MODE
private static final boolean NOT_SELECTION_MODE
- See Also:
- Constant Field Values
NO_PERMISSION
private static final Permission NO_PERMISSION
modes
private static final Map<String,ModeInfo> modes
DEFAULT
public static final ModeInfo DEFAULT
SELECTONE
public static final ModeInfo SELECTONE
SELECTMULTIPLE
public static final ModeInfo SELECTMULTIPLE
SELECTMULTIPLE_NOBUTTONS
public static final ModeInfo SELECTMULTIPLE_NOBUTTONS
findOne
private static final Pattern findOne
findMany
private static final Pattern findMany
name
private final String name
pageType
private final String pageType
titleTemplate
private final String titleTemplate
hasToolbar
private final boolean hasToolbar
hasFilter
private final boolean hasFilter
hasNavigator
private final boolean hasNavigator
hasCheck
private final boolean hasCheck
hasRadio
private final boolean hasRadio
hasIcons
private final boolean hasIcons
isCompact
private final boolean isCompact
hasOkButton
private final boolean hasOkButton
hasCloseButton
private final boolean hasCloseButton
hasCancelButton
private final boolean hasCancelButton
hasPropertyLink
private final boolean hasPropertyLink
hasEditLink
private final boolean hasEditLink
permission
private final Permission permission
selectionMode
private final boolean selectionMode
ModeInfo
private ModeInfo(String name,
String pageType,
String titleTemplate,
boolean hasToolbar,
boolean hasFilter,
boolean hasNavigator,
boolean hasPropertyLink,
boolean hasCheck,
boolean hasRadio,
boolean hasIcons,
boolean isCompact,
boolean hasEditLink,
boolean hasOkButton,
boolean hasCloseButton,
boolean hasCancelButton,
Permission permission,
boolean selectionMode)
get
public static ModeInfo get(String name)
getName
public String getName()
getPageType
public String getPageType()
hasToolbar
public boolean hasToolbar()
hasFilter
public boolean hasFilter()
hasNavigator
public boolean hasNavigator()
hasCheck
public boolean hasCheck()
hasRadio
public boolean hasRadio()
hasIcons
public boolean hasIcons()
isCompact
public boolean isCompact()
hasOkButton
public boolean hasOkButton()
hasCloseButton
public boolean hasCloseButton()
hasCancelButton
public boolean hasCancelButton()
hasPropertyLink
public boolean hasPropertyLink()
hasEditLink
public boolean hasEditLink()
forceItemPermission
public Permission forceItemPermission()
isSelectionMode
public boolean isSelectionMode()
generateTitle
public String generateTitle(String one,
String many)