public class JCRSiteNode extends JCRNodeDecorator implements JahiaSite
JCRNodeWrapper.NodeNamingConflictResolutionStrategynodeEMPTY| Constructor and Description |
|---|
JCRSiteNode(JCRNodeWrapper node) |
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getActiveLanguages()
Deprecated.
use
getActiveLiveLanguages() method instead |
List<Locale> |
getActiveLanguagesAsLocales()
Deprecated.
use either
getActiveLiveLanguagesAsLocales() or getActiveLiveLanguages() methods instead |
Set<String> |
getActiveLiveLanguages()
Returns a set of active site languages
|
List<Locale> |
getActiveLiveLanguagesAsLocales()
Returns an List of active site language ( as Locale ).
|
List<String> |
getAllInstalledModules()
Get installed modules with their dependencies
|
List<String> |
getAllServerNames()
Return the list of accepted server names.
|
String |
getDefaultLanguage() |
String |
getDescr() |
String |
getDescription()
Returns the description, provided for this site.
|
JCRNodeWrapper |
getHome() |
String |
getHtmlMarkupFilteringTags() |
Set<String> |
getInactiveLanguages()
Returns a set of languages, which are deactivated completely for browsing and editing.
|
List<Locale> |
getInactiveLanguagesAsLocales()
Returns an List of inactive site language ( as Locale ).
|
Set<String> |
getInactiveLiveLanguages()
Returns a set of languages, which are not considered in live mode browsing, i.e.
|
List<String> |
getInstalledModules() |
Set<String> |
getInstalledModulesWithAllDependencies()
Returns a set of all installed modules for this site, their direct and transitive dependencies (the whole dependency tree).
|
String |
getJCRLocalPath() |
Set<String> |
getLanguages()
Returns a List of site language settings.
|
List<Locale> |
getLanguagesAsLocales()
Returns an List of site language ( as Locale ).
|
Set<String> |
getMandatoryLanguages() |
JCRSiteNode |
getResolveSite() |
String |
getServerName()
Return the Full Qualified Domain Name ( www.jahia.org )
|
List<String> |
getServerNameAliases()
Returns a list of additional server names (aliases).
|
String |
getSiteKey()
Return the unique String identifier key ( ex: jahia )
|
String |
getTemplateFolder() |
JahiaTemplatesPackage |
getTemplatePackage()
Returns the corresponding template set of this virtual site.
|
String |
getTemplatePackageName()
Returns the corresponding template set name of this virtual site.
|
String |
getTitle() |
boolean |
isAllowsUnlistedLanguages() |
boolean |
isDefault()
Returns
true if this site is the default one on the server. |
boolean |
isHtmlMarkupFilteringEnabled() |
boolean |
isMixLanguagesActive() |
boolean |
isWCAGComplianceCheckEnabled() |
void |
setAllowsUnlistedLanguages(boolean allowsUnlistedLanguages) |
void |
setAllowsUnlistedLanguages(Boolean allowsUnlistedLanguages) |
void |
setDefaultLanguage(String defaultLanguage) |
void |
setDescr(String descr) |
void |
setDescription(String description) |
void |
setInactiveLanguages(Set<String> inactiveLanguages)
Sets languages, which are completely deactivated for browsing and editing.
|
void |
setInactiveLiveLanguages(Set<String> inactiveLiveLanguages)
Sets languages, which are not considered in live mode browsing, i.e.
|
void |
setInstalledModules(List<String> installedModules) |
void |
setLanguages(Set<String> languages)
Sets the language settings for this site.
|
void |
setMandatoryLanguages(Set<String> mandatoryLanguages) |
void |
setMixLanguagesActive(boolean mixLanguagesActive)
Sets the value of the site property that controls
|
JCRPropertyWrapper |
setProperty(String s,
boolean value) |
JCRPropertyWrapper |
setProperty(String s,
String value) |
JCRPropertyWrapper |
setProperty(String s,
String[] values) |
void |
setServerName(String name)
Set the Full Qualified Domain Name ( www.jahia.org )
|
void |
setServerNameAliases(List<String> names)
Sets a list of additional server names (aliases).
|
void |
setTitle(String value) |
accept, addMixin, addNode, addNode, addNode, canAddMixin, cancelMerge, canMarkForDeletion, changeRoles, checkI18nAndMandatoryPropertiesForLocale, checkin, checkLanguageValidity, checkLock, checkout, checkpoint, checkValidity, clearAllLocks, clone, copy, copy, copy, copy, copy, copy, copy, copy, copy, copyProperties, createCollection, decorateProperty, denyRoles, doneMerge, equals, followLifecycleTransition, getAbsoluteUrl, getAbsoluteWebdavUrl, getAccessControlManager, getAclEntries, getAclInheritanceBreak, getActualAclEntries, getAllowedLifecycleTransistions, getAncestor, getAncestors, getApplicableChildNodeDefinition, getApplicablePropertyDefinition, getApplicablePropertyDefinition, getAvailableRoles, getBaseVersion, getCanonicalPath, getContentLastModifiedAsDate, getContentLastPublishedAsDate, getCorrespondingNodePath, getCreationDateAsDate, getCreationUser, getDecoratedNode, getDefinition, getDepth, getDisplayableName, getExistingLocales, getFileContent, getI18N, getI18N, getI18Ns, getIdentifier, getIndex, getJCRProvider, getLanguage, getLastModifiedAsDate, getLastPublishedAsDate, getLinearVersionInfos, getLock, getLockedLocales, getLockInfos, getLockOwner, getMixinNodeTypes, getModificationUser, getName, getNode, getNodes, getNodes, getNodes, getNodeTypes, getOrCreateI18N, getOrCreateI18N, getParent, getPath, getPermissions, getPermissionsAsBitSet, getPlaceholder, getPrimaryItem, getPrimaryNodeType, getPrimaryNodeTypeName, getProperties, getProperties, getProperties, getPropertiesAsString, getProperty, getPropertyAsString, getProvider, getPublicationUser, getRealNode, getReferenceProperties, getReferences, getReferences, getSession, getSharedSet, getThumbnails, getThumbnailUrl, getThumbnailUrls, getUnescapedName, getUrl, getUser, getUUID, getVersionHistory, getVersionInfos, getVersions, getVersionsAsVersion, getWeakReferences, getWeakReferences, getWebdavUrl, grantRoles, hashCode, hasI18N, hasI18N, hasNode, hasNodes, hasPermission, hasProperties, hasProperty, hasTranslations, holdsLock, internalCopy, isCheckedOut, isCollection, isFile, isLockable, isLocked, isMarkedForDeletion, isModified, isNew, isNode, isNodeType, isPortlet, isSame, isVersioned, lock, lockAndStoreToken, lockAndStoreToken, markForDeletion, merge, orderBefore, refresh, remove, removeMixin, removeShare, removeSharedSet, rename, restore, restore, restore, restoreByLabel, revokeAllRoles, revokeRolesForPrincipal, save, saveSession, setAclInheritanceBreak, setPrimaryType, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, toString, unlock, unlock, unlock, unmarkForDeletion, update, uploadFile, versionFilepublic JCRSiteNode(JCRNodeWrapper node)
public Set<String> getInactiveLiveLanguages()
JahiaSitegetInactiveLiveLanguages in interface JahiaSitepublic Set<String> getInactiveLanguages()
JahiaSitegetInactiveLanguages in interface JahiaSite@Deprecated public List<Locale> getActiveLanguagesAsLocales()
getActiveLiveLanguagesAsLocales() or getActiveLiveLanguages() methods instead@Deprecated public Set<String> getActiveLanguages()
getActiveLiveLanguages() method insteadpublic Set<String> getActiveLiveLanguages()
public List<Locale> getActiveLiveLanguagesAsLocales()
public List<Locale> getInactiveLanguagesAsLocales()
public String getDefaultLanguage()
getDefaultLanguage in interface JahiaSitepublic String getDescr()
public JCRNodeWrapper getHome() throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic String getHtmlMarkupFilteringTags()
public Set<String> getLanguages()
JahiaSitegetLanguages in interface JahiaSitepublic List<Locale> getLanguagesAsLocales()
getLanguagesAsLocales in interface JahiaSitepublic Set<String> getMandatoryLanguages()
getMandatoryLanguages in interface JahiaSitepublic JCRSiteNode getResolveSite() throws javax.jcr.RepositoryException
getResolveSite in interface JCRNodeWrappergetResolveSite in class JCRNodeDecoratorjavax.jcr.RepositoryExceptionpublic String getServerName()
JahiaSitegetServerName in interface JahiaSitepublic List<String> getServerNameAliases()
JahiaSitegetServerNameAliases in interface JahiaSitepublic List<String> getAllServerNames()
JahiaSitegetAllServerNames in interface JahiaSitepublic String getSiteKey()
JahiaSitegetSiteKey in interface JahiaSitepublic String getTemplateFolder()
getTemplateFolder in interface JahiaSitepublic List<String> getInstalledModules()
getInstalledModules in interface JahiaSitepublic Set<String> getInstalledModulesWithAllDependencies()
public List<String> getAllInstalledModules()
public String getTemplatePackageName()
getTemplatePackageName in interface JahiaSitepublic JahiaTemplatesPackage getTemplatePackage()
public boolean isHtmlMarkupFilteringEnabled()
public boolean isMixLanguagesActive()
isMixLanguagesActive in interface JahiaSitepublic boolean isAllowsUnlistedLanguages()
isAllowsUnlistedLanguages in interface JahiaSitepublic boolean isWCAGComplianceCheckEnabled()
public void setDefaultLanguage(String defaultLanguage)
setDefaultLanguage in interface JahiaSitepublic void setLanguages(Set<String> languages)
setLanguages in interface JahiaSiteJahiaException - when an error occured while storing the modified
site language settings values.public void setMandatoryLanguages(Set<String> mandatoryLanguages)
setMandatoryLanguages in interface JahiaSitepublic void setMixLanguagesActive(boolean mixLanguagesActive)
setMixLanguagesActive in interface JahiaSitemixLanguagesActive - public void setAllowsUnlistedLanguages(Boolean allowsUnlistedLanguages)
public String getDescription()
JahiaSitegetDescription in interface JahiaSitepublic boolean isDefault()
true if this site is the default one on the server.public void setDescription(String description)
setDescription in interface JahiaSitepublic void setInactiveLanguages(Set<String> inactiveLanguages)
setInactiveLanguages in interface JahiaSiteinactiveLanguages - the set of inactive languagespublic void setInactiveLiveLanguages(Set<String> inactiveLiveLanguages)
setInactiveLiveLanguages in interface JahiaSiteinactiveLiveLanguages - the set of inactive languagespublic void setInstalledModules(List<String> installedModules)
setInstalledModules in interface JahiaSitepublic void setAllowsUnlistedLanguages(boolean allowsUnlistedLanguages)
setAllowsUnlistedLanguages in interface JahiaSitepublic void setServerName(String name)
setServerName in interface JahiaSitepublic void setServerNameAliases(List<String> names)
JahiaSitesetServerNameAliases in interface JahiaSitenames - a list of additional server names (aliases)public String getJCRLocalPath()
getJCRLocalPath in interface JahiaSitepublic JCRPropertyWrapper setProperty(String s, String value) throws javax.jcr.ValueFormatException, javax.jcr.version.VersionException, javax.jcr.lock.LockException, javax.jcr.nodetype.ConstraintViolationException, javax.jcr.RepositoryException
JCRNodeWrappersetProperty in interface javax.jcr.NodesetProperty in interface JCRNodeWrappersetProperty in class JCRNodeDecoratorProperty object wrapped in JCRPropertywWrapperjavax.jcr.ValueFormatExceptionjavax.jcr.version.VersionExceptionjavax.jcr.lock.LockExceptionjavax.jcr.nodetype.ConstraintViolationExceptionjavax.jcr.RepositoryExceptionpublic JCRPropertyWrapper setProperty(String s, boolean value) throws javax.jcr.ValueFormatException, javax.jcr.version.VersionException, javax.jcr.lock.LockException, javax.jcr.nodetype.ConstraintViolationException, javax.jcr.RepositoryException
JCRNodeWrappersetProperty in interface javax.jcr.NodesetProperty in interface JCRNodeWrappersetProperty in class JCRNodeDecoratorProperty object wrapped in JCRPropertywWrapperjavax.jcr.ValueFormatExceptionjavax.jcr.version.VersionExceptionjavax.jcr.lock.LockExceptionjavax.jcr.nodetype.ConstraintViolationExceptionjavax.jcr.RepositoryExceptionpublic JCRPropertyWrapper setProperty(String s, String[] values) throws javax.jcr.ValueFormatException, javax.jcr.version.VersionException, javax.jcr.lock.LockException, javax.jcr.nodetype.ConstraintViolationException, javax.jcr.RepositoryException
JCRNodeWrappersetProperty in interface javax.jcr.NodesetProperty in interface JCRNodeWrappersetProperty in class JCRNodeDecoratorProperty object wrapped in JCRPropertywWrapperjavax.jcr.ValueFormatExceptionjavax.jcr.version.VersionExceptionjavax.jcr.lock.LockExceptionjavax.jcr.nodetype.ConstraintViolationExceptionjavax.jcr.RepositoryExceptionCopyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.