Package | Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
void |
JcmsJspContext.registerDisplayContext(DisplayContext ctxt)
Register the given DisplayContext into the JcmsContext
|
Modifier and Type | Method and Description |
---|---|
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) |
java.lang.String |
PortalPolicyFilter.checkRedirect(java.lang.String redirectUrl,
PortalRedirect redirect,
DisplayContext context,
Member loggedMember)
Hook called by display.jsp to update the redirect url of PortletRedirect.
|
java.lang.String |
PolicyManager.checkRedirect(java.lang.String redirectUrl,
PortalRedirect redirect,
DisplayContext context,
Member loggedMember) |
java.lang.String |
BasicPortalPolicyFilter.checkRedirect(java.lang.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) |
Modifier and Type | Method and Description |
---|---|
static DisplayContext |
PortalManager.getDisplayContext(JcmsContext context)
This is a convenient method to compute display.jsp display context.
|
static DisplayContext |
PortalManager.getDisplayContext(java.lang.String id,
PortalInterface overrided,
Category[] ctxCategories,
Member loggedMember,
boolean preview,
java.lang.String queryString)
This method compute a display context of parameters for display.jsp.
|
Modifier and Type | Method and Description |
---|---|
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 |
java.lang.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.
|
Copyright © 2001-2010 Jalios SA. All Rights Reserved.