com.jalios.jcms.policy
Class PolicyManager

java.lang.Object
  extended by com.jalios.jcms.policy.PolicyManager

public final class PolicyManager
extends Object

PolicyManager handle all policy classes.

Since:
jcms-5.7.0
Version:
$Revision: 49380 $
Author:
Jean-Philippe Encausse

Field Summary
protected  Set<ChannelPolicyFilter> channelPolicyFilterSet
           
protected  Set<CtxMenuPolicyFilter> ctxmenuPolicyFilterSet
           
protected  Set<ExportPolicyFilter> exportPolicyFilterSet
           
protected  Set<ImportPolicyFilter> importPolicyFilterSet
           
protected  Set<LuceneSearchEnginePolicyFilter> luceneSearchEnginePolicyFilterSet
           
protected  Set<MailPolicyFilter> mailPolicyFilterSet
           
protected  Set<MemberPolicyFilter> memberPolicyFilterSet
           
protected  Set<MemberQueryFilter> memberQueryFilterSet
           
protected  Set<PluginPolicyFilter> pluginPolicyFilterSet
           
protected  Set<PortalPolicyFilter> portalPolicyFilterSet
           
protected  Set<PublicationFollowerPolicyFilter> pubFollowerPolicyFilterSet
           
static String REVISION
           
protected  Set<RightPolicyFilter> rightPolicyFilterSet
           
protected  Set<StatPolicyFilter> statPolicyFilterSet
           
protected  Set<TemplatePolicyFilter> templatePolicyFilterSet
           
protected  Set<ThumbnailPolicyFilter> thumbnailPolicyFilterSet
           
protected  Set<WebdavPolicyFilter> webdavPolicyFilterSet
           
protected  Set<WidgetPolicyFilter> widgetPolicyFilterSet
           
protected  Set<WikiPolicyFilter> wikiPolicyFilterSet
           
protected  Set<WizardPolicyFilter> wizardPolicyFilterSet
           
