|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CtxMenuPolicyFilter
This class provides hooks for contextual menu rendering.
Field Summary | |
---|---|
static String |
REVISION
|
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 |
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 |
void |
initCtxMenu(CategoryCtxMenu ctxMenu,
JcmsJspContext jcmsContext)
Initialize the contextual menu. This method is called when the Context Menu object class is created. |
void |
initCtxMenu(MemberCtxMenu ctxMenu,
JcmsJspContext jcmsContext)
Initialize the contextual menu. This method is called when the Context Menu object class is created. |
void |
initCtxMenu(PublicationCtxMenu ctxMenu,
JcmsJspContext jcmsContext)
Initialize the contextual menu. This method is called when the Context Menu object class is created. |
void |
initCtxMenu(WidgetCtxMenu ctxMenu,
JcmsJspContext jcmsContext)
Initialize the contextual menu. This method is called when the Context Menu object class is created. |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Methods inherited from interface com.jalios.jcms.plugin.PluginComponent |
---|
init |
Field Detail |
---|
static final String REVISION
Method Detail |
---|
void initCtxMenu(PublicationCtxMenu ctxMenu, JcmsJspContext jcmsContext)
ctxMenu
- the instance of the context menu created during initial request.jcmsContext
- the JcmsJspContext of the request during which the
context menu object was created.void initCtxMenu(CategoryCtxMenu ctxMenu, JcmsJspContext jcmsContext)
ctxMenu
- the instance of the context menu created during initial request.jcmsContext
- the JcmsJspContext of the request during which the
context menu object was created.void initCtxMenu(MemberCtxMenu ctxMenu, JcmsJspContext jcmsContext)
ctxMenu
- the instance of the context menu created during initial request.jcmsContext
- the JcmsJspContext of the request during which the
context menu object was created.void initCtxMenu(WidgetCtxMenu ctxMenu, JcmsJspContext jcmsContext)
ctxMenu
- the instance of the context menu created during initial request.jcmsContext
- the JcmsJspContext of the request during which the
context menu object was created.char[] checkCtxMenuItems(PublicationCtxMenu ctxMenu, Publication pub, char[] letters)
ctxMenu
- the instance of the context menu created during initial request.pub
- the working publicationletters
- an array of letters describing menus to display
char[] checkCtxMenuItems(CategoryCtxMenu ctxMenu, Category cat, char[] letters)
ctxMenu
- the instance of the context menu created during initial request.cat
- the working categoryletters
- an array of letters describing menus to display
char[] checkCtxMenuItems(MemberCtxMenu ctxMenu, Member mbr, char[] letters)
ctxMenu
- the instance of the context menu created during initial request.mbr
- the working memberletters
- an array of letters describing menus to display
char[] checkCtxMenuItems(WidgetCtxMenu ctxMenu, String menuItems, String chooserType, String chooserId, char[] letters)
ctxMenu
- the instance of the context menu created during initial request.menuItems
- chooserType
- chooserId
- letters
- an array of letters describing menus to display
int handleCtxMenuItems(StringBuffer sb, PublicationCtxMenu ctxMenu, Publication pub, char letter, int status)
sb
- 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
int handleCtxMenuItems(StringBuffer sb, CategoryCtxMenu ctxMenu, Category cat, char letter, int status)
sb
- 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
int handleCtxMenuItems(StringBuffer sb, MemberCtxMenu ctxMenu, Member mbr, char letter, int status)
sb
- 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
int handleCtxMenuItems(StringBuffer sb, WidgetCtxMenu ctxMenu, String menuItems, String chooserType, String chooserId, char letter, int status)
sb
- the StringBuffer to updatectxMenu
- the instance of the context menu created during initial request.menuItems
- chooserType
- chooserId
- letter
- the current letterstatus
- preious plugin's status
void handleCtxMenuItems(StringBuffer sb, PublicationCtxMenu ctxMenu, Publication pub)
sb
- the StringBuffer to updatectxMenu
- the instance of the context menu created during initial request.pub
- the working publicationvoid handleCtxMenuItems(StringBuffer sb, CategoryCtxMenu ctxMenu, Category cat)
sb
- the StringBuffer to updatectxMenu
- the instance of the context menu created during initial request.cat
- the working categoryvoid handleCtxMenuItems(StringBuffer sb, MemberCtxMenu ctxMenu, Member mbr)
sb
- the StringBuffer to updatectxMenu
- the instance of the context menu created during initial request.mbr
- the working membervoid handleCtxMenuItems(StringBuffer sb, WidgetCtxMenu ctxMenu, String menuItems, String chooserType, String chooserId)
sb
- the StringBuffer to updatectxMenu
- the instance of the context menu created during initial request.menuItems
- chooserType
- chooserId
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |