|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jalios.jcms.policy.AbstractPolicyFilter
com.jalios.jcms.policy.BasicCtxMenuPolicyFilter
public class BasicCtxMenuPolicyFilter
This class provides hooks for contextual menu rendering.
| Field Summary | |
|---|---|
static String |
REVISION
|
| Fields inherited from class com.jalios.jcms.policy.AbstractPolicyFilter |
|---|
order |
| Fields inherited from interface com.jalios.jcms.ajax.CtxMenuConstants |
|---|
DISABLED, FLAG_CADDY, FLAG_DELETE, FLAG_EDIT, FLAG_EXPORT, FLAG_SEPARATOR, INFO_ICON, MENU_DISABLED, MENU_ENABLED, MENU_SKIPPED, NO_ICON |
| Constructor Summary | |
|---|---|
BasicCtxMenuPolicyFilter()
|
|
| Method Summary | |
|---|---|
char[] |
checkCtxMenuItems(CategoryCtxMenu ctxMenu,
Category cat,
char[] letters)
Checks the processed contextual menu |
char[] |
checkCtxMenuItems(MemberCtxMenu ctxMenu,
Member mbr,
char[] letters)
Checks the processed contextual menu |
char[] |
checkCtxMenuItems(PublicationCtxMenu ctxMenu,
Publication pub,
char[] letters)
Checks the processed contextual menu |
char[] |
checkCtxMenuItems(WidgetCtxMenu ctxMenu,
String menuItems,
String chooserType,
String chooserId,
char[] letters)
Checks the processed contextual menu |
void |
handleCtxMenuItems(StringBuffer sb,
CategoryCtxMenu ctxMenu,
Category cat)
Handle the current StringBuffer to append custom content for the given Category |
int |
handleCtxMenuItems(StringBuffer sb,
CategoryCtxMenu ctxMenu,
Category cat,
char letter,
int status)
Handle the current StringBuffer to append custom content for the given Category and given Letter |
void |
handleCtxMenuItems(StringBuffer sb,
MemberCtxMenu ctxMenu,
Member mbr)
Handle the current StringBuffer to append custom content for the given Member |
int |
handleCtxMenuItems(StringBuffer sb,
MemberCtxMenu ctxMenu,
Member mbr,
char letter,
int status)
Handle the current StringBuffer to append custom content for the given Member and given Letter |
void |
handleCtxMenuItems(StringBuffer sb,
PublicationCtxMenu ctxMenu,
Publication pub)
Handle the current StringBuffer to append custom content for the given Publication |
int |
handleCtxMenuItems(StringBuffer sb,
PublicationCtxMenu ctxMenu,
Publication pub,
char letter,
int status)
Handle the current StringBuffer to append custom content for the given Publication and given Letter |
void |
handleCtxMenuItems(StringBuffer sb,
WidgetCtxMenu ctxMenu,
String menuItems,
String chooserType,
String chooserId)
Handle the current StringBuffer to append custom content for the given Member |
int |
handleCtxMenuItems(StringBuffer sb,
WidgetCtxMenu ctxMenu,
String menuItems,
String chooserType,
String chooserId,
char letter,
int status)
Handle the current StringBuffer to append custom content for the given Member and given Letter |
boolean |
init(Plugin plugin)
Initialize the component with the given plugin configuration |
void |
initCtxMenu(CategoryCtxMenu ctxMenu,
JcmsJspContext jcmsContext)
Initialize the contextual menu. |
void |
initCtxMenu(MemberCtxMenu ctxMenu,
JcmsJspContext jcmsContext)
Initialize the contextual menu. |
void |
initCtxMenu(PublicationCtxMenu ctxMenu,
JcmsJspContext jcmsContext)
Initialize the contextual menu. |
void |
initCtxMenu(WidgetCtxMenu ctxMenu,
JcmsJspContext jcmsContext)
Initialize the contextual menu. |
| Methods inherited from class com.jalios.jcms.policy.AbstractPolicyFilter |
|---|
compareTo, equals, getOrder, setOrder |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Field Detail |
|---|
public static final String REVISION
| Constructor Detail |
|---|
public BasicCtxMenuPolicyFilter()
| Method Detail |
|---|
public boolean init(Plugin plugin)
PluginComponent
init in interface PluginComponentplugin - the calling plugin
PluginComponent.init(Plugin)
public void initCtxMenu(PublicationCtxMenu ctxMenu,
JcmsJspContext jcmsContext)
CtxMenuPolicyFilter
initCtxMenu in interface CtxMenuPolicyFilterctxMenu - the instance of the context menu created during initial request.jcmsContext - the JcmsJspContext of the request during which the
context menu object was created.CtxMenuPolicyFilter.initCtxMenu(PublicationCtxMenu, JcmsJspContext)
public void initCtxMenu(CategoryCtxMenu ctxMenu,
JcmsJspContext jcmsContext)
CtxMenuPolicyFilter
initCtxMenu in interface CtxMenuPolicyFilterctxMenu - the instance of the context menu created during initial request.jcmsContext - the JcmsJspContext of the request during which the
context menu object was created.CtxMenuPolicyFilter.initCtxMenu(CategoryCtxMenu, JcmsJspContext)
public void initCtxMenu(MemberCtxMenu ctxMenu,
JcmsJspContext jcmsContext)
CtxMenuPolicyFilter
initCtxMenu in interface CtxMenuPolicyFilterctxMenu - the instance of the context menu created during initial request.jcmsContext - the JcmsJspContext of the request during which the
context menu object was created.CtxMenuPolicyFilter.initCtxMenu(MemberCtxMenu, JcmsJspContext)
public void initCtxMenu(WidgetCtxMenu ctxMenu,
JcmsJspContext jcmsContext)
CtxMenuPolicyFilter
initCtxMenu in interface CtxMenuPolicyFilterctxMenu - the instance of the context menu created during initial request.jcmsContext - the JcmsJspContext of the request during which the
context menu object was created.CtxMenuPolicyFilter.initCtxMenu(WidgetCtxMenu, JcmsJspContext)
public char[] checkCtxMenuItems(PublicationCtxMenu ctxMenu,
Publication pub,
char[] letters)
CtxMenuPolicyFilter
checkCtxMenuItems in interface CtxMenuPolicyFilterctxMenu - the instance of the context menu created during initial request.pub - the working publicationletters - an array of letters describing menus to display
CtxMenuPolicyFilter.checkCtxMenuItems(PublicationCtxMenu, Publication, char[])
public char[] checkCtxMenuItems(CategoryCtxMenu ctxMenu,
Category cat,
char[] letters)
CtxMenuPolicyFilter
checkCtxMenuItems in interface CtxMenuPolicyFilterctxMenu - the instance of the context menu created during initial request.cat - the working categoryletters - an array of letters describing menus to display
CtxMenuPolicyFilter.checkCtxMenuItems(CategoryCtxMenu, Category, char[])
public char[] checkCtxMenuItems(MemberCtxMenu ctxMenu,
Member mbr,
char[] letters)
CtxMenuPolicyFilter
checkCtxMenuItems in interface CtxMenuPolicyFilterctxMenu - the instance of the context menu created during initial request.mbr - the working memberletters - an array of letters describing menus to display
CtxMenuPolicyFilter.checkCtxMenuItems(MemberCtxMenu, Member, char[])
public char[] checkCtxMenuItems(WidgetCtxMenu ctxMenu,
String menuItems,
String chooserType,
String chooserId,
char[] letters)
CtxMenuPolicyFilter
checkCtxMenuItems in interface CtxMenuPolicyFilterctxMenu - the instance of the context menu created during initial request.letters - an array of letters describing menus to display
CtxMenuPolicyFilter.checkCtxMenuItems(WidgetCtxMenu, String, String, String, char[])
public int handleCtxMenuItems(StringBuffer sb,
PublicationCtxMenu ctxMenu,
Publication pub,
char letter,
int status)
CtxMenuPolicyFilter
handleCtxMenuItems in interface CtxMenuPolicyFiltersb - the StringBuffer to updatectxMenu - the instance of the context menu created during initial request.pub - the working publicationletter - the current letterstatus - preious plugin's status
CtxMenuPolicyFilter.handleCtxMenuItems(StringBuffer, PublicationCtxMenu, Publication, char, int)
public int handleCtxMenuItems(StringBuffer sb,
CategoryCtxMenu ctxMenu,
Category cat,
char letter,
int status)
CtxMenuPolicyFilter
handleCtxMenuItems in interface CtxMenuPolicyFiltersb - the StringBuffer to updatectxMenu - the instance of the context menu created during initial request.cat - the working categoryletter - the current letterstatus - preious plugin's status
CtxMenuPolicyFilter.handleCtxMenuItems(StringBuffer, CategoryCtxMenu, Category, char, int)
public int handleCtxMenuItems(StringBuffer sb,
MemberCtxMenu ctxMenu,
Member mbr,
char letter,
int status)
CtxMenuPolicyFilter
handleCtxMenuItems in interface CtxMenuPolicyFiltersb - the StringBuffer to updatectxMenu - the instance of the context menu created during initial request.mbr - the working memberletter - the current letterstatus - preious plugin's status
CtxMenuPolicyFilter.handleCtxMenuItems(StringBuffer, MemberCtxMenu, Member, char, int)
public int handleCtxMenuItems(StringBuffer sb,
WidgetCtxMenu ctxMenu,
String menuItems,
String chooserType,
String chooserId,
char letter,
int status)
CtxMenuPolicyFilter
handleCtxMenuItems in interface CtxMenuPolicyFiltersb - the StringBuffer to updatectxMenu - the instance of the context menu created during initial request.letter - the current letterstatus - preious plugin's status
CtxMenuPolicyFilter.handleCtxMenuItems(StringBuffer, WidgetCtxMenu, String, String, String, char, int)
public void handleCtxMenuItems(StringBuffer sb,
PublicationCtxMenu ctxMenu,
Publication pub)
CtxMenuPolicyFilter
handleCtxMenuItems in interface CtxMenuPolicyFiltersb - the StringBuffer to updatectxMenu - the instance of the context menu created during initial request.pub - the working publicationCtxMenuPolicyFilter.handleCtxMenuItems(StringBuffer, PublicationCtxMenu, Publication)
public void handleCtxMenuItems(StringBuffer sb,
CategoryCtxMenu ctxMenu,
Category cat)
CtxMenuPolicyFilter
handleCtxMenuItems in interface CtxMenuPolicyFiltersb - the StringBuffer to updatectxMenu - the instance of the context menu created during initial request.cat - the working categoryCtxMenuPolicyFilter.handleCtxMenuItems(StringBuffer, CategoryCtxMenu, Category)
public void handleCtxMenuItems(StringBuffer sb,
MemberCtxMenu ctxMenu,
Member mbr)
CtxMenuPolicyFilter
handleCtxMenuItems in interface CtxMenuPolicyFiltersb - the StringBuffer to updatectxMenu - the instance of the context menu created during initial request.mbr - the working memberCtxMenuPolicyFilter.handleCtxMenuItems(StringBuffer, MemberCtxMenu, Member)
public void handleCtxMenuItems(StringBuffer sb,
WidgetCtxMenu ctxMenu,
String menuItems,
String chooserType,
String chooserId)
CtxMenuPolicyFilter
handleCtxMenuItems in interface CtxMenuPolicyFiltersb - the StringBuffer to updatectxMenu - the instance of the context menu created during initial request.CtxMenuPolicyFilter.handleCtxMenuItems(StringBuffer, WidgetCtxMenu, String, String, String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||