protected  Set<WysiwygPolicyFilter> wysiwygPolicyFilterSet
           
 
Constructor Summary
PolicyManager()
           
 
Method Summary
 void addPolicyFilter(PolicyFilter pf)
          Add the given PolicyFilter to the Set of RightPolicyFilter.
 void afterImportData(org.jdom.Document doc, ImportOptions options, ImportStatus status, Map context)
           
 String afterRendering(String text, Locale userLocale)
           
 String afterRendering(String text, Locale userLocale, WikiRenderingHints hints)
           
 void afterSendMail(MailMessage msg, HashMap<String,Object> ctxt)
           
 void afterWizard(WizardContext context)
           
 boolean beforeImportData(org.jdom.Document doc, ImportOptions options, ImportStatus status, Map context)
           
 String beforeRendering(String text, Locale userLocale)
           
 String beforeRendering(String text, Locale userLocale, WikiRenderingHints hints)
           
 boolean beforeSendMail(MailMessage msg, HashMap<String,Object> ctxt)
           
 boolean beforeWizard(WizardContext context)
           
 boolean callCanBeReadBy(PublicationCriteria pubCriteria)
           
 boolean canBeReadBy(boolean isAuthorized, Category cat, Group grp, boolean checkAncestors)
           
 boolean canBeReadBy(boolean isAuthorized, Category cat, Member mbr, boolean searchInGroups, boolean checkAncestors)
           
 boolean canBeReadBy(boolean isAuthorized, Group grp, Member mbr)
           
 boolean canBeReadBy(boolean isAuthorized, Publication pub, Group grp, RightInfo rightInfo)
           
 boolean canBeReadBy(boolean isAuthorized, Publication pub, Member mbr, boolean searchInGroups, RightInfo rightInfo)
           
 boolean canCreateWorkspace(boolean isAuthorized, Member mbr, Workspace model)
           
 boolean canDeleteOther(boolean isAuthorized, Member mbr, Class<? extends Publication> clazz, Workspace ws)
           
 boolean canDeleteOther(boolean isAuthorized, Member mbr, Data data, RightInfo rightInfo)
           
 boolean canFollow(Member mbr, Publication pub)
           
 boolean canManageCategory(boolean isAuthorized, Member mbr, Category cat, boolean searchInGroups, boolean searchInParent)
           
 boolean canPublish(boolean isAuthorized, Member mbr, Class<? extends Publication> clazz, Set<? extends Workspace> wsSet)
           
 boolean canUpdateOther(boolean isAuthorized, Member mbr, Class<? extends Publication> clazz, Workspace ws)
           
 boolean canUpdateOther(boolean isAuthorized, Member mbr, Data data, RightInfo rightInfo)
           
 boolean canUseCategory(boolean isAuthorized, Member mbr, Category cat, boolean searchInGroups, boolean searchInParent)
           
 boolean canWorkOn(boolean isAuthorized, Publication pub, Member member, RightInfo rightInfo)
           
 ControllerStatus canWorkOn(ControllerStatus status, int op, Member mbr, Member member)
           
 Boolean checkAccess(Member member, String resource, Map<String,Object> context)
           
 boolean checkAfterUpload(DocUploadInfo info)
           
 boolean checkAfterValidateEntry(AbstractStatFieldListener listener, StatEntry entry, boolean jcms)
           
 boolean checkBeforeUpload(String fieldName, String contentType, String fileName)
           
 boolean checkBeforeValidateEntry(AbstractStatFieldListener listener, StatEntry entry, boolean jcms)
           
 Category checkCategory(Category workingCategory, Member loggedMember)
           
 StatListener checkCreateStatListener(PortletStat portlet, PortalElement report, StatListener listener)
           
 void checkCtxCategories(List<Category> ctxCategories)
           
 char[] checkCtxMenuItems(CategoryCtxMenu ctxMenu, Category cat, char[] letters)
           
 char[] checkCtxMenuItems(MemberCtxMenu ctxMenu, Member mbr, char[] letters)
           
 char[] checkCtxMenuItems(PublicationCtxMenu ctxMenu, Publication pub, char[] letters)
           
 char[] checkCtxMenuItems(WidgetCtxMenu ctxMenu, String menuItems, String chooserType, String chooserId, char[] letters)
           
 void checkDisplay(DisplayContext context, Category cat, Member loggedMember)
           
 void checkDisplay(DisplayContext context, Member member, Category home, Member loggedMember)
           
 void checkDisplay(DisplayContext context, Publication pub, Member loggedMember)
           
 void checkDisplayContext(DisplayContext context)
           
 void checkEndOfStatEntries(AbstractStatFieldListener listener, Map workspaceMap)
           
 void checkGeneratedReports(Map<String,String> jspMap, StatReport report, Member member)
           
 void checkGlobalWysiwygCSS(Set<String> globalStyle, Workspace workspace)
           
 ControllerStatus checkHtml(String str, String field)
           
 void checkJAVAMetaTemplates(Map<String,String> templateMap, String className, org.jdom.Element typeElt, boolean isExtension)
           
 void checkJSPMetaTemplates(Map<String,String> templateMap, String className, org.jdom.Element typeElt, boolean isExtension)
           
 void checkLocalWysiwygCSS(Set<String> localStyle, String globalStyle, Workspace workspace)
           
 String checkPermalink(String permalink, Data data)
          Deprecated. use checkPermalink(String, Data, Locale)
 String checkPermalink(String permalink, Data data, Locale locale)
           
 boolean checkPortal(PortalInterface portal, Publication pub, DisplayContext context, Member loggedMember, boolean skipRedirect, boolean skipExact, boolean modePreview, boolean jcmsChoice)
           
 void checkProcessEntry(Map workspaceMap, AbstractStatFieldListener listener, StatEntry entry, Object workspace)
           
 Publication checkPublication(Publication workingPublication, Member loggedMember, boolean isPreview)
           
 String checkRedirect(String redirectUrl, PortalRedirect redirect, DisplayContext context, Member loggedMember)
           
 void checkWorkingCategories(List<Category> workingCategories, Publication pub, Member loggedMember, boolean skipRedirect, boolean skipExact, boolean modePreview, Category[] ctxCategories)
           
 Workspace checkWorkspace(DisplayContext context, Workspace workspace, Member loggedMember)
           
 void checkWysiwygCSSFile(Set<String> cssFileSet)
           
 StatListener createStatListener(PortletStat portlet, PortalElement report, StatListener listener)
           
 boolean createThumbnail(FileDocument doc, File dest, ImageFormat format, int maxWidth, int maxHeight, String background)
           
 boolean createThumbnail(File src, File dest, ImageFormat format, int maxWidth, int maxHeight, String background)
           
 boolean createThumbnail(URL url, File dest, ImageFormat format, int maxWidth, int maxHeight, String background)
           
 void deployPlugin(Plugin plugin, String archiveName)
           
 boolean fetchMessage(MailMessage msg, boolean stored, Map<String,Object> context)
           
 void fillDescriptiveURLParamMap(Map<String,String> paramMap, Data data)
           
 void filterCategoryDocument(org.apache.lucene.document.Document doc, Category cat, String lang)
           
 void filterDisplayContext(PortalManager.DisplayContextParameters dcp)
           
 void filterFileDocument(org.apache.lucene.document.Document doc, File file)
           
 void filterMemberDocument(org.apache.lucene.document.Document doc, Member mbr)
           
 void filterMemberQueryHandler(AllMemberQueryHandler amqh, Map<String,Object> context)
           
 void filterMemberQueryHandler(DBMemberQueryHandler dbmqh, Map<String,Object> context)
           
 void filterMemberQueryHandler(MemberQueryHandler mqh, Map<String,Object> context)
           
 PageResult<Member> filterPageResult(AllMemberQueryHandler amqh, PageResult<Member> pr, Map<String,Object> context)
           
 PageResult<DBMember> filterPageResult(DBMemberQueryHandler dbmqh, PageResult<DBMember> pr, Map<String,Object> context)
           
 void filterPublicationDocument(org.apache.lucene.document.Document doc, Publication pub, String lang)
           
 List<String> filterResultList(AllMemberQueryHandler amqh, List<String> list, Map<String,Object> context)
           
 List<String> filterResultList(DBMemberQueryHandler dbmqh, List<String> list, Map<String,Object> context)
           
 Set<Member> filterResultSet(MemberQueryHandler mqh, Set<Member> resultSet, Map<String,Object> context)
           
 org.apache.lucene.analysis.Analyzer getAnalyzer(String lang, boolean isIndexing)
           
 boolean getBooleanFieldValue(JcmsJspContext ctxt, String fieldName, Data data, boolean computedValue)
           
 TreeSet<Category> getCategoryFieldValue(JcmsJspContext ctxt, String fieldName, Data data, TreeSet<Category> computedValue)
           
 Set<? extends ChannelPolicyFilter> getChannelPolicyFilterSet()
          Returns the set of ChannelPolicyFilter.
 String[] getConditionLabels(String[] labels, Class<? extends PortalElement> portlet, String userLang)
           
 String[] getConditionValues(String[] values, Class<? extends PortalElement> portlet)
           
 void getCssFiles(List<String> jcmsChoice)
           
 Set<? extends CtxMenuPolicyFilter> getCtxMenuPolicyFilterSet()
          Returns the set of CtxMenuPolicyFilter.
 Data getData(String id)
           
 PortalInterface getDefaultPortal(PortalInterface jcmsChoice, Member loggedMember)
           
 String getDescriptiveURLId(String descriptiveUrl, String id)
           
 String getDescriptiveURLLanguage(String descriptiveUrl, String lang)
           
 String getDescriptiveURLPath(Data data, Locale locale)
           
 String getDescriptiveURLText(String descriptiveURLtext, Data data, Locale locale)
           
 double getDoubleFieldValue(JcmsJspContext ctxt, String fieldName, Data data, double computedValue)
           
 Set<? extends ExportPolicyFilter> getExportPolicyFilterSet()
          Returns the set of ExportPolicyFilter.
 Object getFieldValue(JcmsJspContext ctxt, String fieldName, Data data, Object computedValue)
           
 Category getHomeCategory(Category jcmsChoice, Member loggedMember)
           
 Set<? extends ImportPolicyFilter> getImportPolicyFilterSet()
          Returns the set of ImportPolicyFilter.
 String getInnerClasses(PortalElement portlet)
           
 String getInnerStyles(PortalElement portlet)
           
 int getIntFieldValue(JcmsJspContext ctxt, String fieldName, Data data, int computedValue)
           
 HashSet<String> getLanguageStopWordsSet(String lang, HashSet<String> jcms)
           
 long getLongFieldValue(JcmsJspContext ctxt, String fieldName, Data data, long computedValue)
           
 Set<? extends LuceneSearchEnginePolicyFilter> getLuceneSearchEnginePolicyFilterSet()
          Returns the set of LuceneSearchEnginePolicyFilter.
 Set<? extends MailPolicyFilter> getMailPolicyFilterSet()
          Returns the set of MailPolicyFilter.
 Set<? extends MemberQueryFilter> getMemberQueryFilterSet()
          Returns the set of MemberQueryFilter.
 String getOutterClasses(PortalElement portlet)
           
 String getOutterStyles(PortalElement portlet)
           
 Set<? extends PluginPolicyFilter> getPluginPolicyFilterSet()
          Returns the set of PluginPolicyFilter.
 Map<String,Set<? extends PolicyFilter>> getPolicyFiltersMap()
          This methods returns a Map of String used as xml tags in statusXml.jsp and Set of Policy filter.
 Set<? extends PortalPolicyFilter> getPortalPolicyFilterSet()
          Returns the set of PortalPolicyFilter.
 Set<? extends RightPolicyFilter> getRightPolicyFilterSet()
          Returns the set of RightPolicyFilter.
 String getSkinTemplateUsage(Data data, String usage)
           
 Set<? extends StatPolicyFilter> getStatPolicyFilterSet()
          Returns the set of StatPolicyFilter.
 int getStatus(Member mbr, int status)
           
 TypeTemplateEntry getTemplateEntry(String usage, Class<? extends Data> pubClass, Workspace ws, TypeTemplateEntry tte)
           
 TypeTemplateEntry getTemplateEntry(String usage, Data data, TypeTemplateEntry tte)
           
 Set<? extends TemplatePolicyFilter> getTemplatePolicyFilterSet()
          Returns the set of TemplatePolicyFilter.
 String getTemplateUsage(Class<?> pubClass, String usage)
           
 String getTemplateUsage(Data data, String usage)
           
 Set<? extends ThumbnailPolicyFilter> getThumbnailPolicyFilterSet()
          Returns the set of ThumbnailPolicyFilter.
 String getTreeCatNodeExtraContent(TreeCat treecat, String extraContent, Category cat, int level, int pubcount)
           
 Set<? extends WebdavPolicyFilter> getWebdavPolicyFilterSet()
          Returns the set of WebdavPolicyFilter.
 Set<? extends WidgetPolicyFilter> getWidgetPolicyFilterSet()
          Returns the set of WidgetPolicyFilter.
 Set<? extends WikiPolicyFilter> getWikiPolicyFilterSet()
          Returns the set of WikiPolicyFilter.
 Set<? extends WizardPolicyFilter> getWizardPolicyFilterSet()
          Returns the set of WizardPolicyFilter.
 Set<Workspace> getWorkspaceSet(Set<Workspace> workspaceSet, Member mbr)
           
 Set<? extends WysiwygPolicyFilter> getWysiwygPolicyFilterSet()
          Returns the set of WysiwygPolicyFilter.
 String handleCategoryName(String computedName, Category cat, WizardContext ctxt)
           
 void handleCondition(String[] conditions)
           
 void handleCtxMenuItems(StringBuffer sb, CategoryCtxMenu ctxMenu, Category cat)
           
 int handleCtxMenuItems(StringBuffer sb, CategoryCtxMenu ctxMenu, Category cat, char letter)
           
 void handleCtxMenuItems(StringBuffer sb, MemberCtxMenu ctxMenu, Member mbr)
           
 int handleCtxMenuItems(StringBuffer sb, MemberCtxMenu ctxMenu, Member mbr, char letter)
           
 void handleCtxMenuItems(StringBuffer sb, PublicationCtxMenu ctxMenu, Publication pub)
           
 int handleCtxMenuItems(StringBuffer sb, PublicationCtxMenu ctxMenu, Publication pub, char letter)
           
 void handleCtxMenuItems(StringBuffer sb, WidgetCtxMenu ctxMenu, String menuItems, String chooserType, String chooserId)
           
 int handleCtxMenuItems(StringBuffer sb, WidgetCtxMenu ctxMenu, String menuItems, String chooserType, String chooserId, char letter)
           
 void handleWebdavHeaders(Map<String,String> headers, WebdavContext ctxt)
           
 void handleWebdavProperties(Set<String> propAllSet)
           
 String handleWebdavProperty(String property, String jcms, WebdavResource res, WebdavContext ctxt)
           
 void handleWikiToolbar(WikiToolbar tb, StringBuffer sb)
           
 void initCtxMenu(CategoryCtxMenu ctxMenu, JcmsJspContext jcmsContext)
           
 void initCtxMenu(MemberCtxMenu ctxMenu, JcmsJspContext jcmsContext)
           
 void initCtxMenu(PublicationCtxMenu ctxMenu, JcmsJspContext jcmsContext)
           
 void initCtxMenu(WidgetCtxMenu ctxMenu, JcmsJspContext jcmsContext)
           
 void initHeaders(Map<String,String> header, String key, JcmsJspContext context)
           
 void initJavaScriptCodeSet(Set<String> jsCodeSet, JcmsJspContext context)
           
 void initJavaScriptSet(Set<String> jsSet, JcmsJspContext context)
           
 void initListener(AbstractStatListener listener)
           
 boolean isAdmin(boolean isAdmin, Member member, Workspace workspace)
           
 boolean isValidImageSize(File imgFile, long width, long height, boolean jcms)
           
 boolean isWorker(boolean isWorker, Member member, Workspace ws)
           
 boolean loadWysiwygEditor(JcmsJspContext context, boolean load)
           
 void processDataExport(Data data, StringBuffer sb, Map context)
           
 void processDataSetExport(Set<? extends Data> dataSet, StringBuffer sb, Map context)
           
 void removePolicyFilter(PolicyFilter pf)
          Remove the given PolicyFilter to the Set of RightPolicyFilter.
 boolean sendFollowerNotification(Member mbr, Publication pub, Map context)
           
 boolean sendFollowerNotification(Publication pub, Map context)
           
 void setupHeaders(Map<String,String> header, String key, JcmsJspContext context)
           
 void setupPlugin(Plugin plugin)
           
 boolean silentFilterResource(boolean jcms, WebdavResource res, WebdavContext ctxt)
           
 boolean supportsThumbnail(FileDocument doc, boolean jcms)
           
 void uninstallPlugin(Plugin plugin)
           
 String updateCSS(String css, AbstractWidget widget)
           
 String updateHiddenActions(String hiddenActions, AbstractWidget widget)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REVISION

public static final String REVISION
See Also:
Constant Field Values

rightPolicyFilterSet

protected Set<RightPolicyFilter> rightPolicyFilterSet

channelPolicyFilterSet

protected Set<ChannelPolicyFilter> channelPolicyFilterSet

portalPolicyFilterSet

protected Set<PortalPolicyFilter> portalPolicyFilterSet

templatePolicyFilterSet

protected Set<TemplatePolicyFilter> templatePolicyFilterSet

statPolicyFilterSet

protected Set<StatPolicyFilter> statPolicyFilterSet

webdavPolicyFilterSet

protected Set<WebdavPolicyFilter> webdavPolicyFilterSet

widgetPolicyFilterSet

protected Set<WidgetPolicyFilter> widgetPolicyFilterSet

thumbnailPolicyFilterSet

protected Set<ThumbnailPolicyFilter> thumbnailPolicyFilterSet

luceneSearchEnginePolicyFilterSet

protected Set<LuceneSearchEnginePolicyFilter> luceneSearchEnginePolicyFilterSet

wikiPolicyFilterSet

protected Set<WikiPolicyFilter> wikiPolicyFilterSet

pluginPolicyFilterSet

protected Set<PluginPolicyFilter> pluginPolicyFilterSet

ctxmenuPolicyFilterSet

protected Set<CtxMenuPolicyFilter> ctxmenuPolicyFilterSet

wysiwygPolicyFilterSet

protected Set<WysiwygPolicyFilter> wysiwygPolicyFilterSet

exportPolicyFilterSet

protected Set<ExportPolicyFilter> exportPolicyFilterSet

importPolicyFilterSet

protected Set<ImportPolicyFilter> importPolicyFilterSet

wizardPolicyFilterSet

protected Set<WizardPolicyFilter> wizardPolicyFilterSet

mailPolicyFilterSet

protected Set<MailPolicyFilter> mailPolicyFilterSet

memberQueryFilterSet

protected Set<MemberQueryFilter> memberQueryFilterSet

memberPolicyFilterSet

protected Set<MemberPolicyFilter> memberPolicyFilterSet

pubFollowerPolicyFilterSet

protected Set<PublicationFollowerPolicyFilter> pubFollowerPolicyFilterSet
Constructor Detail

PolicyManager

public PolicyManager()
Method Detail

addPolicyFilter

public void addPolicyFilter(PolicyFilter pf)
Add the given PolicyFilter to the Set of RightPolicyFilter.

Parameters:
pf - the RightPolicyFilter to be added
Since:
jcms-5.7.0

removePolicyFilter

public void removePolicyFilter(PolicyFilter pf)
Remove the given PolicyFilter to the Set of RightPolicyFilter.

Parameters:
pf - the RightPolicyFilter to be added
Since:
jcms-5.7.0

getRightPolicyFilterSet

public Set<? extends RightPolicyFilter> getRightPolicyFilterSet()
Returns the set of RightPolicyFilter. Warning: the set is not protected. Before any iteration, the set should be duplicated to avoid ConcurentModificationException. It MUST NOT be updated, instead use add/remove methods

Returns:
Set the set of RightPolicyFilter
Since:
jcms-5.7.0

getChannelPolicyFilterSet

public Set<? extends ChannelPolicyFilter> getChannelPolicyFilterSet()
Returns the set of ChannelPolicyFilter. Warning: the set is not protected. Before any iteration, the set should be duplicated to avoid ConcurentModificationException. It MUST NOT be updated, instead use add/remove methods

Returns:
Set the set of ChannelPolicyFilter
Since:
jcms-5.7.0

getPortalPolicyFilterSet

public Set<? extends PortalPolicyFilter> getPortalPolicyFilterSet()
Returns the set of PortalPolicyFilter. Warning: the set is not protected. Before any iteration, the set should be duplicated to avoid ConcurentModificationException. It MUST NOT be updated, instead use add/remove methods

Returns:
Set the set of PortalPolicyFilter
Since:
jcms-5.7.0

getTemplatePolicyFilterSet

public Set<? extends TemplatePolicyFilter> getTemplatePolicyFilterSet()
Returns the set of TemplatePolicyFilter. Warning: the set is not protected. Before any iteration, the set should be duplicated to avoid ConcurentModificationException. It MUST NOT be updated, instead use add/remove methods

Returns:
Set the set of TemplatePolicyFilter
Since:
jcms-5.7.0

getStatPolicyFilterSet

public Set<? extends StatPolicyFilter> getStatPolicyFilterSet()
Returns the set of StatPolicyFilter. Warning: the set is not protected. Before any iteration, the set should be duplicated to avoid ConcurentModificationException. It MUST NOT be updated, instead use add/remove methods

Returns:
Set the set of StatPolicyFilter
Since:
jcms-5.7.0

getWebdavPolicyFilterSet

public Set<? extends WebdavPolicyFilter> getWebdavPolicyFilterSet()
Returns the set of WebdavPolicyFilter. Warning: the set is not protected. Before any iteration, the set should be duplicated to avoid ConcurentModificationException. It MUST NOT be updated, instead use add/remove methods

Returns:
Set the set of WebdavPolicyFilter
Since:
jcms-5.7.0

getWidgetPolicyFilterSet

public Set<? extends WidgetPolicyFilter> getWidgetPolicyFilterSet()
Returns the set of WidgetPolicyFilter. Warning: the set is not protected. Before any iteration, the set should be duplicated to avoid ConcurentModificationException. It MUST NOT be updated, instead use add/remove methods

Returns:
Set the set of WidgetPolicyFilter
Since:
jcms-5.7.0

getThumbnailPolicyFilterSet

public Set<? extends ThumbnailPolicyFilter> getThumbnailPolicyFilterSet()
Returns the set of ThumbnailPolicyFilter. Warning: the set is not protected. Before any iteration, the set should be duplicated to avoid ConcurentModificationException. It MUST NOT be updated, instead use add/remove methods

Returns:
Set the set of ThumbnailPolicyFilter
Since:
jcms-5.7.0

getLuceneSearchEnginePolicyFilterSet

public Set<? extends LuceneSearchEnginePolicyFilter> getLuceneSearchEnginePolicyFilterSet()
Returns the set of LuceneSearchEnginePolicyFilter. Warning: the set is not protected. Before any iteration, the set should be duplicated to avoid ConcurentModificationException. It MUST NOT be updated, instead use add/remove methods

Returns:
Set the set of LuceneSearchEnginePolicyFilter
Since:
jcms-5.7.0

getWikiPolicyFilterSet

public Set<? extends WikiPolicyFilter> getWikiPolicyFilterSet()
Returns the set of WikiPolicyFilter. Warning: the set is not protected. Before any iteration, the set should be duplicated to avoid ConcurentModificationException. It MUST NOT be updated, instead use add/remove methods

Returns:
Set the set of WikiPolicyFilter
Since:
jcms-5.7.0

getPluginPolicyFilterSet

public Set<? extends PluginPolicyFilter> getPluginPolicyFilterSet()
Returns the set of PluginPolicyFilter. Warning: the set is not protected. Before any iteration, the set should be duplicated to avoid ConcurentModificationException. It MUST NOT be updated, instead use add/remove methods

Returns:
Set the set of PluginPolicyFilter
Since:
jcms-5.7.0

getCtxMenuPolicyFilterSet

public Set<? extends CtxMenuPolicyFilter> getCtxMenuPolicyFilterSet()
Returns the set of CtxMenuPolicyFilter. Warning: the set is not protected. Before any iteration, the set should be duplicated to avoid ConcurentModificationException. It MUST NOT be updated, instead use add/remove methods

Returns:
Set the set of CtxMenuPolicyFilter
Since:
jcms-5.7.0

getWysiwygPolicyFilterSet

public Set<? extends WysiwygPolicyFilter> getWysiwygPolicyFilterSet()
Returns the set of WysiwygPolicyFilter. Warning: the set is not protected. Before any iteration, the set should be duplicated to avoid ConcurentModificationException. It MUST NOT be updated, instead use add/remove methods

Returns:
Set the set of WysiwygPolicyFilter
Since:
jcms-5.7.0

getExportPolicyFilterSet

public Set<? extends ExportPolicyFilter> getExportPolicyFilterSet()
Returns the set of ExportPolicyFilter. Warning: the set is not protected. Before any iteration, the set should be duplicated to avoid ConcurentModificationException. It MUST NOT be updated, instead use add/remove methods

Returns:
Set the set of ExportPolicyFilter
Since:
jcms-5.7.2

getImportPolicyFilterSet

public Set<? extends ImportPolicyFilter> getImportPolicyFilterSet()
Returns the set of ImportPolicyFilter. Warning: the set is not protected. Before any iteration, the set should be duplicated to avoid ConcurentModificationException. It MUST NOT be updated, instead use add/remove methods

Returns:
Set the set of ImportPolicyFilter
Since:
jcms-5.7.2

getWizardPolicyFilterSet

public Set<? extends WizardPolicyFilter> getWizardPolicyFilterSet()
Returns the set of WizardPolicyFilter. Warning: the set is not protected. Before any iteration, the set should be duplicated to avoid ConcurentModificationException. It MUST NOT be updated, instead use add/remove methods

Returns:
Set the set of WizardPolicyFilter
Since:
jcms-5.7.2

getMailPolicyFilterSet

public Set<? extends MailPolicyFilter> getMailPolicyFilterSet()
Returns the set of MailPolicyFilter. Warning: the set is not protected. Before any iteration, the set should be duplicated to avoid ConcurentModificationException. It MUST NOT be updated, instead use add/remove methods

Returns:
Set the set of MailPolicyFilter
Since:
jcms-6.0.1

getMemberQueryFilterSet

public Set<? extends MemberQueryFilter> getMemberQueryFilterSet()
Returns the set of MemberQueryFilter. Warning: the set is not protected. Before any iteration, the set should be duplicated to avoid ConcurentModificationException. It MUST NOT be updated, instead use add/remove methods

Returns:
Set the set of MemberQueryFilter
Since:
jcms-6.0.1

getPolicyFiltersMap

public Map<String,Set<? extends PolicyFilter>> getPolicyFiltersMap()
This methods returns a Map of String used as xml tags in statusXml.jsp and Set of Policy filter.

Returns:
the map
Since:
jcms-6.1.1

checkJSPMetaTemplates

public void checkJSPMetaTemplates(Map<String,String> templateMap,
                                  String className,
                                  org.jdom.Element typeElt,
                                  boolean isExtension)
Since:
jcms-5.7.0
See Also:
ChannelPolicyFilter.checkJSPMetaTemplates(Map, String, Element, boolean)

checkJAVAMetaTemplates

public void checkJAVAMetaTemplates(Map<String,String> templateMap,
                                   String className,
                                   org.jdom.Element typeElt,
                                   boolean isExtension)
Since:
jcms-5.7.0
See Also:
ChannelPolicyFilter.checkJAVAMetaTemplates(Map, String, Element, boolean)

getData

public Data getData(String id)
Since:
jcms-6.0
See Also:
ChannelPolicyFilter.getData(String)

canUpdateOther

public boolean canUpdateOther(boolean isAuthorized,
                              Member mbr,
                              Data data,
                              RightInfo rightInfo)
Since:
jcms-5.7.1
See Also:
RightPolicyFilter.canUpdateOther(boolean, Member, Data)

canDeleteOther

public boolean canDeleteOther(boolean isAuthorized,
                              Member mbr,
                              Data data,
                              RightInfo rightInfo)
Since:
jcms-5.7.1
See Also:
RightPolicyFilter.canDeleteOther(boolean, Member, Data)

callCanBeReadBy

public boolean callCanBeReadBy(PublicationCriteria pubCriteria)
Since:
jcms-7.0.0
See Also:
RightPolicyFilter.canBeReadBy(boolean, Publication, Member, boolean)

canBeReadBy

public boolean canBeReadBy(boolean isAuthorized,
                           Publication pub,
                           Member mbr,
                           boolean searchInGroups,
                           RightInfo rightInfo)
Since:
jcms-5.7.0
See Also:
RightPolicyFilter.canBeReadBy(boolean, Publication, Member, boolean)

canBeReadBy

public boolean canBeReadBy(boolean isAuthorized,
                           Publication pub,
                           Group grp,
                           RightInfo rightInfo)
