|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.opencms.workplace.explorer.menu.A_CmsMenuItemRule
org.opencms.workplace.explorer.menu.CmsMirContainerPageActive
org.opencms.workplace.explorer.menu.CmsMirContainerPageActiveAndFileAvailable
public class CmsMirContainerPageActiveAndFileAvailable
A menu item rule which checks whether the file given by the 'filename' attribute in the CmsExplorerContextMenuItem's parameters (after macro expansion) exists and is writable by the current user.
| Field Summary | |
|---|---|
static org.apache.commons.logging.Log |
LOG
The logger instance for this class. |
| Fields inherited from interface org.opencms.workplace.explorer.menu.I_CmsMenuItemRule |
|---|
ATTR_CONTEXT_INFO, CONTEXT_CONTAINERPAGE, CONTEXT_EDITPROVIDER, CONTEXT_SITEMAP |
| Constructor Summary | |
|---|---|
CmsMirContainerPageActiveAndFileAvailable()
|
|
| Method Summary | |
|---|---|
CmsMenuItemVisibilityMode |
getVisibility(CmsObject cms,
CmsResourceUtil[] resourceUtil,
CmsExplorerContextMenuItem menuItem)
Gets the visibility depending on resource utilities and the current menu item data. |
| Methods inherited from class org.opencms.workplace.explorer.menu.CmsMirContainerPageActive |
|---|
getVisibility, matches |
| Methods inherited from class org.opencms.workplace.explorer.menu.A_CmsMenuItemRule |
|---|
getVisibility |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final org.apache.commons.logging.Log LOG
| Constructor Detail |
|---|
public CmsMirContainerPageActiveAndFileAvailable()
| Method Detail |
|---|
public CmsMenuItemVisibilityMode getVisibility(CmsObject cms,
CmsResourceUtil[] resourceUtil,
CmsExplorerContextMenuItem menuItem)
A_CmsMenuItemRule
getVisibility in class A_CmsMenuItemRulecms - the CMS contextresourceUtil - the resource utilitiesmenuItem - the context menu item
A_CmsMenuItemRule.getVisibility(org.opencms.file.CmsObject, org.opencms.workplace.explorer.CmsResourceUtil[], org.opencms.workplace.explorer.CmsExplorerContextMenuItem)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||