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