Since:
jcms-5.7.0
See Also:
RightPolicyFilter.canBeReadBy(boolean, Publication, Group)

canWorkOn

public boolean canWorkOn(boolean isAuthorized,
                         Publication pub,
                         Member member,
                         RightInfo rightInfo)
Since:
jcms-5.7.0
See Also:
RightPolicyFilter.canWorkOn(boolean, Publication, Member)

canWorkOn

public ControllerStatus canWorkOn(ControllerStatus status,
                                  int op,
                                  Member mbr,
                                  Member member)
Since:
jcms-6.1.0
See Also:
RightPolicyFilter.canWorkOn(ControllerStatus, int, Member, Member)

isWorker

public boolean isWorker(boolean isWorker,
                        Member member,
                        Workspace ws)
Since:
jcms-5.7.1
See Also:
RightPolicyFilter.isWorker(boolean, Member, Workspace)

canPublish

public boolean canPublish(boolean isAuthorized,
                          Member mbr,
                          Class<? extends Publication> clazz,
                          Set<? extends Workspace> wsSet)
Since:
jcms-5.7.1
See Also:
RightPolicyFilter.canPublish(boolean, Member, Class, Set)

canUpdateOther

public boolean canUpdateOther(boolean isAuthorized,
                              Member mbr,
                              Class<? extends Publication> clazz,
                              Workspace ws)
Since:
jcms-5.7.1
See Also:
RightPolicyFilter.canUpdateOther(boolean, Member, Class, Workspace)

canDeleteOther

public boolean canDeleteOther(boolean isAuthorized,
                              Member mbr,
                              Class<? extends Publication> clazz,
                              Workspace ws)
Since:
jcms-5.7.1
See Also:
RightPolicyFilter.canDeleteOther(boolean, Member, Class, Workspace)

canBeReadBy

public boolean canBeReadBy(boolean isAuthorized,
                           Category cat,
                           Member mbr,
                           boolean searchInGroups,
                           boolean checkAncestors)
Since:
jcms-5.7.0
See Also:
RightPolicyFilter.canBeReadBy(boolean, Category, Member, boolean, boolean)

canBeReadBy

public boolean canBeReadBy(boolean isAuthorized,
                           Category cat,
                           Group grp,
                           boolean checkAncestors)
Since:
jcms-5.7.0
See Also:
RightPolicyFilter.canBeReadBy(boolean, Category, Group, boolean)

canUseCategory

public boolean canUseCategory(boolean isAuthorized,
                              Member mbr,
                              Category cat,
                              boolean searchInGroups,
                              boolean searchInParent)
Since:
jcms-5.7.1
See Also:
RightPolicyFilter.canUseCategory(boolean, Member, Category, boolean, boolean)

canManageCategory

public boolean canManageCategory(boolean isAuthorized,
                                 Member mbr,
                                 Category cat,
                                 boolean searchInGroups,
                                 boolean searchInParent)
Since:
jcms-5.7.1
See Also:
RightPolicyFilter.canManageCategory(boolean, Member, Category, boolean, boolean)

canCreateWorkspace

public boolean canCreateWorkspace(boolean isAuthorized,
                                  Member mbr,
                                  Workspace model)
Since:
jcms-5.7.3
See Also:
RightPolicyFilter.canCreateWorkspace(boolean, Member, Workspace)

getWorkspaceSet

public Set<Workspace> getWorkspaceSet(Set<Workspace> workspaceSet,
                                      Member mbr)
Since:
jcms-7.0.2
See Also:
RightPolicyFilter.getWorkspaceSet(Set, Member)

isAdmin

public boolean isAdmin(boolean isAdmin,
                       Member member,
                       Workspace workspace)
Since:
jcms-7.1 jcms-7.0.4
See Also:
RightPolicyFilter.isAdmin(boolean, Member, Workspace)

canBeReadBy

public boolean canBeReadBy(boolean isAuthorized,
                           Group grp,
                           Member mbr)
Since:
jcms-5.7.0
See Also:
RightPolicyFilter.canBeReadBy(boolean, Group, Member)

checkBeforeUpload

public boolean checkBeforeUpload(String fieldName,
                                 String contentType,
                                 String fileName)
Since:
jcms-5.7.0
See Also:
RightPolicyFilter.checkBeforeUpload(String, String, String)

checkAfterUpload

public boolean checkAfterUpload(DocUploadInfo info)
Since:
jcms-5.7.0
See Also:
RightPolicyFilter.checkAfterUpload(DocUploadInfo)

checkHtml

public ControllerStatus checkHtml(String str,
                                  String field)
See Also:
RightPolicyFilter.checkHtml(String, String)

checkAccess

public Boolean checkAccess(Member member,
                           String resource,
                           Map<String,Object> context)
Since:
jcms-7.0.0
See Also:
RightPolicyFilter.checkAccess(Member, String, Map)

getHomeCategory

public Category getHomeCategory(Category jcmsChoice,
                                Member loggedMember)
Since:
jcms-7.1.2
See Also:
PortalPolicyFilter.getHomeCategory(Category,Member)

getDefaultPortal

public PortalInterface getDefaultPortal(PortalInterface jcmsChoice,
                                        Member loggedMember)
Since:
jcms-7.1.2
See Also:
PortalPolicyFilter.getDefaultPortal(PortalInterface,Member)

filterDisplayContext

public void filterDisplayContext(PortalManager.DisplayContextParameters dcp)
See Also:
PortalPolicyFilter.filterDisplayContext(com.jalios.jcms.portlet.PortalManager.DisplayContextParameters)

checkCategory

public Category checkCategory(Category workingCategory,
                              Member loggedMember)
See Also:
PortalPolicyFilter.checkCategory(Category, Member)

checkPublication

public Publication checkPublication(Publication workingPublication,
                                    Member loggedMember,
                                    boolean isPreview)
See Also:
PortalPolicyFilter.checkPublication(Publication, Member, boolean)

checkCtxCategories

public void checkCtxCategories(List<Category> ctxCategories)
See Also:
PortalPolicyFilter.checkCtxCategories(List)

checkPortal

public boolean checkPortal(PortalInterface portal,
                           Publication pub,
                           DisplayContext context,
                           Member loggedMember,
                           boolean skipRedirect,
                           boolean skipExact,
                           boolean modePreview,
                           boolean jcmsChoice)
See Also:
PortalPolicyFilter.checkPortal(PortalInterface, Publication, DisplayContext, Member, boolean, boolean, boolean, boolean)

checkWorkingCategories

public void checkWorkingCategories(List<Category> workingCategories,
                                   Publication pub,
                                   Member loggedMember,
                                   boolean skipRedirect,
                                   boolean skipExact,
                                   boolean modePreview,
                                   Category[] ctxCategories)
See Also:
PortalPolicyFilter.checkWorkingCategories(List, Publication, Member, boolean, boolean, boolean, Category[])

checkDisplay

public void checkDisplay(DisplayContext context,
                         Category cat,
                         Member loggedMember)
See Also:
PortalPolicyFilter.checkDisplay(DisplayContext, Category, Member)

checkDisplay

public void checkDisplay(DisplayContext context,
                         Publication pub,
                         Member loggedMember)
See Also:
PortalPolicyFilter.checkDisplay(DisplayContext, Publication, Member)

checkDisplay

public void checkDisplay(DisplayContext context,
                         Member member,
                         Category home,
                         Member loggedMember)
See Also:
PortalPolicyFilter.checkDisplay(DisplayContext, Member, Category, Member)

checkWorkspace

public Workspace checkWorkspace(DisplayContext context,
                                Workspace workspace,
                                Member loggedMember)
See Also:
PortalPolicyFilter.checkWorkspace(DisplayContext, Workspace, Member)

checkDisplayContext

public void checkDisplayContext(DisplayContext context)
See Also:
PortalPolicyFilter.checkDisplayContext(DisplayContext)

