|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use DisplayContext | |
---|---|
com.jalios.jcms.context | Provides context classes available in every request, you can extends them or use them as javabean. |
com.jalios.jcms.policy | |
com.jalios.jcms.portlet | Contains core Portlets parent of all generated portlets. |
Uses of DisplayContext in com.jalios.jcms.context |
---|
Methods in com.jalios.jcms.context with parameters of type DisplayContext | |
---|---|
void |
JcmsJspContext.registerDisplayContext(DisplayContext ctxt)
Register the given DisplayContext into the JcmsContext |
Uses of DisplayContext in com.jalios.jcms.policy |
---|
Methods in com.jalios.jcms.policy with parameters of type DisplayContext | |
---|---|
void |
PortalPolicyFilter.checkDisplay(DisplayContext context,
Category cat,
Member loggedMember)
Hook called by getDisplayContext() to update the content of context. |
void |
PolicyManager.checkDisplay(DisplayContext context,
Category cat,
Member loggedMember)
|
void |
BasicPortalPolicyFilter.checkDisplay(DisplayContext context,
Category cat,
Member loggedMember)
|
void |
PortalPolicyFilter.checkDisplay(DisplayContext context,
Member member,
Category home,
Member loggedMember)
Hook called by getDisplayContext() to update the content of context. |
void |
PolicyManager.checkDisplay(DisplayContext context,
Member member,
Category home,
Member loggedMember)
|
void |
BasicPortalPolicyFilter.checkDisplay(DisplayContext context,
Member member,
Category home,
Member loggedMember)
|
void |
PortalPolicyFilter.checkDisplay(DisplayContext context,
Publication pub,
Member loggedMember)
Hook called by getDisplayContext() to update the content of context. |
void |
PolicyManager.checkDisplay(DisplayContext context,
Publication pub,
Member loggedMember)
|
void |
BasicPortalPolicyFilter.checkDisplay(DisplayContext context,
Publication pub,
Member loggedMember)
|
void |
PortalPolicyFilter.checkDisplayContext(DisplayContext context)
Hook called by display.jsp to create the display context if it is null otherwise sendForbidden. |
void |
PolicyManager.checkDisplayContext(DisplayContext context)
|
void |
BasicPortalPolicyFilter.checkDisplayContext(DisplayContext context)
|
boolean |
PortalPolicyFilter.checkPortal(PortalInterface portal,
Publication pub,
DisplayContext context,
Member loggedMember,
boolean skipRedirect,
boolean skipExact,
boolean modePreview,
boolean jcmsChoice)
Hook called by PortalManager to decide if the given portal may be used to display information. |
boolean |
PolicyManager.checkPortal(PortalInterface portal,
Publication pub,
DisplayContext context,
Member loggedMember,
boolean skipRedirect,
boolean skipExact,
boolean modePreview,
boolean jcmsChoice)
|
boolean |
BasicPortalPolicyFilter.checkPortal(PortalInterface portal,
Publication pub,
DisplayContext context,
Member loggedMember,
boolean skipRedirect,
boolean skipExact,
boolean modePreview,
boolean jcmsChoice)
|
String |
PortalPolicyFilter.checkRedirect(String redirectUrl,
PortalRedirect redirect,
DisplayContext context,
Member loggedMember)
Hook called by display.jsp to update the redirect url of PortletRedirect. |
String |
PolicyManager.checkRedirect(String redirectUrl,
PortalRedirect redirect,
DisplayContext context,
Member loggedMember)
|
String |
BasicPortalPolicyFilter.checkRedirect(String redirectUrl,
PortalRedirect redirect,
DisplayContext context,
Member loggedMember)
|
Workspace |
PortalPolicyFilter.checkWorkspace(DisplayContext context,
Workspace workspace,
Member loggedMember)
Hook called by handleDisplayRequest() (in display.jsp) to update the working worskpace. |
Workspace |
PolicyManager.checkWorkspace(DisplayContext context,
Workspace workspace,
Member loggedMember)
|
Workspace |
BasicPortalPolicyFilter.checkWorkspace(DisplayContext context,
Workspace workspace,
Member loggedMember)
|
Uses of DisplayContext in com.jalios.jcms.portlet |
---|
Methods in com.jalios.jcms.portlet that return DisplayContext | |
---|---|
static DisplayContext |
PortalManager.getDisplayContext(JcmsContext context)
This is a convenient method to compute display.jsp display context. |
static DisplayContext |
PortalManager.getDisplayContext(String id,
PortalInterface overrided,
Category[] ctxCategories,
Member loggedMember,
boolean preview,
String queryString)
This method compute a display context of parameters for display.jsp. |
Methods in com.jalios.jcms.portlet with parameters of type DisplayContext | |
---|---|
static boolean |
PortalManager.checkPortal(Category cat,
DisplayContext context,
Member loggedMember,
boolean skipRedirect,
boolean skipExact)
This method looks for a matching Portal for a given Category. |
protected static boolean |
PortalManager.checkPortal(Publication pub,
DisplayContext context,
Member loggedMember,
boolean skipRedirect,
boolean skipExact)
Check the validity of the given Publication to be a convenient Portal. |
protected static boolean |
PortalManager.checkPortal(Publication pub,
DisplayContext context,
Member loggedMember,
boolean skipRedirect,
boolean skipExact,
boolean preview)
Check the validity of the given Publication to be a convenient Portal. |
static boolean |
PortalManager.findPortal(Category cat,
DisplayContext context,
Member loggedMember,
boolean skipRedirect,
boolean skipExact,
boolean recursive)
Recursive methode that try to find the right portal for a given category otherwise may call parent category. |
static boolean |
PortalManager.findPortal(Publication pub,
DisplayContext context,
Member loggedMember,
boolean skipRedirect,
boolean skipExact,
boolean preview,
Category[] ctxCategories)
Fill a display context with all the elements usefull for navigation, using the given steps: 1- Iterate on publication categories starting with sibling of contextual categories 2- Recursive call with parents until finding a Portal 3- Then set the portalCategory and the currentCategory |
String |
PortalRedirect.getRedirectURL(Member loggedMember,
DisplayContext context)
|
static void |
PortalManager.handleDisplayRequest(JcmsJspContext context,
DisplayContext display,
long startPageRequest)
Called by display.jsp to set all request attributes from computed display context. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |