All Methods Static Methods Instance Methods Concrete Methods
Modifier and Type |
Method and Description |
void |
activePopThread() |
void |
add404Url(ContentContext ctx,
String url) |
void |
addForcedContent(String key,
String content) |
void |
addPrincipal(User principal) |
String |
addSharedObject(Object obj) |
void |
addSpecialAccessCode(ElementaryURLHelper.Code code) |
void |
addTag(String tag) |
void |
addTemplate(String templateId) |
void |
cleanDataAccess() |
void |
cleanFolder() |
void |
clearTransformShortURL() |
MenuElement |
convertOldURL(ContentContext ctx,
String url) |
String |
convertOneTimeToken(String token) |
String |
createOneTimeToken(String token) |
void |
delete(javax.servlet.ServletContext application) |
void |
delete404Url(ContentContext ctx,
String url) |
boolean |
deletedDateFromKeyPrefix(String prefix)
delete a group of data with the prefix of the key.
|
void |
delRedirectUrl(ContentContext ctx,
String url) |
void |
destroy() |
void |
eventLogin(String userName) |
protected void |
finalize() |
Properties |
get404UrlMap() |
long |
getAccountSize() |
String |
getAccountSizeLabel() |
String |
getActivationKey() |
String |
getAdministrator() |
String |
getAdministratorEmail() |
AdminUserFactory |
getAdminUserFactory(javax.servlet.http.HttpSession session) |
String |
getAdminUserFactoryClassName() |
Set<String> |
getAdminUserRoles() |
String |
getAliasOf() |
List<ICache> |
getAllCache() |
protected Collection<String> |
getAllCacheName() |
List<Principal> |
getAllPrincipals() |
TaxonomyServiceAgregation |
getAllTaxonomy(ContentContext ctx) |
String |
getAllValue() |
Object |
getAttribute(String key) |
Set<Object> |
getAttributesKeys() |
String |
getBlockPassword() |
String |
getBlockPreviewPassword() |
ICache |
getCache(String cacheName) |
String |
getCalendarFolder() |
String |
getChangePasswordToken(String user) |
String |
getChangePasswordTokenUser(String token) |
List<String> |
getComponents() |
Map<String,String> |
getConfig() |
String |
getContentIntegrity() |
Set<String> |
getContentLanguages() |
String |
getContextKey() |
String |
getCookiesPolicyUrl() |
int |
getCount() |
String |
getCountry() |
int |
getCountUser() |
Date |
getCreationDate() |
String |
getData(String key) |
String |
getData(String key,
String defaultValue) |
File |
getDataBaseFolder() |
String |
getDataFolder() |
Collection<Object> |
getDataKeys() |
Map<String,String> |
getDataWidthKeyPrefix(String prefix)
get data with specified prefix
|
String |
getDBDriver() |
String |
getDBLogin() |
String |
getDBPassword() |
String |
getDBResourceName() |
String |
getDBURL() |
static GlobalContext |
getDefaultContext(javax.servlet.http.HttpSession session) |
String |
getDefaultEditLanguage() |
String |
getDefaultEncoding() |
String |
getDefaultImageFilter() |
String |
getDefaultLanguage() |
Set<String> |
getDefaultLanguages() |
String |
getDefaultLanguagesRAW() |
String |
getDefaultTemplate() |
DKIMBean |
getDKIMBean() |
String |
getDKIMDomain() |
String |
getDKIMSelector() |
URL |
getDMZServerInter() |
URL |
getDMZServerIntra() |
String |
getEditLanguage(javax.servlet.http.HttpSession session) |
String |
getEditTemplateMode()
mode of the edit template, can be used in template renderer for include
special css or js. preview css is : edit_preview_[mode].css
|
Set<String> |
getEncodings() |
ICache |
getEternalCache(String cacheName) |
Integer |
getFirstLoadVersion() |
String |
getFistPassword() |
String |
getFolder()
return the data context folder name.
|
String |
getFooterBloc() |
String |
getForcedContent(String key) |
String |
getForcedHost() |
String |
getFullDateFormat() |
String |
getGlobalTitle() |
String |
getGoogleAnalyticsUACCT() |
String |
getGoogleApiKey() |
String |
getHeaderBloc() |
String |
getHelpURL() |
String |
getHomePage() |
String |
getHTMLDefinition(String key,
String defaultValue) |
Object |
getI18nLock() |
List<String> |
getImageViewFilter() |
static GlobalContext |
getInstance(javax.servlet.http.HttpServletRequest request) |
static GlobalContext |
getInstance(javax.servlet.http.HttpSession session,
String contextKey) |
static GlobalContext |
getInstance(javax.servlet.ServletContext application,
StaticConfig staticConfig,
File configFile) |
String |
getInstanceId() |
IntegrityBean |
getIntegrityDefinition() |
Set<String> |
getLanguages() |
Date |
getLatestLoginDate() |
String |
getLatestPublisher() |
Calendar |
getLatestTicketNotificaitonTime() |
String |
getLatestTokenForPage(String pageName) |
Integer |
getLatestUndoVersion() |
String |
getLatestUser() |
String |
getLicence() |
Object |
getLockImportTemplate() |
Object |
getLockLoadContent() |
File |
getLogo() |
String |
getLook() |
List<String> |
getMacros() |
String |
getMailingReport() |
String |
getMailingSenders() |
Date |
getMailingStartTime() |
String |
getMailingSubject() |
String |
getMainContextKey()
get the main context (same if no alias defined)
|
String |
getMainHelpURL() |
ICache |
getMapCache(String cacheName) |
static GlobalContext |
getMasterContext(ContentContext ctx) |
static GlobalContext |
getMasterContext(javax.servlet.http.HttpSession session) |
String |
getMediumDateFormat() |
String |
getMetaBloc() |
List<String> |
getModules() |
String |
getNewTokenForPage(String pageName) |
Set<String> |
getNoPopupDomain() |
String |
getNoPopupDomainRAW() |
String |
getOneTimeToken(String token) |
MenuElement |
getPageIfExist(ContentContext ctx,
String url,
boolean useURLCreator) |
String |
getPageToken(String token) |
String |
getPathPrefix() |
String |
getPlatformType() |
String |
getPOPHost() |
String |
getPOPPassword() |
int |
getPOPPort() |
String |
getPOPUser() |
String |
getPrivateHelpURL()
return help url with specific information over the site.
|
String |
getProxyPathPrefix() |
Date |
getPublishDate() |
String |
getPublishDateLabel() |
int |
getRank() |
String |
getRAWContentLanguages() |
String |
getRAWEncodings() |
String |
getRAWLanguages() |
String |
getRAWTags() |
static GlobalContext |
getRealInstance(javax.servlet.http.HttpSession session,
String contextKey) |
Properties |
getRedirectUrlMap() |
String |
getResourceId(String path) |
String |
getResourcePath(String id) |
String |
getScreenshortUrl(ContentContext ctx) |
File |
getScreenshotFile(ContentContext ctx) |
javax.servlet.ServletContext |
getServletContext() |
Object |
getSessionAttribute(javax.servlet.http.HttpSession session,
String key) |
static GlobalContext |
getSessionContext(javax.servlet.http.HttpSession session) |
static String |
getSessionContextKey(javax.servlet.http.HttpSession session) |
static GlobalContext |
getSessionInstance(javax.servlet.http.HttpSession session) |
String |
getSharedDataFolder(javax.servlet.http.HttpSession session) |
Object |
getSharedObject(String key) |
String |
getShortDateFormat() |
String |
getSMTPHost() |
String |
getSMTPPassword() |
String |
getSMTPPort() |
String |
getSMTPUser() |
SpecialConfigBean |
getSpecialConfig() |
File |
getSpecialConfigFile() |
StaticConfig |
getStaticConfig() |
String |
getStaticFolder() |
List<String> |
getTags() |
TaxonomyService |
getTaxonomy(ContentContext ctx) |
TemplateData |
getTemplateData() |
List<String> |
getTemplatePlugin() |
String |
getTemplatePluginConfig() |
List<String> |
getTemplatesNames() |
Object |
getTimeAttribute(String key) |
TimeTravelerContext |
getTimeTravelerContext() |
String |
getTransformShortURL(String shortURL)
get the long url of a short url
|
String |
getUnsubscribeLink() |
Map<String,String> |
getURIAlias() |
IURLFactory |
getURLFactory(ContentContext ctx) |
String |
getURLFactoryClass() |
IUserFactory |
getUserFactory(javax.servlet.http.HttpSession session) |
String |
getUserFactoryClassName() |
String |
getUserFolder(IUserInfo user) |
String |
getUserFolder(User user) |
Set<String> |
getUserRoles() |
List<String> |
getUsersAccess() |
Set<String> |
getVisibleContentLanguages() |
Set<String> |
getVisibleLanguages() |
boolean |
hasComponent(Class clazz) |
boolean |
hasComponent(String className) |
static boolean |
haveContext(javax.servlet.http.HttpServletRequest request)
check if there are at least one context
|
void |
hide404Url(ContentContext ctx,
String url) |
Properties |
initDataFile() |
void |
initExternalService(ContentContext ctx) |
boolean |
isAdminManagement() |
boolean |
isAutoSwitchToDefaultLanguage() |
boolean |
isChangeLicence() |
boolean |
isChangeMenu() |
boolean |
isCollaborativeMode()
display the creator of component in the page.
|
boolean |
isComponentsFiltered() |
boolean |
isCookies() |
boolean |
isCreation() |
boolean |
isCSSInline() |
boolean |
isDefinedByHost() |
boolean |
isDownloadContent() |
boolean |
isDynamic() |
boolean |
isEasy() |
boolean |
isEditable() |
static boolean |
isExist(javax.servlet.http.HttpServletRequest request,
String contextKey) |
boolean |
isExtendMenu() |
boolean |
isFirstImage() |
boolean |
isForcedHttps() |
boolean |
isHelpLink() |
boolean |
isImagePreview() |
boolean |
isImportable() |
boolean |
isInstantMessaging() |
boolean |
isLightMenu() |
boolean |
isMailing() |
boolean |
isMailingPlatform() |
boolean |
isMaster() |
boolean |
isNewPageVisible() |
boolean |
isOnlyCreatorModify()
if return true only the creator of the component can modify it.
|
boolean |
isOpenExternalLinkAsPopup() |
boolean |
isOpenExternalLinkAsPopup(String url) |
boolean |
isOpenFileAsPopup() |
boolean |
isOpenPlatform() |
boolean |
isPageStructure() |
boolean |
isPOPSsl() |
boolean |
isPortail() |
boolean |
isPreviewMode()
if true, there are two version of content : preview and view.
|
boolean |
isPrivatePage() |
boolean |
isReversedLink() |
boolean |
isRightOnPage() |
boolean |
isScreenshot(ContentContext ctx) |
boolean |
isSpacialAccessCode(ElementaryURLHelper.Code code) |
boolean |
isStopUndo() |
boolean |
isTags() |
boolean |
isTemplateFilter() |
boolean |
isURIAlias() |
boolean |
isUserManagement() |
boolean |
isView() |
boolean |
isViewBar() |
boolean |
isVirtualPaternity() |
boolean |
isVisible() |
boolean |
isWebPlatform() |
boolean |
isWizz() |
void |
log(String group,
String text) |
void |
logout(Principal principal) |
static void |
main(String[] args) |
void |
printInfo(ContentContext ctx,
PrintStream out) |
void |
releaseAllCache() |
void |
reload() |
void |
removeData(Collection<Object> keys) |
void |
removeData(String key) |
void |
removeTag(String tag) |
void |
removeTemplate(String templateId) |
void |
renameDataKey(String oldKeyPrefix,
String newKeyPrefix) |
int |
renameKeys(String oldPrefix,
String newPrefix)
rename keys in data map
|
void |
reset404File() |
void |
reset404UrlMap() |
void |
resetAdmimUserFactory() |
void |
resetRedirectUrlMap() |
void |
resetURLFactory() |
void |
resetUserFactory() |
void |
save() |
void |
sendMailToAdministrator(String subjet,
String body) |
void |
setActivationKey(String value) |
void |
setAdministrator(String admin) |
void |
setAdminManagement(boolean adminManagement) |
void |
setAdminUserFactoryClassName(String userFactoryName) |
void |
setAdminUserRoles(Set<String> roles) |
void |
setAliasOf(String alias) |
void |
setAliasURI(Properties aliasURI) |
void |
setAllValues(String content)
set a properties file content for change all values
|
void |
setApplication(javax.servlet.ServletContext application) |
void |
setAttribute(String key,
Object att) |
void |
setAutoSwitchToDefaultLanguage(boolean value) |
void |
setAutoSwitchToFirstLanguage(boolean value) |
void |
setBlockPassword(String pwd) |
void |
setChangeLicence(boolean changeLicence) |
void |
setChangeMenu(boolean changeMenu) |
void |
setCollaborativeMode(boolean display) |
void |
setComponents(List<String> components) |
void |
setComponentsFiltered(boolean filtered) |
void |
setConfig(Map config) |
void |
setContentIntegrity(String value) |
void |
setContextKey(String contextKey) |
void |
setCookies(boolean cook) |
void |
setCookiesPolicyUrl(String url) |
void |
setCountry(String country) |
void |
setCSSInline(boolean cssInline) |
void |
setData(String key,
String value) |
void |
setDefaultEncoding(String encoding) |
void |
setDefaultLanguages(String lg) |
void |
setDefaultTemplate(String template) |
void |
setDefinedByHost(boolean define) |
void |
setDKIMDomain(String domain) |
void |
setDKIMSelector(String selector) |
void |
setDMZServerInter(String dmzServer) |
void |
setDMZServerIntra(String dmzServer) |
void |
setDownloadContent(boolean downloadContent) |
void |
setDynamic(boolean dynamic) |
void |
setEasy(boolean easy) |
void |
setEditable(boolean editable) |
void |
setEditLanguage(String language) |
void |
setEditTemplateMode(String mode) |
void |
setExtendMenu(boolean extendMenu) |
void |
setFirstPassword(String password) |
void |
setFolder(String folder) |
void |
setFooterBloc(String bloc) |
void |
setForcedHost(String host) |
void |
setForcedHttps(boolean https) |
void |
setFullDateFormat(String format) |
void |
setGlobalTitle(String password) |
void |
setGoogleAnalyticsUACCT(String uacct) |
void |
setGoogleApiKey(String key) |
void |
setHeaderBloc(String bloc) |
void |
setHelpLink(boolean helpLink) |
void |
setHelpURL(String helpURL) |
void |
setHomePage(String homepage) |
void |
setImagePreview(boolean imagePreview) |
void |
setImageViewFilter(String filters) |
void |
setImportable(boolean importable) |
void |
setInstantMessaging(boolean im) |
void |
setLatestPublisher(String userName) |
void |
setLatestTicketNotificaitonTime(Calendar latestTicketNotificaitonTime) |
void |
setLatestUndoVersion(Integer latestUndoVersion) |
void |
setLicence(String licence) |
void |
setLightMenu(boolean lightMenu) |
void |
setLook(String look) |
void |
setMacros(List<String> macros) |
void |
setMailing(boolean changeMenu) |
void |
setMailingReport(String report) |
void |
setMailingSenders(String sender) |
void |
setMailingSubject(String subject) |
void |
setMailingTemplates(List<String> components) |
void |
setMainContextKey(String mainContextKey) |
void |
setMainHelpURL(String helpURL) |
void |
setMediumDateFormat(String format) |
void |
setMetaBloc(String bloc) |
void |
setModules(List<String> modules) |
void |
setNewPageVisible(boolean visible) |
void |
setNoPopupDomainRAW(String domains) |
void |
setOneVote(int value) |
void |
setOnlyCreatorModify(boolean creatorModif) |
void |
setOpenExernalLinkAsPopup(boolean ipPopup) |
void |
setOpenFileAsPopup(boolean ipPopup) |
void |
setPageStructure(boolean pageStructure) |
void |
setPassword(String password) |
void |
setPathPrefix(String pathPrefix) |
void |
setPlatformType(String type) |
void |
setPOPHost(String host) |
void |
setPOPPassword(String pwd) |
void |
setPOPPort(String port) |
void |
setPOPSsl(boolean ssl) |
void |
setPOPUser(String user) |
void |
setPortail(boolean changeMenu) |
void |
setPreviewMode(boolean preview) |
void |
setPrivateHelpURL(String helpURL) |
void |
setPrivatePage(boolean privatePage) |
void |
setProxyPathPrefix(String prefix)
set a special path prefix needed by proxy.
|
void |
setPublishDate(Date publishDate) |
void |
setRAWContentLanguages(String languages) |
void |
setRAWEncodings(String encodings) |
void |
setRAWLanguages(String languages) |
void |
setRAWTags(String tags) |
void |
setReversedLink(boolean rl) |
void |
setRightOnPage(boolean rightOnPage) |
void |
setSessionAttribute(javax.servlet.http.HttpSession session,
String key,
Object value) |
void |
setShortDateFormat(String format) |
void |
setSMTPHost(String host) |
void |
setSMTPPassword(String pwd) |
void |
setSMTPPort(String port) |
void |
setSMTPUser(String user) |
void |
setStopUndo(boolean stopUndo) |
void |
setTags(boolean inTags) |
void |
setTemplateData(TemplateData inTemplateData) |
void |
setTemplateFilter(boolean templateFilter) |
void |
setTemplatePlugin(Collection<String> top) |
void |
setTemplatePluginConfig(String config) |
void |
setTemplatesNames(List<String> components) |
void |
setTimeAttribute(String key,
Object att) |
void |
setTimeAttribute(String key,
Object att,
int timeInSecond) |
void |
setTimeTravelerContext(TimeTravelerContext timeContext) |
String |
setTransformShortURL(String longURL,
String filter,
String newName)
create a short url with a long URL
|
void |
setUnsubscribeLink(String link) |
void |
setURLFactory(String className) |
void |
setUserFactoryClassName(String userFactoryName) |
void |
setUserManagement(boolean userManagement) |
void |
setUserRoles(Set<String> roles) |
void |
setUsersAccess(List<String> users) |
void |
setView(boolean view) |
void |
setViewBar(boolean viewBar) |
void |
setVirtualPaternity(boolean changeLicence) |
void |
setVisible(boolean visible) |
void |
setWizz(boolean wizz) |
void |
storeLogo(ContentContext ctx,
InputStream in)
store the logo of the website.
|
void |
storeRedirectUrlList() |
void |
storeUrl(ContentContext ctx,
String url,
String pageId) |
void |
touch() |
void |
writeInfo(javax.servlet.http.HttpSession session,
PrintStream out) |
void |
writeInstanceInfo(ContentContext ctx,
PrintStream out) |