checkRedirect

public String checkRedirect(String redirectUrl,
                            PortalRedirect redirect,
                            DisplayContext context,
                            Member loggedMember)
See Also:
PortalPolicyFilter.checkRedirect(String, PortalRedirect, DisplayContext, Member)

checkPermalink

public String checkPermalink(String permalink,
                             Data data)
Deprecated. use checkPermalink(String, Data, Locale)


checkPermalink

public String checkPermalink(String permalink,
                             Data data,
                             Locale locale)
See Also:
PortalPolicyFilter.checkPermalink(String, Data, Locale)

getDescriptiveURLText

public String getDescriptiveURLText(String descriptiveURLtext,
                                    Data data,
                                    Locale locale)
See Also:
PortalPolicyFilter.getDescriptiveURLText(String, Data, Locale)

getDescriptiveURLPath

public String getDescriptiveURLPath(Data data,
                                    Locale locale)
See Also:
PortalPolicyFilter.getDescriptiveURLPath(Data, Locale)

getDescriptiveURLId

public String getDescriptiveURLId(String descriptiveUrl,
                                  String id)
See Also:
PortalPolicyFilter.getDescriptiveURLId(String, String)

getDescriptiveURLLanguage

public String getDescriptiveURLLanguage(String descriptiveUrl,
                                        String lang)
See Also:
PortalPolicyFilter.getDescriptiveURLLanguage(String, String)

fillDescriptiveURLParamMap

public void fillDescriptiveURLParamMap(Map<String,String> paramMap,
                                       Data data)
Since:
jcms-7.0.0
See Also:
PortalPolicyFilter.fillDescriptiveURLParameterMap(Map, Data)

getFieldValue

public Object getFieldValue(JcmsJspContext ctxt,
                            String fieldName,
                            Data data,
                            Object computedValue)
See Also:
PortalPolicyFilter.getFieldValue(JcmsJspContext, String, Data, Object)

getIntFieldValue

public int getIntFieldValue(JcmsJspContext ctxt,
                            String fieldName,
                            Data data,
                            int computedValue)
Since:
jcms-6.0.0
See Also:
PortalPolicyFilter.getIntFieldValue(JcmsJspContext, String, Data, int)

getLongFieldValue

public long getLongFieldValue(JcmsJspContext ctxt,
                              String fieldName,
                              Data data,
                              long computedValue)
Since:
jcms-6.0.2, jcms-6.1.1
See Also:
PortalPolicyFilter.getLongFieldValue(JcmsJspContext, String, Data, long)

getDoubleFieldValue

public double getDoubleFieldValue(JcmsJspContext ctxt,
                                  String fieldName,
                                  Data data,
                                  double computedValue)
Since:
jcms-6.0.2, jcms-6.1.1
See Also:
PortalPolicyFilter.getDoubleFieldValue(JcmsJspContext, String, Data, double)

getBooleanFieldValue

public boolean getBooleanFieldValue(JcmsJspContext ctxt,
                                    String fieldName,
                                    Data data,
                                    boolean computedValue)
Since:
jcms-6.0.2, jcms-6.1.1
See Also:
PortalPolicyFilter.getBooleanFieldValue(JcmsJspContext, String, Data, boolean)

getCategoryFieldValue

public TreeSet<Category> getCategoryFieldValue(JcmsJspContext ctxt,
                                               String fieldName,
                                               Data data,
                                               TreeSet<Category> computedValue)
Since:
jcms-6.0.2, jcms-6.1.1
See Also:
PortalPolicyFilter.getCategoryFieldValue(JcmsJspContext, String, Data, TreeSet)

initHeaders

public void initHeaders(Map<String,String> header,
                        String key,
                        JcmsJspContext context)
See Also:
PortalPolicyFilter.initHeaders(Map, String, JcmsJspContext)

setupHeaders

public void setupHeaders(Map<String,String> header,
                         String key,
                         JcmsJspContext context)
See Also:
PortalPolicyFilter.setupHeaders(Map, String, JcmsJspContext)

initJavaScriptSet

public void initJavaScriptSet(Set<String> jsSet,
                              JcmsJspContext context)
See Also:
PortalPolicyFilter.initJavaScriptSet(Set, JcmsJspContext)

initJavaScriptCodeSet

public void initJavaScriptCodeSet(Set<String> jsCodeSet,
                                  JcmsJspContext context)
See Also:
PortalPolicyFilter.initJavaScriptCodeSet(Set, JcmsJspContext)

getTemplateEntry

public TypeTemplateEntry getTemplateEntry(String usage,
                                          Data data,
                                          TypeTemplateEntry tte)
See Also:
TemplatePolicyFilter.getTemplateEntry(String, Data, TypeTemplateEntry)

getTemplateEntry

public TypeTemplateEntry getTemplateEntry(String usage,
                                          Class<? extends Data> pubClass,
                                          Workspace ws,
                                          TypeTemplateEntry tte)
See Also:
TemplatePolicyFilter.getTemplateEntry(String, Class, Workspace, TypeTemplateEntry)

getTemplateUsage

public String getTemplateUsage(Data data,
                               String usage)
See Also:
TemplatePolicyFilter.getTemplateUsage(Data, String)

getSkinTemplateUsage

public String getSkinTemplateUsage(Data data,
                                   String usage)
See Also:
TemplatePolicyFilter.getSkinTemplateUsage(Data, String)

getTemplateUsage

public String getTemplateUsage(Class<?> pubClass,
                               String usage)
See Also:
TemplatePolicyFilter.getTemplateUsage(Class, String)

getInnerClasses

public String getInnerClasses(PortalElement portlet)
See Also:
TemplatePolicyFilter.getInnerClasses(PortalElement)

getOutterClasses

public String getOutterClasses(PortalElement portlet)
See Also:
TemplatePolicyFilter.getOutterClasses(PortalElement)

getInnerStyles

public String getInnerStyles(PortalElement portlet)
See Also:
TemplatePolicyFilter.getInnerStyles(PortalElement)

getOutterStyles

public String getOutterStyles(PortalElement portlet)
See Also:
TemplatePolicyFilter.getOutterStyles(PortalElement)

getCssFiles

public void getCssFiles(List<String> jcmsChoice)
See Also:
TemplatePolicyFilter.getCssFiles(List)

getConditionLabels

public String[] getConditionLabels(String[] labels,
                                   Class<? extends PortalElement> portlet,
                                   String userLang)
See Also:
TemplatePolicyFilter.getConditionLabels(String[], Class, String)

getConditionValues

public String[] getConditionValues(String[] values,
                                   Class<? extends PortalElement> portlet)
See Also:
TemplatePolicyFilter.getConditionValues(String[], Class)

handleCondition

public void handleCondition(String[] conditions)
See Also:
TemplatePolicyFilter.handleCondition(String[])

initListener

public void initListener(AbstractStatListener listener)
See Also:
StatPolicyFilter.initListener(AbstractStatListener)

checkEndOfStatEntries

public void checkEndOfStatEntries(AbstractStatFieldListener listener,
                                  Map workspaceMap)
See Also:
StatPolicyFilter.checkEndOfStatEntries(AbstractStatFieldListener, Map)

checkBeforeValidateEntry

public boolean checkBeforeValidateEntry(AbstractStatFieldListener listener,
                                        StatEntry entry,
                                        boolean jcms)
See Also:
StatPolicyFilter.checkBeforeValidateEntry(AbstractStatFieldListener, StatEntry, boolean)

checkAfterValidateEntry

public boolean checkAfterValidateEntry(AbstractStatFieldListener listener,
                                       StatEntry entry,
                                       boolean jcms)
See Also:
StatPolicyFilter.checkAfterValidateEntry(AbstractStatFieldListener, StatEntry, boolean)

checkProcessEntry

public void checkProcessEntry(Map workspaceMap,
                              AbstractStatFieldListener listener,
                              StatEntry entry,
                              Object workspace)
