|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cc.framework.ui.model.imp.ClientHandlerImp com.cc.framework.ui.model.imp.PanelItemDesignModelImp
Designmodel for a PanelItem
Field Summary | |
private java.lang.String |
action
The action |
private java.lang.String |
detail
The detail |
private java.lang.Boolean |
filter
Specifies if all String should be converted into there HTML representation |
private java.lang.String |
localeName
Locale Setting |
private Permission |
permission
The permission for the PanelItem |
private static long |
serialVersionUID
Serial Version UID |
private java.lang.String |
target
The target |
private java.lang.String |
title
The title of the PanelItem |
private java.lang.String |
tooltip
The tooltip |
Fields inherited from class com.cc.framework.ui.model.imp.ClientHandlerImp |
|
Constructor Summary | |
PanelItemDesignModelImp()
Constructor |
Method Summary | |
java.lang.Boolean |
filter()
Returns if the filter is activated (default=true). |
java.lang.String |
getAction()
Returns the Action which should be processed by the Item |
java.lang.String |
getDetail()
Returns the detail Text |
java.lang.String |
getLocaleName()
Gets the Local Setting for this element |
Permission |
getPermission()
Returns the authorizations required to access an object If the method returns null no access rights is required. |
java.lang.String |
getTarget()
Returns the target |
java.lang.String |
getTitle()
Returns the title of a panel item |
java.lang.String |
getTooltip()
Returns the Tooltip |
void |
setAction(java.lang.String action)
Sets the Action |
void |
setDetail(java.lang.String detail)
Sets the detail Text |
void |
setFilter(boolean filter)
Activates the HTML encoding (filter). |
void |
setLocaleName(java.lang.String locale)
Sets the Locale configuration for this element |
void |
setPermission(Permission permission)
Sets a list with permissions to access this object. |
void |
setTarget(java.lang.String target)
Sets the target where the document referenced will appear (like _blank, _parent, ...). |
void |
setTitle(java.lang.String title)
Returns the Title |
void |
setTooltip(java.lang.String tooltip)
Sets the Tooltip |
boolean |
show(Principal principal)
Checks if the Object has a required permission. |
Methods inherited from class com.cc.framework.ui.model.imp.ClientHandlerImp |
evaluate, getHandler, getHandlers, setHandler |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.cc.framework.ui.model.ClientHandler |
getHandler, getHandlers, setHandler |
Field Detail |
private static final long serialVersionUID
private java.lang.String title
private java.lang.String detail
private java.lang.String action
private java.lang.String tooltip
private java.lang.String target
private java.lang.Boolean filter
private java.lang.String localeName
private Permission permission
Constructor Detail |
public PanelItemDesignModelImp()
Method Detail |
public java.lang.String getDetail()
PanelItemDesignModel
getDetail
in interface PanelItemDesignModel
PanelItemDesignModel.getDetail()
public java.lang.String getTitle()
PanelItemDesignModel
getTitle
in interface PanelItemDesignModel
PanelItemDesignModel.getTitle()
public void setDetail(java.lang.String detail)
PanelItemDesignModel
setDetail
in interface PanelItemDesignModel
detail
- DetailPanelItemDesignModel.setDetail(String detail)
public void setTitle(java.lang.String title)
PanelItemDesignModel
setTitle
in interface PanelItemDesignModel
title
- TitlePanelItemDesignModel.setTitle(String title)
public java.lang.String getAction()
PanelItemDesignModel
getAction
in interface PanelItemDesignModel
PanelItemDesignModel.getAction()
public void setAction(java.lang.String action)
PanelItemDesignModel
setAction
in interface PanelItemDesignModel
action
- ActionPanelItemDesignModel.setAction(String)
public void setTooltip(java.lang.String tooltip)
PanelItemDesignModel
setTooltip
in interface PanelItemDesignModel
tooltip
- TooltipPanelItemDesignModel.setTooltip(String)
public java.lang.String getTooltip()
PanelItemDesignModel
getTooltip
in interface PanelItemDesignModel
PanelItemDesignModel.getTooltip()
public Permission getPermission()
AccessControlled
null
no access rights is required.
getPermission
in interface AccessControlled
AccessControlled.getPermission()
public void setPermission(Permission permission)
PanelItemDesignModel
setPermission
in interface PanelItemDesignModel
permission
- PermissionPanelItemDesignModel.setPermission(com.cc.framework.security.Permission)
public boolean show(Principal principal)
AccessControlled
show
in interface AccessControlled
principal
- the users principal object
true
if the permission existsAccessControlled.show(Principal)
public java.lang.String getTarget()
PanelItemDesignModel
getTarget
in interface PanelItemDesignModel
PanelItemDesignModel.getTarget()
public void setTarget(java.lang.String target)
PanelItemDesignModel
setTarget
in interface PanelItemDesignModel
target
- The targetPanelItemDesignModel.setTarget(java.lang.String)
public java.lang.Boolean filter()
PanelItemDesignModel
filter
in interface PanelItemDesignModel
true
if string will be HTML encoded;
false
otherwise. If a null
is
returned than the filter of the enclosing CrumbControl should be
usedPanelItemDesignModel.filter()
public void setFilter(boolean filter)
PanelItemDesignModel
setFilter
in interface PanelItemDesignModel
filter
- true
if strings should be HTML encoded;
false
otherwisePanelItemDesignModel.setFilter(boolean)
public java.lang.String getLocaleName()
PanelItemDesignModel
getLocaleName
in interface PanelItemDesignModel
PanelItemDesignModel.getLocaleName()
public void setLocaleName(java.lang.String locale)
PanelItemDesignModel
setLocaleName
in interface PanelItemDesignModel
locale
- Locale Identifier or true|false
PanelItemDesignModel.setLocaleName(java.lang.String)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |