public class WebPageManager extends java.lang.Object implements JPropertiesListener
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<org.apache.oro.text.regex.Pattern> |
patternList |
static java.lang.String |
REVISION |
protected org.apache.oro.text.regex.Perl5Substitution |
subs |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
cleanURL(java.lang.String url) |
java.lang.String |
cleanURL(java.lang.String url,
org.apache.oro.text.regex.Perl5Matcher matcher) |
static WebPageManager |
getInstance() |
java.util.Set<generated.WebPage> |
getMatchingWebPageSet(AbstractWebPage webpage,
Member loggedMember,
Workspace ws)
Returns a Set of matching
WebPage with the same url as the given webpage, filtered on workspace, and logged member rights |
java.util.Set<generated.WebPage> |
getMatchingWebpageSet(java.lang.String url,
Member mbr,
Workspace ws,
boolean checkAuthor,
boolean checkRights)
Returns a Set of matching
WebPage with the same url as the given url, filtered on workspace, and logged member rights |
protected void |
initPatterns() |
void |
propertiesChange(JProperties properties)
Invoked after properties have been modified in JCMS and save on disk.
|
public static final java.lang.String REVISION
protected java.util.List<org.apache.oro.text.regex.Pattern> patternList
protected org.apache.oro.text.regex.Perl5Substitution subs
public static WebPageManager getInstance()
protected void initPatterns()
public void propertiesChange(JProperties properties)
JPropertiesListenerYou cannot alter the value received in parameters.
propertiesChange in interface JPropertiesListenerproperties - the properties which have been modified (may not contain all JCMS properties)public java.util.Set<generated.WebPage> getMatchingWebPageSet(AbstractWebPage webpage, Member loggedMember, Workspace ws)
WebPage with the same url as the given webpage, filtered on workspace, and logged member rightswebpage - the AbstractWebPageloggedMember - the current logged Member to test read rightsws - the Workspace to search matching webpage inWebPagepublic java.util.Set<generated.WebPage> getMatchingWebpageSet(java.lang.String url,
Member mbr,
Workspace ws,
boolean checkAuthor,
boolean checkRights)
WebPage with the same url as the given url, filtered on workspace, and logged member rightspublic java.lang.String cleanURL(java.lang.String url)
url - the url to cleanpublic java.lang.String cleanURL(java.lang.String url,
org.apache.oro.text.regex.Perl5Matcher matcher)
url - the url to cleanmatcher - the matcher to apply on urlCopyright © 2001-2016 Jalios SA. All Rights Reserved.