See Also:
StatPolicyFilter.checkProcessEntry(Map, AbstractStatFieldListener, StatEntry, Object)

checkGeneratedReports

public void checkGeneratedReports(Map<String,String> jspMap,
                                  StatReport report,
                                  Member member)
See Also:
StatPolicyFilter.checkGeneratedReports(Map, StatReport, Member)

createStatListener

public StatListener createStatListener(PortletStat portlet,
                                       PortalElement report,
                                       StatListener listener)
See Also:
StatPolicyFilter.createStatListener(PortletStat, PortalElement, StatListener)

checkCreateStatListener

public StatListener checkCreateStatListener(PortletStat portlet,
                                            PortalElement report,
                                            StatListener listener)
See Also:
StatPolicyFilter.checkCreateStatListener(PortletStat, PortalElement, StatListener)

handleWebdavHeaders

public void handleWebdavHeaders(Map<String,String> headers,
                                WebdavContext ctxt)
See Also:
WebdavPolicyFilter.handleWebdavHeaders(Map, WebdavContext)

handleWebdavProperties

public void handleWebdavProperties(Set<String> propAllSet)
See Also:
WebdavPolicyFilter.handleWebdavProperties(Set)

handleWebdavProperty

public String handleWebdavProperty(String property,
                                   String jcms,
                                   WebdavResource res,
                                   WebdavContext ctxt)
See Also:
WebdavPolicyFilter.handleWebdavProperty(String, String, WebdavResource, WebdavContext)

silentFilterResource

public boolean silentFilterResource(boolean jcms,
                                    WebdavResource res,
                                    WebdavContext ctxt)
See Also:
WebdavPolicyFilter.silentFilterResource(boolean, WebdavResource, WebdavContext)

updateHiddenActions

public String updateHiddenActions(String hiddenActions,
                                  AbstractWidget widget)

updateCSS

public String updateCSS(String css,
                        AbstractWidget widget)
See Also:
WidgetPolicyFilter.updateCSS(String, AbstractWidget)

getTreeCatNodeExtraContent

public String getTreeCatNodeExtraContent(TreeCat treecat,
                                         String extraContent,
                                         Category cat,
                                         int level,
                                         int pubcount)
See Also:
WidgetPolicyFilter.getTreeCatNodeExtraContent(TreeCat, String, Category, int, int)

createThumbnail

public boolean createThumbnail(File src,
                               File dest,
                               ImageFormat format,
                               int maxWidth,
                               int maxHeight,
                               String background)
See Also:
ThumbnailPolicyFilter.createThumbnail(File, File, ImageFormat, int, int, String, boolean)

isValidImageSize

public boolean isValidImageSize(File imgFile,
                                long width,
                                long height,
                                boolean jcms)
See Also:
ThumbnailPolicyFilter.isValidImageSize(File, long, long, boolean)

supportsThumbnail

public boolean supportsThumbnail(FileDocument doc,
                                 boolean jcms)
See Also:
ThumbnailPolicyFilter.supportsThumbnail(FileDocument, boolean)

createThumbnail

public boolean createThumbnail(FileDocument doc,
                               File dest,
                               ImageFormat format,
                               int maxWidth,
                               int maxHeight,
                               String background)
See Also:
ThumbnailPolicyFilter.createThumbnail(FileDocument, File, ImageFormat, int, int, String, boolean)

createThumbnail

public boolean createThumbnail(URL url,
                               File dest,
                               ImageFormat format,
                               int maxWidth,
                               int maxHeight,
                               String background)
See Also:
ThumbnailPolicyFilter.createThumbnail(URL, File, ImageFormat, int, int, String, boolean)

getLanguageStopWordsSet

public HashSet<String> getLanguageStopWordsSet(String lang,
                                               HashSet<String> jcms)

getAnalyzer

public org.apache.lucene.analysis.Analyzer getAnalyzer(String lang,
                                                       boolean isIndexing)
See Also:
LuceneSearchEnginePolicyFilter.getAnalyzer(String, boolean, Analyzer)

filterPublicationDocument

public void filterPublicationDocument(org.apache.lucene.document.Document doc,
                                      Publication pub,
                                      String lang)
See Also:
LuceneSearchEnginePolicyFilter.filterPublicationDocument(Document, Publication, String)

filterCategoryDocument

public void filterCategoryDocument(org.apache.lucene.document.Document doc,
                                   Category cat,
                                   String lang)
See Also:
LuceneSearchEnginePolicyFilter.filterCategoryDocument(Document, Category, String)

filterFileDocument

public void filterFileDocument(org.apache.lucene.document.Document doc,
                               File file)
See Also:
LuceneSearchEnginePolicyFilter.filterFileDocument(Document, File)

filterMemberDocument

public void filterMemberDocument(org.apache.lucene.document.Document doc,
                                 Member mbr)
See Also:
LuceneSearchEnginePolicyFilter.filterMemberDocument(Document, Member)

beforeRendering

public String beforeRendering(String text,
                              Locale userLocale,
                              WikiRenderingHints hints)
See Also:
WikiPolicyFilter.beforeRendering(String, Locale, WikiRenderingHints)

afterRendering

public String afterRendering(String text,
                             Locale userLocale,
                             WikiRenderingHints hints)
See Also:
WikiPolicyFilter.afterRendering(String, Locale, WikiRenderingHints)

handleWikiToolbar

public void handleWikiToolbar(WikiToolbar tb,
                              StringBuffer sb)
See Also:
WikiPolicyFilter.afterRendering(String, Locale, WikiRenderingHints)

setupPlugin

public void setupPlugin(Plugin plugin)
See Also:
PluginPolicyFilter.setupPlugin(Plugin)

deployPlugin

public void deployPlugin(Plugin plugin,
                         String archiveName)
See Also:
PluginPolicyFilter.deployPlugin(Plugin,String)

uninstallPlugin

public void uninstallPlugin(Plugin plugin)
See Also:
PluginPolicyFilter.uninstallPlugin(Plugin)

initCtxMenu

public void initCtxMenu(PublicationCtxMenu ctxMenu,
                        JcmsJspContext jcmsContext)
See Also:
CtxMenuPolicyFilter.initCtxMenu(PublicationCtxMenu, JcmsJspContext)

initCtxMenu

public void initCtxMenu(CategoryCtxMenu ctxMenu,
                        JcmsJspContext jcmsContext)
See Also:
CtxMenuPolicyFilter.initCtxMenu(CategoryCtxMenu, JcmsJspContext)

initCtxMenu

public void initCtxMenu(MemberCtxMenu ctxMenu,
                        JcmsJspContext jcmsContext)
See Also:
CtxMenuPolicyFilter.initCtxMenu(MemberCtxMenu, JcmsJspContext)

initCtxMenu

public void initCtxMenu(WidgetCtxMenu ctxMenu,
                        JcmsJspContext jcmsContext)
See Also:
CtxMenuPolicyFilter.initCtxMenu(WidgetCtxMenu, JcmsJspContext)

checkCtxMenuItems

public char[] checkCtxMenuItems(PublicationCtxMenu ctxMenu,
                                Publication pub,
                                char[] letters)
See Also:
CtxMenuPolicyFilter.checkCtxMenuItems(PublicationCtxMenu, Publication, char[])

checkCtxMenuItems

public char[] checkCtxMenuItems(CategoryCtxMenu ctxMenu,
                                Category cat,
                                char[] letters)
See Also:
CtxMenuPolicyFilter.checkCtxMenuItems(CategoryCtxMenu, Category, char[])

checkCtxMenuItems

public char[] checkCtxMenuItems(MemberCtxMenu ctxMenu,
                                Member mbr,
                                char[] letters)
See Also:
CtxMenuPolicyFilter.checkCtxMenuItems(MemberCtxMenu, Member, char[])

checkCtxMenuItems

public char[] checkCtxMenuItems(WidgetCtxMenu ctxMenu,
                                String menuItems,
                                String chooserType,
                                String chooserId,
                                char[] letters)
See Also:
CtxMenuPolicyFilter.checkCtxMenuItems(MemberCtxMenu, Member, char[])

handleCtxMenuItems

public int handleCtxMenuItems(StringBuffer sb,
                              PublicationCtxMenu ctxMenu,
                              Publication pub,
                              char letter)
See Also:
CtxMenuPolicyFilter.handleCtxMenuItems(StringBuffer, PublicationCtxMenu, Publication, char, int)

handleCtxMenuItems

public int handleCtxMenuItems(StringBuffer sb,
                              CategoryCtxMenu ctxMenu,
                              Category cat,
                              char letter)
See Also:
CtxMenuPolicyFilter.handleCtxMenuItems(StringBuffer, CategoryCtxMenu, Category, char, int)

handleCtxMenuItems

public int handleCtxMenuItems(StringBuffer sb,
                              MemberCtxMenu ctxMenu,
                              Member mbr,
                              char letter)
See Also:
CtxMenuPolicyFilter.handleCtxMenuItems(StringBuffer, MemberCtxMenu, Member, char, int)

handleCtxMenuItems

public int handleCtxMenuItems(StringBuffer sb,
                              WidgetCtxMenu ctxMenu,
                              String menuItems,
                              String chooserType,
                              String chooserId,
                              char letter)
See Also:
CtxMenuPolicyFilter.handleCtxMenuItems(StringBuffer, WidgetCtxMenu, String, String, String, char, int)

handleCtxMenuItems

public void handleCtxMenuItems(StringBuffer sb,
                               PublicationCtxMenu ctxMenu,
                               Publication pub)
See Also:
CtxMenuPolicyFilter.handleCtxMenuItems(StringBuffer, PublicationCtxMenu, Publication)

handleCtxMenuItems

public void handleCtxMenuItems(StringBuffer sb,
                               CategoryCtxMenu ctxMenu,
                               Category cat)
See Also:
CtxMenuPolicyFilter.handleCtxMenuItems(StringBuffer, CategoryCtxMenu, Category)

handleCtxMenuItems

public void handleCtxMenuItems(StringBuffer sb,
                               MemberCtxMenu ctxMenu,
                               Member mbr)
See Also:
CtxMenuPolicyFilter.handleCtxMenuItems(StringBuffer, MemberCtxMenu, Member)

handleCtxMenuItems

public void handleCtxMenuItems(StringBuffer sb,
                               WidgetCtxMenu ctxMenu,
                               String menuItems,
                               String chooserType,
                               String chooserId)
See Also:
CtxMenuPolicyFilter.handleCtxMenuItems(StringBuffer, WidgetCtxMenu, String, String, String)

loadWysiwygEditor

public boolean loadWysiwygEditor(JcmsJspContext context,
                                 boolean load)
See Also:
WysiwygPolicyFilter.loadWysiwygEditor(JcmsJspContext, boolean)

checkWysiwygCSSFile

public void checkWysiwygCSSFile(Set<String> cssFileSet)
See Also:
WysiwygPolicyFilter.checkWysiwygCSSFile(Set)

checkGlobalWysiwygCSS

public void checkGlobalWysiwygCSS(Set<String> globalStyle,
                                  Workspace workspace)
See Also:
WysiwygPolicyFilter.checkGlobalWysiwygCSS(Set, Workspace)

checkLocalWysiwygCSS

public void checkLocalWysiwygCSS(Set<String> localStyle,
                                 String globalStyle,
                                 Workspace workspace)
See Also:
WysiwygPolicyFilter.checkLocalWysiwygCSS(Set, String, Workspace)

beforeRendering

public String beforeRendering(String text,
                              Locale userLocale)
See Also:
WysiwygPolicyFilter.beforeRendering(java.lang.String, java.util.Locale)

afterRendering

public String afterRendering(String text,
                             Locale userLocale)
See Also:
WysiwygPolicyFilter.afterRendering(java.lang.String, java.util.Locale)

processDataExport

public void processDataExport(Data data,
                              StringBuffer sb,
                              Map context)
See Also:
ExportPolicyFilter.processDataExport(Data, StringBuffer, Map)

processDataSetExport

public void processDataSetExport(Set<? extends Data> dataSet,
                                 StringBuffer sb,
                                 Map context)
See Also:
ExportPolicyFilter.processDataSetExport(Set, StringBuffer, Map)

beforeImportData

public boolean beforeImportData(org.jdom.Document doc,
                                ImportOptions options,
                                ImportStatus status,
                                Map context)
See Also:
ImportPolicyFilter.beforeImportData(org.jdom.Document, ImportOptions, ImportStatus, Map)

afterImportData

public void afterImportData(org.jdom.Document doc,
                            ImportOptions options,
                            ImportStatus status,
                            Map context)
See Also:
ImportPolicyFilter.afterImportData(org.jdom.Document, ImportOptions, ImportStatus, Map)

beforeWizard

public boolean beforeWizard(WizardContext context)
See Also:
WizardPolicyFilter.beforeWizard(com.jalios.jcms.workspace.WizardContext)

afterWizard

public void afterWizard(WizardContext context)
See Also:
WizardPolicyFilter.afterWizard(com.jalios.jcms.workspace.WizardContext)

handleCategoryName

public String handleCategoryName(String computedName,
                                 Category cat,
                                 WizardContext ctxt)
See Also:
WizardPolicyFilter.handleCategoryName(String, Category, WizardContext)

beforeSendMail

public boolean beforeSendMail(MailMessage msg,
                              HashMap<String,Object> ctxt)
Returns:
true if the processing should continue, false otherwise
See Also:
MailPolicyFilter.beforeSendMail(com.jalios.jcms.mail.MailMessage, java.util.HashMap)

afterSendMail

public void afterSendMail(MailMessage msg,
                          HashMap<String,Object> ctxt)
See Also:
MailPolicyFilter.afterSendMail(com.jalios.jcms.mail.MailMessage, java.util.HashMap)

fetchMessage

public boolean fetchMessage(MailMessage msg,
                            boolean stored,
                            Map<String,Object> context)
See Also:
MailListener.fetchMessage(MailMessage, boolean, Map)

filterMemberQueryHandler

public void filterMemberQueryHandler(MemberQueryHandler mqh,
                                     Map<String,Object> context)

filterResultSet

public Set<Member> filterResultSet(MemberQueryHandler mqh,
                                   Set<Member> resultSet,
                                   Map<String,Object> context)

filterMemberQueryHandler

public void filterMemberQueryHandler(DBMemberQueryHandler dbmqh,
                                     Map<String,Object> context)

filterPageResult

public PageResult<DBMember> filterPageResult(DBMemberQueryHandler dbmqh,
                                             PageResult<DBMember> pr,
                                             Map<String,Object> context)

filterResultList

public List<String> filterResultList(DBMemberQueryHandler dbmqh,
                                     List<String> list,
                                     Map<String,Object> context)

filterMemberQueryHandler

public void filterMemberQueryHandler(AllMemberQueryHandler amqh,
                                     Map<String,Object> context)

filterPageResult

public PageResult<Member> filterPageResult(AllMemberQueryHandler amqh,
                                           PageResult<Member> pr,
                                           Map<String,Object> context)

filterResultList

public List<String> filterResultList(AllMemberQueryHandler amqh,
                                     List<String> list,
                                     Map<String,Object> context)

getStatus

public int getStatus(Member mbr,
                     int status)

canFollow

public boolean canFollow(Member mbr,
                         Publication pub)

sendFollowerNotification

public boolean sendFollowerNotification(Publication pub,
                                        Map context)

sendFollowerNotification

public boolean sendFollowerNotification(Member mbr,
                                        Publication pub,
                                        Map context)


Copyright © 2001-2010 Jalios SA. All Rights Reserved.