Copyright© 2008-2022 Sitevision AB, all rights reserved.
Package | Description |
---|---|
javax.jcr |
Provides interfaces and classes for the Content Repository for Java Technology.
|
javax.jcr.lock |
Provides interfaces and classes for content repository locking functionality.
|
javax.jcr.query |
Provides interfaces and classes for content repository searching functionality.
|
javax.jcr.util |
Provides utility classes for the content repository API.
|
javax.jcr.version |
Provides interfaces and classes for content repository versioning functionality.
|
senselogic.sitevision.api.bookmark |
Bookmark utility interfaces
|
senselogic.sitevision.api.collaboration |
Collaboration utility interfaces.
|
senselogic.sitevision.api.context |
Context utility interfaces
|
senselogic.sitevision.api.cookie |
Cookie utility interfaces
|
senselogic.sitevision.api.device |
Device utility interfaces
|
senselogic.sitevision.api.i18n |
Internationalization utility interfaces
|
senselogic.sitevision.api.metadata |
Metadata utility interfaces
|
senselogic.sitevision.api.metadata.builder |
Temporary metadata value builders.
|
senselogic.sitevision.api.node |
Node utility interfaces, including predefined node iterators and node comparators
|
senselogic.sitevision.api.node.builder |
Node-related builders.
|
senselogic.sitevision.api.property |
Property utility interfaces
|
senselogic.sitevision.api.redirect |
Redirect utility interfaces.
|
senselogic.sitevision.api.render |
Rendering utility interfaces that might be needed when rendering
|
senselogic.sitevision.api.resource |
Resource utility interfaces (e.g. colors, fonts, decorations, icons, landing pages)
|
senselogic.sitevision.api.script |
Scripting utility interfaces and helpers that might be needed when using a template language (such as Velocity)
|
senselogic.sitevision.api.script.app |
RESTApp/WebApp utility interfaces and helpers.
|
senselogic.sitevision.api.search |
Search utility interfaces
|
senselogic.sitevision.api.search.index |
Index utility interfaces.
|
senselogic.sitevision.api.search.searcher.builder |
Search component builders.
|
senselogic.sitevision.api.security |
Security utility interfaces
|
senselogic.sitevision.api.security.jaas.callback |
Callback classes for custom JAAS modules/filters.
|
senselogic.sitevision.api.subscription |
Subscription and subscriber utility interfaces
|
senselogic.sitevision.api.tag |
Tag utility interfaces.
|
senselogic.sitevision.api.user |
User utility interfaces.
|
senselogic.sitevision.api.webresource |
Web resource (pages, articles, files and images) utility interfaces
|
senselogic.sitevision.api.webresource.builder |
Temporary link target builders.
|
senselogic.sitevision.api.webresource.doctype |
DOCTYPE utility interfaces
|
senselogic.sitevision.api.webresource.structure |
Web resource structure and grouping utility interfaces
|
senselogic.sitevision.api.webresource.webcontent |
Web content (web content of pages, articles and templates) utility interfaces
|
senselogic.sitevision.api.versioning |
Versioning utility interfaces (including publish/unpublish facilities)
|
senselogic.sitevision.api.xml |
XML parser utility interfaces.
|
Modifier and Type | Method and Description |
---|---|
Node |
Node.addNode(String relPath)
Creates a new node at
relPath . |
Node |
Node.addNode(String relPath,
String primaryNodeTypeName)
Creates a new node at
relPath of the specified node type. |
Node |
Property.getNode()
If this property is of type
REFERENCE ,
WEAKREFERENCE or PATH (or convertible to one of
these types) this method returns the Node to which this
property refers. |
Node |
Session.getNode(String absPath)
Returns the node at the specified absolute path in the workspace.
|
Node |
Node.getNode(String relPath)
Returns the node at
relPath relative to this node. |
Node |
Session.getNodeByIdentifier(String id)
Returns the node specified by the given identifier.
|
Node |
Session.getNodeByUUID(String uuid)
Deprecated.
As of JCR 2.0,
Session.getNodeByIdentifier(String) should be
used instead. |
Node |
Item.getParent()
Returns the parent of this
Item . |
Node |
Session.getRootNode()
Returns the root node of the workspace, "/".
|
Node |
NodeIterator.nextNode()
Returns the next
Node in the iteration. |
Modifier and Type | Method and Description |
---|---|
Value |
ValueFactory.createValue(Node value)
|
Value |
ValueFactory.createValue(Node value,
boolean weak)
Returns a
Value object of PropertyType.REFERENCE (if
weak is false ) or PropertyType.REFERENCE (if weak is true ) that
holds the identifier of the specified Node . |
Property |
Node.setProperty(String name,
Node value)
The behavior of this method is identical to that of
setProperty(String name, Value value) except that the value is
specified as a Node and, if possible, the type assigned to the
property is REFERENCE or WEAKREFERENCE ,
otherwise a best-effort conversion is attempted. |
void |
Property.setValue(Node value)
Sets this
REFERENCE or WEAKREFERNCE property to
refer to the specified node. |
void |
ItemVisitor.visit(Node node)
This method is called when the
ItemVisitor is passed to the
accept method of a Node . |
Modifier and Type | Method and Description |
---|---|
Node |
Lock.getNode()
Returns the lock holding node.
|
Modifier and Type | Method and Description |
---|---|
Node |
Row.getNode()
Returns the
Node corresponding to this Row . |
Node |
Row.getNode(String selectorName)
Returns the
Node corresponding to this Row and
the specified selector. |
Node |
Query.storeAsNode(String absPath)
Creates a node of type
nt:query holding this query at
absPath and returns that node. |
Modifier and Type | Method and Description |
---|---|
Query |
QueryManager.getQuery(Node node)
Retrieves an existing persistent query.
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
TraversingItemVisitor.entering(Node node,
int level)
Implement this method to add behavior performed before a
Node is visited. |
protected void |
TraversingItemVisitor.Default.entering(Node node,
int level) |
protected abstract void |
TraversingItemVisitor.leaving(Node node,
int level)
Implement this method to add behavior performed after a
Node
is visited. |
protected void |
TraversingItemVisitor.Default.leaving(Node node,
int level) |
void |
TraversingItemVisitor.visit(Node node)
Called when the
Visitor is passed to a Node . |
Modifier and Type | Interface and Description |
---|---|
interface |
Version
A
Version object wraps an nt:version node. |
interface |
VersionHistory
A
VersionHistory object wraps an nt:versionHistory
node. |
Modifier and Type | Method and Description |
---|---|
Node |
VersionManager.createActivity(String title)
This method creates a new
nt:activity at an
implementation-determined location in the /jcr:system/jcr:activities
subgraph. |
Node |
VersionManager.createConfiguration(String absPath)
Calling
createConfiguration on the node N at
absPath creates, in the configuration storage, a new
nt:configuration node whose root is N. |
Node |
VersionManager.getActivity()
Returns the node representing the current activity or
null
if there is no current activity. |
Node |
Version.getFrozenNode()
Returns the frozen node of this version.
|
Node |
VersionManager.setActivity(Node activity)
This method is called by the client to set the current activity on the
current session by specifying a previously created
nt:activity
node (see VersionManager.createActivity(java.lang.String) ). |
Modifier and Type | Method and Description |
---|---|
NodeIterator |
VersionManager.merge(Node activityNode)
This method merges the changes that were made under the specified
activity into the current workspace.
|
void |
VersionManager.removeActivity(Node activityNode)
This method removes the given
activityNode and all REFERENCE properties
within all workspaces that refer to the activityNode . |
Node |
VersionManager.setActivity(Node activity)
This method is called by the client to set the current activity on the
current session by specifying a previously created
nt:activity
node (see VersionManager.createActivity(java.lang.String) ). |
Modifier and Type | Method and Description |
---|---|
List<Node> |
BookmarkUtil.getBookmarks()
Returns a list of
Node objects for all bookmarks belonging to
the current user regardless of category. |
List<Node> |
BookmarkUtil.getBookmarks(String category)
Returns a list of
Node objects corresponding to the bookmarks for
the current user and the provided categories. |
Modifier and Type | Method and Description |
---|---|
void |
BookmarkUtil.add(Node bookmark)
Adds a bookmark for the current user.
|
void |
BookmarkUtil.add(Node bookmark,
String categories)
Deprecated.
Use
BookmarkUtil.add(javax.jcr.Node) , categories will be resolved from metadata. |
boolean |
BookmarkUtil.contains(Node bookmark)
Checks if the current user has the provided bookmark
|
void |
BookmarkUtil.remove(Node bookmark)
Removes a bookmark for the current user.
|
Modifier and Type | Method and Description |
---|---|
Node |
CollaborationGroupUtil.createCollaborationGroup(Node aGroupTemplate,
Node aGroupFolder,
String aGroupName)
Creates an open collaboration group.
|
Node |
CollaborationGroupUtil.createCollaborationGroup(Node aGroupTemplate,
Node aGroupFolder,
String aGroupName,
CollaborationGroupType aGroupType)
Creates a collaboration group.
|
Node |
CollaborationGroupWrapper.getCollaborationGroup()
Gets the wrapped collaboration group.
|
Node |
CollaborationGroupTemplateUtil.getCollaborationGroupTemplateByName(String aCollaborationGroupTemplateName)
Gets the first found collaboration group template that matches a given name.
|
Node |
CollaborationGroupFolderUtil.getDefaultCollaborationGroupFolder()
Gets the default collaboration group folder.
|
Node |
CollaborationGroupTemplateUtil.getDefaultCollaborationGroupTemplate()
Gets the default collaboration group template.
|
Node |
CollaborationGroupWrapper.getProfileImage()
Gets the profile image of the wrapped collaboration group.
|
Node |
CollaborationGroupWrapper.getProfileImagesFolder()
Gets the profile images folder of the wrapped collaboration group.
|
Modifier and Type | Method and Description |
---|---|
Set<Node> |
CollaborationGroupWrapper.getAdmins()
Gets the admins of the wrapped collaboration group.
|
List<Node> |
CollaborationGroupTemplateUtil.getCollaborationGroupTemplates()
Gets all collaboration group templates.
|
Set<Node> |
CollaborationGroupWrapper.getFollowers()
Gets the followers/eavesdroppers of the wrapped collaboration group.
|
Set<Node> |
CollaborationGroupWrapper.getMembers()
Gets the members of the wrapped collaboration group.
|
Modifier and Type | Method and Description |
---|---|
boolean |
CollaborationGroupWrapper.addAdmin(Node aUserIdentity)
Adds a user identity as admin of the wrapped collaboration group.
|
boolean |
CollaborationGroupWrapper.addMember(Node aUserIdentity)
Adds a user identity as member of the wrapped collaboration group.
|
boolean |
CollaborationGroupFolderUtil.containsCollaborationGroup(Node aCollaborationGroupFolder,
String aGroupName)
Whether or not a collaboration group folder already contains a named collaboration group.
|
Node |
CollaborationGroupUtil.createCollaborationGroup(Node aGroupTemplate,
Node aGroupFolder,
String aGroupName)
Creates an open collaboration group.
|
Node |
CollaborationGroupUtil.createCollaborationGroup(Node aGroupTemplate,
Node aGroupFolder,
String aGroupName,
CollaborationGroupType aGroupType)
Creates a collaboration group.
|
CollaborationGroupWrapper |
CollaborationFactory.getCollaborationGroupWrapper(Node aCollaborationGroup)
Gets a collaboration group wrapper for a specified collaboration group.
|
boolean |
CollaborationGroupWrapper.isAdmin(Node aUserIdentity)
Checks if a user identity is admin of the wrapped collaboration group.
|
boolean |
CollaborationGroupWrapper.isFollower(Node aUserIdentity)
Checks if a user identity is a follower/eavesdropper of the wrapped collaboration group.
|
boolean |
CollaborationGroupWrapper.isMember(Node aUserIdentity)
Checks if a user identity is member of the wrapped collaboration group.
|
boolean |
CollaborationGroupUtil.removeCollaborationGroup(Node aCollaborationGroup)
Removes a collaboration group.
|
boolean |
CollaborationGroupWrapper.removeMember(Node aUserIdentity)
Removes a member from the wrapped collaboration group.
|
boolean |
CollaborationGroupWrapper.setProfileImage(Node aProfileImage)
Sets the profile image of the wrapped collaboration group.
|
Modifier and Type | Method and Description |
---|---|
Node |
PortletContextUtil.getCurrentDecoratedNode()
Gets current decorated node (applicable during render of a sv:decorationTemplate).
|
Node |
PortletContextUtil.getCurrentModuleElement()
Gets current module element (module element draft or module element).
|
Node |
PortletContextUtil.getCurrentPage()
Gets current page (i.e. the page node for the currently executing portlet).
|
Node |
PortletContextUtil.getCurrentPortlet()
Gets current portlet.
|
Node |
PortletContextUtil.getCurrentUser()
Gets current user.
|
Node |
PortletContextUtil.getCurrentUserIdentity()
Gets current user identity.
|
Modifier and Type | Method and Description |
---|---|
Node |
SiteCookieUtil.resolveSiteCookieByIdentifier(String aCookieIdentifier)
Convenience method that resolves a sv:siteCookie Node from a given cookie identifier.
|
Modifier and Type | Method and Description |
---|---|
List<Node> |
SiteCookieUtil.getAnalyticsSiteCookies()
Analytics Site cookies (sv:siteCookie) of current site.
|
List<Node> |
SiteCookieUtil.getCustomSiteCookies()
Custom Site cookies (sv:siteCookie) of current site.
|
List<Node> |
SiteCookieUtil.getFunctionalSiteCookies()
Functional Site cookies (sv:siteCookie) of current site.
|
List<Node> |
SiteCookieUtil.getMarketingSiteCookies()
Marketing Site cookies (sv:siteCookie) of current site.
|
List<Node> |
SiteCookieUtil.getNecessarySiteCookies()
Necessary Site cookies (sv:siteCookie) of current site.
|
List<Node> |
SiteCookieUtil.getUserConsents()
Gets all sv:siteCookie nodes that current user has accepted.
|
Modifier and Type | Method and Description |
---|---|
boolean |
SiteCookieUtil.checkUserConsent(Node aSiteCookie)
Checks whether or not current user explicitly has accepted a specific site cookie.
|
Modifier and Type | Method and Description |
---|---|
String |
SiteCookieUtil.createUserConsentCookieValue(List<Node> aAllowCookieIdList)
Generates a consent string that can be saved as cookie value for the cookie named
SiteCookieUtil.getUserConsentCookieName() . |
Modifier and Type | Method and Description |
---|---|
boolean |
DeviceUtil.isMobileDevice(Node aPageNode)
Deprecated.
As of Sitevision 10 the parameter aPageNode is no longer used
|
Modifier and Type | Method and Description |
---|---|
Node |
TranslationUtil.getTranslatedFrom(Node aPageNode)
Gets the page node a given node is potentially translated from (the translation source).
|
Modifier and Type | Method and Description |
---|---|
Map<Locale,Node> |
TranslationUtil.getTranslations(Node aPageNode,
boolean aIncludePageNode)
Gets the translation mappings for a given page node.
|
Modifier and Type | Method and Description |
---|---|
Node |
TranslationUtil.getTranslatedFrom(Node aPageNode)
Gets the page node a given node is potentially translated from (the translation source).
|
Map<Locale,Node> |
TranslationUtil.getTranslations(Node aPageNode,
boolean aIncludePageNode)
Gets the translation mappings for a given page node.
|
boolean |
TranslationUtil.setTranslatedFrom(Node aOriginalPageNode,
Node aTranslationPageNode)
Sets the translated from node to the page node provided as translation node.
|
Modifier and Type | Method and Description |
---|---|
Node |
MetadataDefinitionUtil.getDefinition(Node aNode,
String aDefinitionName)
Gets a metadata definition as a
Node from a Node . |
Node |
MetadataDefinitionUtil.getDefinition(Node aNode,
String aDefinitionName,
Node aDefaultValue)
Gets a metadata definition as a
Node from a Node with a fallback value if the definition does not exist. |
Node |
MetadataUtil.getLinkMetadataPropertyValue(Node aNode,
String aPropertyName)
Returns a
Node for a link metadata on a specified Node . |
Modifier and Type | Method and Description |
---|---|
List<Node> |
MetadataDefinitionUtil.getDefinitions(Node aNode)
Gets all metadata definitions available for the current user on a
Node |
Modifier and Type | Method and Description |
---|---|
void |
MetadataDefinitionUtil.addAlternative(Node aNode,
String aDefinitionName,
String aAlternativeName)
Add an alternative to a definition
|
Node |
MetadataDefinitionUtil.getDefinition(Node aNode,
String aDefinitionName)
Gets a metadata definition as a
Node from a Node . |
Node |
MetadataDefinitionUtil.getDefinition(Node aNode,
String aDefinitionName,
Node aDefaultValue)
Gets a metadata definition as a
Node from a Node with a fallback value if the definition does not exist. |
List<Node> |
MetadataDefinitionUtil.getDefinitions(Node aNode)
Gets all metadata definitions available for the current user on a
Node |
Node |
MetadataUtil.getLinkMetadataPropertyValue(Node aNode,
String aPropertyName)
Returns a
Node for a link metadata on a specified Node . |
List |
MetadataUtil.getRelatedMetadataPropertyValues(Node aNode,
String aPropertyName)
Returns a
List containing all related metadata values for a specified Node . |
boolean |
MetadataUtil.isMetadataValueInherited(Node aNode,
Property aProperty)
Returns a
boolean indicating that the metadata value on the Node is
inherited from a parent node. |
boolean |
MetadataUtil.isMetadataValueInherited(Node aNode,
Property aProperty,
int aVersion)
Returns a
boolean indicating that the metadata value in a specified version on the Node is
inherited from a parent node. |
boolean |
MetadataUtil.isMetadataValueInherited(Node aNode,
String aPropertyName)
Returns a
boolean indicating that the metadata value on the Node is
inherited from a parent node. |
boolean |
MetadataUtil.isMetadataValueInherited(Node aNode,
String aPropertyName,
int aVersion)
Returns a
boolean indicating that the metadata value in a specified version on the Node is
inherited from a parent node. |
void |
MetadataDefinitionUtil.removeAlternative(Node aNode,
String aDefinitionName,
String aAlternativeName)
Remove an alternative from a definition
|
void |
MetadataUtil.removeMetadataPropertyValue(Node aNode,
Property aProperty)
Removes a metadata
Property value on a Node . |
void |
MetadataUtil.removeMetadataPropertyValue(Node aNode,
String aPropertyName)
Removes a metadata
Property value on a Node . |
void |
MetadataDefinitionUtil.renameAlternative(Node aNode,
String aDefinitionName,
String aAlternativeName,
String aNewAlternativeName)
Rename an alternative for a definition
|
void |
MetadataUtil.setMetadataPropertyValue(Node aNode,
Property aProperty,
Object aValue)
Set a new value to a metadata
Property on a Node . |
void |
MetadataUtil.setMetadataPropertyValue(Node aNode,
String aPropertyName,
Object aValue)
Set a new value to a metadata
Property on a Node . |
Modifier and Type | Method and Description |
---|---|
RelatedValueBuilder |
RelatedValueBuilder.addUser(Node aUserNode)
Adds a user value.
|
LinkValueBuilder |
LinkValueBuilder.setInternalTarget(Node aNode)
Sets the target.
|
Modifier and Type | Method and Description |
---|---|
Node |
NodeIteratorUtil.findFirst(NodeIterator aNodeIterator,
Filter<Node> aFilter)
Gets the first node from a node iterator that matches a specified filter.
|
Node |
NodeTreeUtil.findPortletByName(Node aPageNode,
String aPortletName)
Find a portlet with a specific name on a page node.
|
Node |
ContentNodeUtil.getContentParent(Node aContentNode)
Gets the content parent of a given content node.
|
Node |
NodeTreeUtil.getNode(Node aNode,
String aRelPath)
Gets a node relative to another node.
|
Node |
NodeTreeUtil.getParent(Node aNode)
Gets the parent of a node.
|
Node |
ContentNodeUtil.getRenderableParent(Node aContentNode)
Gets the renderable parent of a given content node.
|
Modifier and Type | Method and Description |
---|---|
List<Node> |
NodeIteratorUtil.findAll(NodeIterator aNodeIterator,
Filter<Node> aFilter)
Gets a list of all nodes from a node iterator that matches a specified filter.
|
List<Node> |
NodeIteratorUtil.findNodes(NodeIterator aNodeIterator,
Filter<Node> aFilter,
int aMaxNodesToFind)
Gets a max-sized node list from a node iterator that matches a specified filter.
|
List<Node> |
NodeTreeUtil.findPortletsByName(Node aPageNode,
String aPortletName)
Find all portlets with a specific name on a page node.
|
List<Node> |
NodeTreeUtil.findPortletsByName(Node aPageNode,
String aPortletName,
Filter<Node> aNodeFilter)
Find all portlets with a specific name on a page node and applies a node filter to the result.
|
List<Node> |
NodeTreeUtil.findPortletsByType(Node aPageNode,
String aPortletType)
Find all portlets of a specific type on a page node.
|
List<Node> |
NodeTreeUtil.findPortletsByType(Node aPageNode,
String aPortletType,
Filter<Node> aNodeFilter)
Find all portlets with a specific type on a page node and applies a node filter to the result.
|
Filter<Node> |
NodeFilterUtil.getAfterCalendarPropertyFilter(String aPropertyName,
Calendar aAfterThresholdValue)
Gets a filter that matches by an after value for a specified Calendar property.
|
Filter<Node> |
NodeFilterUtil.getAfterNestedCalendarPropertyFilter(String aNodePropertyName,
String aPropertyName,
Calendar aAfterThresholdValue)
Gets a filter that matches by an after value of a nested node's specified Calendar property.
|
Filter<Node> |
NodeFilterUtil.getAlwaysAcceptFilter()
Gets a filter that always matches.
|
Filter<Node> |
NodeFilterUtil.getAnyOfPrimaryNodeTypesFilter(Collection<String> aPrimaryNodeTypeNames)
Gets a filter that matches all nodes that has a primary node type that is present in given collection.
|
Filter<Node> |
NodeFilterUtil.getBeforeCalendarPropertyFilter(String aPropertyName,
Calendar aBeforeThresholdValue)
Gets a filter that matches by a before value for a specified Calendar property.
|
Filter<Node> |
NodeFilterUtil.getBeforeNestedCalendarPropertyFilter(String aNodePropertyName,
String aPropertyName,
Calendar aBeforeThresholdValue)
Gets a filter that matches by a before value of a nested node's specified Calendar property.
|
Filter<Node> |
NodeFilterUtil.getBooleanPropertyFilter(String aPropertyName,
boolean aMatchValue)
Gets a filter that matches by a specified boolean property.
|
Comparator<Node> |
NodeComparatorUtil.getCalendarPropertyComparator(String aCalendarPropertyName)
Returns a comparator that compares nodes by the value of a calendar property.
|
Filter<Node> |
NodeFilterUtil.getCalendarPropertyFilter(String aPropertyName,
Calendar aMatchValue)
Gets a filter that matches by a specified Calendar property.
|
Resolver<Node,Calendar> |
NodeResolverUtil.getCollaborationCalendarResolver()
Gets the Calendar resolver for Collaboration-related nodes.
|
Resolver<Node,Date> |
NodeResolverUtil.getCollaborationDateResolver()
Gets the Date resolver for Collaboration-related nodes.
|
Filter<Node> |
NodeFilterUtil.getContainsStringMultiPropertyFilter(String aPropertyName,
String aContainsValue)
Gets a filter that matches by the value-contains of a specified multi-valued string property.
|
Filter<Node> |
NodeFilterUtil.getContainsStringPropertyFilter(String aPropertyName,
String aContainsValue)
Gets a filter that matches by the value-contains of a specified string property.
|
Filter<Node> |
NodeFilterUtil.getDoublePropertyFilter(String aPropertyName,
double aMatchValue)
Gets a filter that matches by a specified double property.
|
Filter<Node> |
NodeFilterUtil.getEndsWithStringPropertyFilter(String aPropertyName,
String aEndsWithValue)
Gets a filter that matches by the value-ends-with of a specified string property.
|
Map<Node,?> |
NodeFilterUtil.getFilteredKeyMap(Map<Node,?> aNodeKeyMap,
Filter<Node> aNodeFilter)
Applies a node filter to a Map with Node keys and gets the result.
|
List<Node> |
NodeFilterUtil.getFilteredList(List<Node> aNodeList,
Filter<Node> aNodeFilter)
Applies a node filter to a list and gets the result.
|
Map<?,Node> |
NodeFilterUtil.getFilteredValueMap(Map<?,Node> aNodeValueMap,
Filter<Node> aNodeFilter)
Applies a node filter to a Map with Node values and gets the result.
|
Filter<Node> |
NodeFilterUtil.getHasPropertyFilter(String aPropertyName)
Gets a filter that matches by the existence of a specified property.
|
Filter<Node> |
NodeFilterUtil.getIdentifierFilter(String aIdentifier)
Gets a filter that matches by a specified node identifier.
|
Filter<Node> |
NodeFilterUtil.getIdentifierPrefixFilter(String aIdentifierPrefix)
Gets a filter that matches by a specified node identifier prefix.
|
Filter<Node> |
NodeFilterUtil.getIdentifierSuffixFilter(String aIdentifierSuffix)
Gets a filter that matches by a specified node identifier suffix.
|
Filter<Node> |
NodeFilterUtil.getIgnoreCaseStringPropertyFilter(String aPropertyName,
String aCaseInsensitiveValue)
Gets a filter that matches case-insensitive by a specified string property.
|
Comparator<Node> |
NodeComparatorUtil.getIntPropertyComparator(String aIntPropertyName)
Returns a comparator that compares nodes by the value of a calendar property.
|
Filter<Node> |
NodeFilterUtil.getIntPropertyFilter(String aPropertyName,
int aMatchValue)
Gets a filter that matches by a specified int property.
|
Filter<Node> |
NodeFilterUtil.getInvertedFilter(Filter<Node> aFilter)
Gets a filter that inverts the result of another filter.
|
Resolver<Node,Locale> |
NodeResolverUtil.getLocaleResolver()
Gets the Locale resolver for nodes.
|
Filter<Node> |
NodeFilterUtil.getMaxDoublePropertyFilter(String aPropertyName,
double aMaxValue)
Gets a filter that matches by the max value of a specified double property.
|
Filter<Node> |
NodeFilterUtil.getMaxIntPropertyFilter(String aPropertyName,
int aMaxValue)
Gets a filter that matches by the max value of a specified int property.
|
Filter<Node> |
NodeFilterUtil.getMaxNestedIntPropertyFilter(String aNodePropertyName,
String aPropertyName,
int aMaxValue)
Gets a filter that matches by a nested node's max value of a specified int property.
|
Filter<Node> |
NodeFilterUtil.getMinDoublePropertyFilter(String aPropertyName,
double aMinValue)
Gets a filter that matches by the min value of a specified double property.
|
Filter<Node> |
NodeFilterUtil.getMinIntPropertyFilter(String aPropertyName,
int aMinValue)
Gets a filter that matches by the min value of a specified int property.
|
Filter<Node> |
NodeFilterUtil.getMinNestedIntPropertyFilter(String aNodePropertyName,
String aPropertyName,
int aMinValue)
Gets a filter that matches by a nested node's min value of a specified int property.
|
Filter<Node> |
NodeFilterUtil.getNestedBooleanPropertyFilter(String aNodePropertyName,
String aPropertyName,
boolean aMatchValue)
Gets a filter that matches by a nested node's specified boolean property.
|
Filter<Node> |
NodeFilterUtil.getNestedCalendarPropertyFilter(String aNodePropertyName,
String aPropertyName,
Calendar aMatchValue)
Gets a filter that matches by a nested node's specified Calendar property.
|
Filter<Node> |
NodeFilterUtil.getNestedDoublePropertyFilter(String aNodePropertyName,
String aPropertyName,
double aMatchValue)
Gets a filter that matches by a nested node's specified double property.
|
Filter<Node> |
NodeFilterUtil.getNestedIntPropertyFilter(String aNodePropertyName,
String aPropertyName,
int aMatchValue)
Gets a filter that matches by a nested node's specified int property.
|
Filter<Node> |
NodeFilterUtil.getNeverAcceptFilter()
Gets a filter that never matches.
|
Filter<Node> |
NodeFilterUtil.getNoneOfPrimaryNodeTypesFilter(Collection<String> aExcludedPrimaryNodeTypeNames)
Gets a filter that matches all nodes that does not have a primary node type present in given collection.
|
Filter<Node> |
NodeFilterUtil.getNonNullFilter()
Gets a filter that matches non-null nodes.
|
Filter<Node> |
NodeFilterUtil.getNullFilter()
Gets a filter that matches null nodes.
|
Filter<Node> |
NodeFilterUtil.getPatternStringMultiPropertyFilter(String aPropertyName,
String aRegularExpression)
Gets a filter that matches by a regular expression of a specified multi-valued string property.
|
Filter<Node> |
NodeFilterUtil.getPatternStringPropertyFilter(String aPropertyName,
String aRegularExpression)
Gets a filter that matches by a regular expression of a specified string property.
|
Filter<Node> |
NodeFilterUtil.getPrimaryNodeTypeFilter(String aPrimaryNodeTypeName)
Gets a filter that matches by a specified primary node type.
|
Comparator<Node> |
NodeComparatorUtil.getPropertyComparator(String aPropertyName)
Returns a comparator that compares nodes by the string value of a property in a case-insensitive manner.
|
Comparator<Node> |
NodeComparatorUtil.getPropertyComparator(String aPropertyName,
Locale aLocale)
Returns a comparator that compares nodes by the string value of a property in a case-insensitive manner using a specified locale.
|
Filter<Node> |
NodeFilterUtil.getRangeCalendarPropertyFilter(String aPropertyName,
Calendar aAfterThresholdValue,
Calendar aBeforeThresholdValue)
Gets a filter that matches by the between range of a specified Calendar property.
|
Filter<Node> |
NodeFilterUtil.getRangeDoublePropertyFilter(String aPropertyName,
double aMinValue,
double aMaxValue)
Gets a filter that matches by the range of a specified double property.
|
Filter<Node> |
NodeFilterUtil.getRangeIntPropertyFilter(String aPropertyName,
int aMinValue,
int aMaxValue)
Gets a filter that matches by the range of a specified int property.
|
Filter<Node> |
NodeFilterUtil.getRangeNestedCalendarPropertyFilter(String aNodePropertyName,
String aPropertyName,
Calendar aAfterThresholdValue,
Calendar aBeforeThresholdValue)
Gets a filter that matches by the between range of a nested node's specified Calendar property.
|
Filter<Node> |
NodeFilterUtil.getRangeNestedIntPropertyFilter(String aNodePropertyName,
String aPropertyName,
int aMinValue,
int aMaxValue)
Gets a filter that matches by a nested node's range of a specified int property.
|
<V extends Comparable> |
NodeComparatorUtil.getResolverComparator(Resolver<Node,V> aResolver)
Gets a comparator that compares nodes by the values extracted by a resolver.
|
Comparator<Node> |
NodeComparatorUtil.getReversedComparator(Comparator<Node> aNodeComparator)
Returns a comparator that reverses the result of another.
|
Filter<Node> |
NodeFilterUtil.getStartsWithStringPropertyFilter(String aPropertyName,
String aStartsWithValue)
Gets a filter that matches by the value-starts-with of a specified string property.
|
Filter<Node> |
NodeFilterUtil.getStringMultiPropertyFilter(String aPropertyName,
String aMatchValue)
Gets a filter that matches by a specified multi-valued string property.
|
Filter<Node> |
NodeFilterUtil.getStringPropertyFilter(String aPropertyName,
String aMatchValue)
Gets a filter that matches by a specified string property.
|
Resolver<Node,List<Node>> |
NodeResolverUtil.getTagGroupsResolver()
Gets the sv:tagGroup resolver for nodes.
|
Resolver<Node,List<Node>> |
NodeResolverUtil.getTagGroupsResolver()
Gets the sv:tagGroup resolver for nodes.
|
Resolver<Node,List<Node>> |
NodeResolverUtil.getTagsResolver()
Gets the sv:tag resolver for nodes.
|
Resolver<Node,List<Node>> |
NodeResolverUtil.getTagsResolver()
Gets the sv:tag resolver for nodes.
|
List<Node> |
NodeTreeUtil.getWebPathNodes(Node aDescendantNode)
Returns a top-down list of all web nodes from the site page down to a specified page tree node.
|
Resolver<Node,Calendar> |
NodeResolverUtil.getVersionedCalendarResolver()
Gets the versioned Calendar resolver for nodes.
|
Resolver<Node,Date> |
NodeResolverUtil.getVersionedDateResolver()
Gets the versioned Date resolver for nodes.
|
FilterSplit<Node> |
NodeFilterUtil.split(Collection<Node> aNodeCollection,
Filter<Node> aNodeFilter)
Gets the filtering result of a split operation for a collection of nodes with a node filter as divider.
|
FilterSplit<Node> |
NodeIteratorUtil.split(NodeIterator aNodeIterator,
Filter<Node> aFilter)
Gets the filtering result of a split operation for a node iterator with a node filter as divider.
|
List<Node> |
NodeIteratorUtil.toList(NodeIterator aNodeIterator)
Gets a list of all nodes of a node iterator.
|
Modifier and Type | Method and Description |
---|---|
Node |
NodeTreeUtil.findPortletByName(Node aPageNode,
String aPortletName)
Find a portlet with a specific name on a page node.
|
List<Node> |
NodeTreeUtil.findPortletsByName(Node aPageNode,
String aPortletName)
Find all portlets with a specific name on a page node.
|
List<Node> |
NodeTreeUtil.findPortletsByName(Node aPageNode,
String aPortletName,
Filter<Node> aNodeFilter)
Find all portlets with a specific name on a page node and applies a node filter to the result.
|
List<Node> |
NodeTreeUtil.findPortletsByType(Node aPageNode,
String aPortletType)
Find all portlets of a specific type on a page node.
|
List<Node> |
NodeTreeUtil.findPortletsByType(Node aPageNode,
String aPortletType,
Filter<Node> aNodeFilter)
Find all portlets with a specific type on a page node and applies a node filter to the result.
|
Node |
ContentNodeUtil.getContentParent(Node aContentNode)
Gets the content parent of a given content node.
|
NodeIterator |
NodeIteratorUtil.getMenuItems(Node aParent)
Gets an iterator for default menu items (i.e. non-hidden pages, link pages etc. where current user has read permission)
|
NodeIterator |
NodeIteratorUtil.getMenuItemsIncludingFolders(Node aParent)
Gets an iterator for default menu items (i.e. getMenuItems(Node)), including folders
|
Node |
NodeTreeUtil.getNode(Node aNode,
String aRelPath)
Gets a node relative to another node.
|
Node |
NodeTreeUtil.getParent(Node aNode)
Gets the parent of a node.
|
Node |
ContentNodeUtil.getRenderableParent(Node aContentNode)
Gets the renderable parent of a given content node.
|
List<Node> |
NodeTreeUtil.getWebPathNodes(Node aDescendantNode)
Returns a top-down list of all web nodes from the site page down to a specified page tree node.
|
boolean |
NodeTypeUtil.isAnyContentType(Node aNode)
Convenience method that checks if a node is of "Content node" type.
|
boolean |
NodeTypeUtil.isAnyRenderableType(Node aNode)
Convenience method that checks if a node is of "Renderable node" type.
|
boolean |
NodeTypeUtil.isAnyUserType(Node aNode)
Convenience method that checks if a node is of "User node" type.
|
boolean |
NodeTypeUtil.isApplicationIndex(Node aNode)
Checks if a node is an application index.
|
boolean |
NodeTypeUtil.isArchive(Node aNode)
Checks if a node is an archive.
|
boolean |
NodeTypeUtil.isArticle(Node aNode)
Checks if a node is an article.
|
boolean |
NodeTypeUtil.isCollaborationGroup(Node aNode)
Checks if a node is a collaboration group.
|
boolean |
NodeTypeUtil.isCollaborationGroupFolder(Node aNode)
Checks if a node is a collaboration group folder.
|
boolean |
NodeTypeUtil.isCollaborationGroupPage(Node aNode)
Checks if a node is a collaboration group page.
|
boolean |
NodeTypeUtil.isCollaborationGroupTemplate(Node aNode)
Checks if a node is a collaboration group template.
|
boolean |
NodeTypeUtil.isColor(Node aNode)
Checks if a node is a color.
|
boolean |
NodeTypeUtil.isDecoration(Node aNode)
Checks if a node is a decoration.
|
boolean |
NodeTreeUtil.isDescendantOf(Node aDescendantNode,
Node aParentNode)
Check if a given page tree node is a descendant of another page tree node.
|
boolean |
NodeTypeUtil.isDirectory(Node aNode)
Checks if a node is a LDAP directory.
|
boolean |
NodeTypeUtil.isFile(Node aNode)
Checks if a node is a file.
|
boolean |
NodeTypeUtil.isFolder(Node aNode)
Checks if a node is a folder.
|
boolean |
NodeTypeUtil.isFont(Node aNode)
Checks if a node is a font.
|
boolean |
NodeTypeUtil.isImage(Node aNode)
Checks if a node is an image.
|
boolean |
NodeTypeUtil.isLayout(Node aNode)
Checks if a node is a layout.
|
boolean |
NodeTypeUtil.isLink(Node aNode)
Checks if a node is a link.
|
boolean |
NodeTypeUtil.isNodeIndex(Node aNode)
Checks if a node is a node index.
|
boolean |
NodeTypeUtil.isPage(Node aNode)
Checks if a node is a page.
|
boolean |
NodeTypeUtil.isPortlet(Node aNode)
Checks if a node is a portlet.
|
boolean |
NodeTypeUtil.isRssFeed(Node aNode)
Checks if a node is a RSS feed.
|
boolean |
NodeTypeUtil.isRssFeedItem(Node aNode)
Checks if a node is a RSS feed item.
|
boolean |
NodeTypeUtil.isRssFeedRepository(Node aNode)
Checks if a node is a RSS feed repository.
|
boolean |
NodeTypeUtil.isSimpleUser(Node aNode)
Checks if a node is a sv:simpleUser.
|
boolean |
NodeTypeUtil.isSite(Node aNode)
Checks if a node is a site.
|
boolean |
NodeTypeUtil.isSitePage(Node aNode)
Checks if a node is a site page.
|
boolean |
NodeTypeUtil.isStructureFolder(Node aNode)
Checks if a node is a structure folder.
|
boolean |
NodeTypeUtil.isStructureLink(Node aNode)
Checks if a node is a structure link.
|
boolean |
NodeTypeUtil.isStructurePage(Node aNode)
Checks if a node is a structure page.
|
boolean |
NodeTypeUtil.isSystemUser(Node aNode)
Checks if a node is a sv:systemUser.
|
boolean |
NodeTypeUtil.isTemplate(Node aNode)
Checks if a node is a template.
|
boolean |
NodeTypeUtil.isTemporaryFile(Node aNode)
Checks if a node is a temporary file.
|
boolean |
NodeTypeUtil.isTrashcan(Node aNode)
Checks if a node is a trashcan.
|
boolean |
NodeTypeUtil.isType(Node aNode,
String aPrimaryNodeType)
Checks a node against a given node type name to see if they match.
|
boolean |
NodeTypeUtil.isTypeOf(Node aNode,
String... aPrimaryNodeTypes)
Checks a node against multiple node type names to see if any of them match.
|
boolean |
NodeTypeUtil.isUser(Node aNode)
Checks if a node is a sv:user.
|
boolean |
NodeTypeUtil.isUserIdentity(Node aNode)
Checks if a node is a user identity.
|
Modifier and Type | Method and Description |
---|---|
List<Node> |
NodeIteratorUtil.findAll(NodeIterator aNodeIterator,
Filter<Node> aFilter)
Gets a list of all nodes from a node iterator that matches a specified filter.
|
Node |
NodeIteratorUtil.findFirst(NodeIterator aNodeIterator,
Filter<Node> aFilter)
Gets the first node from a node iterator that matches a specified filter.
|
List<Node> |
NodeIteratorUtil.findNodes(NodeIterator aNodeIterator,
Filter<Node> aFilter,
int aMaxNodesToFind)
Gets a max-sized node list from a node iterator that matches a specified filter.
|
List<Node> |
NodeTreeUtil.findPortletsByName(Node aPageNode,
String aPortletName,
Filter<Node> aNodeFilter)
Find all portlets with a specific name on a page node and applies a node filter to the result.
|
List<Node> |
NodeTreeUtil.findPortletsByType(Node aPageNode,
String aPortletType,
Filter<Node> aNodeFilter)
Find all portlets with a specific type on a page node and applies a node filter to the result.
|
Map<Node,?> |
NodeFilterUtil.getFilteredKeyMap(Map<Node,?> aNodeKeyMap,
Filter<Node> aNodeFilter)
Applies a node filter to a Map with Node keys and gets the result.
|
Map<Node,?> |
NodeFilterUtil.getFilteredKeyMap(Map<Node,?> aNodeKeyMap,
Filter<Node> aNodeFilter)
Applies a node filter to a Map with Node keys and gets the result.
|
List<Node> |
NodeFilterUtil.getFilteredList(List<Node> aNodeList,
Filter<Node> aNodeFilter)
Applies a node filter to a list and gets the result.
|
List<Node> |
NodeFilterUtil.getFilteredList(List<Node> aNodeList,
Filter<Node> aNodeFilter)
Applies a node filter to a list and gets the result.
|
NodeIterator |
NodeIteratorUtil.getFilteredNodeIterator(NodeIterator aNodeIterator,
Filter<Node> aNodeFilter)
Gets a filtered NodeIterator.
|
Map<?,Node> |
NodeFilterUtil.getFilteredValueMap(Map<?,Node> aNodeValueMap,
Filter<Node> aNodeFilter)
Applies a node filter to a Map with Node values and gets the result.
|
Map<?,Node> |
NodeFilterUtil.getFilteredValueMap(Map<?,Node> aNodeValueMap,
Filter<Node> aNodeFilter)
Applies a node filter to a Map with Node values and gets the result.
|
Filter<Node> |
NodeFilterUtil.getInvertedFilter(Filter<Node> aFilter)
Gets a filter that inverts the result of another filter.
|
<V extends Comparable> |
NodeComparatorUtil.getResolverComparator(Resolver<Node,V> aResolver)
Gets a comparator that compares nodes by the values extracted by a resolver.
|
Comparator<Node> |
NodeComparatorUtil.getReversedComparator(Comparator<Node> aNodeComparator)
Returns a comparator that reverses the result of another.
|
FilterSplit<Node> |
NodeFilterUtil.split(Collection<Node> aNodeCollection,
Filter<Node> aNodeFilter)
Gets the filtering result of a split operation for a collection of nodes with a node filter as divider.
|
FilterSplit<Node> |
NodeFilterUtil.split(Collection<Node> aNodeCollection,
Filter<Node> aNodeFilter)
Gets the filtering result of a split operation for a collection of nodes with a node filter as divider.
|
FilterSplit<Node> |
NodeIteratorUtil.split(NodeIterator aNodeIterator,
Filter<Node> aFilter)
Gets the filtering result of a split operation for a node iterator with a node filter as divider.
|
Modifier and Type | Method and Description |
---|---|
Node |
TemporaryFileNodeBuilder.build()
Creates a volatile and short-lived temporary file node using current state.
|
Node |
TemporaryNodeBuilder.build()
Creates a volatile and short-lived temporary node using current state (name and properties).
|
Modifier and Type | Method and Description |
---|---|
Comparator<Node> |
CompoundComparatorBuilder.build()
Creates a node comparator instance that will calculate its compareTo return value based on currently specified comparators.
|
Filter<Node> |
CompoundOrFilterBuilder.build()
Creates a node filter instance that will perform the OR operation for all currently specified filters.
|
Filter<Node> |
CompoundAndFilterBuilder.build()
Creates a node filter instance that will perform the AND operation for all currently specified filters.
|
Modifier and Type | Method and Description |
---|---|
TemporaryNodeBuilder |
TemporaryNodeBuilder.addNodeProperty(String aName,
Node aNode)
Adds a Node property to this builder.
|
Modifier and Type | Method and Description |
---|---|
CompoundComparatorBuilder |
CompoundComparatorBuilder.addComparator(Comparator<Node> aComparator)
Adds a node comparator to this builder.
|
CompoundOrFilterBuilder |
CompoundOrFilterBuilder.addFilter(Filter<Node> aFilter)
Adds a node filter to this builder.
|
CompoundAndFilterBuilder |
CompoundAndFilterBuilder.addFilter(Filter<Node> aFilter)
Adds a node filter to this builder.
|
Modifier and Type | Method and Description |
---|---|
Node |
PropertyUtil.getEnabledNode(Node aNode,
String aEnablingPropertyName,
String aNodePropertyName)
Gets a Node property from a Node if an enabling property allows it.
|
Node |
PropertyUtil.getEnabledNode(Node aNode,
String aEnablingPropertyName,
String aNodePropertyName,
Node aDefaultValue)
Gets a Node property from a Node if an enabling property allows it, with a fallback Node value.
|
Node |
PropertyUtil.getNestedNode(Node aNode,
String aNodePropertyName,
String aPropertyName)
Gets a Node property from a "nested" Node's property.
|
Node |
PropertyUtil.getNestedNode(Node aNode,
String aNodePropertyName,
String aPropertyName,
Node aDefaultValue)
Gets a Node property from a "nested" Node's property with a fallback value if the property doesn't exist.
|
Node |
PropertyUtil.getNode(Node aNode,
String aPropertyName)
Gets a Node property from a Node.
|
Node |
PropertyUtil.getNode(Node aNode,
String aPropertyName,
Node aDefaultValue)
Gets a Node property from a Node with a fallback value if the property doesn't exist.
|
Modifier and Type | Method and Description |
---|---|
Binary |
PropertyUtil.getBinary(Node aNode,
String aPropertyName)
Gets a Binary property from a Node.
|
Binary |
PropertyUtil.getBinary(Node aNode,
String aPropertyName,
Binary aDefaultValue)
Gets a Binary property from a node with a fallback value if the property doesn't exist.
|
boolean |
PropertyUtil.getBoolean(Node aNode,
String aPropertyName)
Gets a boolean property from a Node.
|
boolean |
PropertyUtil.getBoolean(Node aNode,
String aPropertyName,
boolean aDefaultValue)
Gets a boolean property from a Node with a fallback value if the property doesn't exist or is incompatible with the boolean type.
|
Calendar |
PropertyUtil.getCalendar(Node aNode,
String aPropertyName)
Gets a Calendar property from a Node.
|
Calendar |
PropertyUtil.getCalendar(Node aNode,
String aPropertyName,
Calendar aDefaultValue)
Gets a Calendar property from a Node with a fallback value if the property doesn't exist or is incompatible with the Calendar type.
|
double |
PropertyUtil.getDouble(Node aNode,
String aPropertyName)
Gets a double property from a Node.
|
double |
PropertyUtil.getDouble(Node aNode,
String aPropertyName,
double aDefaultValue)
Gets a double property from a node with a fallback value if the property doesn't exist or is incompatible with the double type.
|
Node |
PropertyUtil.getEnabledNode(Node aNode,
String aEnablingPropertyName,
String aNodePropertyName)
Gets a Node property from a Node if an enabling property allows it.
|
Node |
PropertyUtil.getEnabledNode(Node aNode,
String aEnablingPropertyName,
String aNodePropertyName,
Node aDefaultValue)
Gets a Node property from a Node if an enabling property allows it, with a fallback Node value.
|
String |
PropertyUtil.getEnabledString(Node aNode,
String aEnablingPropertyName,
String aStringPropertyName)
Gets a String property from a Node if an enabling boolean property allows it.
|
String |
PropertyUtil.getEnabledString(Node aNode,
String aEnablingPropertyName,
String aStringPropertyName,
String aDefaultValue)
Gets a String property from a Node if an enabling boolean property allows it, with a fallback value.
|
String |
PropertyUtil.getEnabledStringEscaped(Node aNode,
String aEnablingPropertyName,
String aStringPropertyName)
Gets a String property from a Node if an enabling boolean property allows it, and returns it XML escaped.
|
String |
PropertyUtil.getEnabledStringEscaped(Node aNode,
String aEnablingPropertyName,
String aStringPropertyName,
String aDefaultValue)
Gets a String property from a Node if an enabling boolean property allows it, and returns it XML escaped with a fallback value.
|
int |
PropertyUtil.getInt(Node aNode,
String aPropertyName)
Gets an int property from a Node.
|
int |
PropertyUtil.getInt(Node aNode,
String aPropertyName,
int aDefaultValue)
Gets an int property from a node with a fallback value if the property doesn't exist or is incompatible with the int type.
|
Binary |
PropertyUtil.getNestedBinary(Node aNode,
String aNodePropertyName,
String aPropertyName)
Gets a Binary property from a "nested" Node's property.
|
Binary |
PropertyUtil.getNestedBinary(Node aNode,
String aNodePropertyName,
String aPropertyName,
Binary aDefaultValue)
Gets a Binary property from a "nested" Node's property with a fallback value if the property doesn't exist.
|
boolean |
PropertyUtil.getNestedBoolean(Node aNode,
String aNodePropertyName,
String aPropertyName)
Gets a boolean property from a "nested" Node's property.
|
boolean |
PropertyUtil.getNestedBoolean(Node aNode,
String aNodePropertyName,
String aPropertyName,
boolean aDefaultValue)
Gets a boolean property from a "nested" Node's property with a fallback value if the property doesn't exist or is incompatible
with the boolean type.
|
Calendar |
PropertyUtil.getNestedCalendar(Node aNode,
String aNodePropertyName,
String aPropertyName)
Gets a Calendar property from a "nested" Node's property.
|
Calendar |
PropertyUtil.getNestedCalendar(Node aNode,
String aNodePropertyName,
String aPropertyName,
Calendar aDefaultValue)
Gets a Calendar property from a "nested" Node's property with a fallback value if the property doesn't exist.
|
double |
PropertyUtil.getNestedDouble(Node aNode,
String aNodePropertyName,
String aPropertyName)
Gets a double property from a "nested" Node's property.
|
double |
PropertyUtil.getNestedDouble(Node aNode,
String aNodePropertyName,
String aPropertyName,
double aDefaultValue)
Gets a double property from a "nested" Node's property with a fallback value if the property doesn't exist or is incompatible
with the double type.
|
int |
PropertyUtil.getNestedInt(Node aNode,
String aNodePropertyName,
String aPropertyName)
Gets an int property from a "nested" Node's property.
|
int |
PropertyUtil.getNestedInt(Node aNode,
String aNodePropertyName,
String aPropertyName,
int aDefaultValue)
Gets an int property from a "nested" Node's property with a fallback value if the property doesn't exist or is incompatible with the int type.
|
Node |
PropertyUtil.getNestedNode(Node aNode,
String aNodePropertyName,
String aPropertyName)
Gets a Node property from a "nested" Node's property.
|
Node |
PropertyUtil.getNestedNode(Node aNode,
String aNodePropertyName,
String aPropertyName,
Node aDefaultValue)
Gets a Node property from a "nested" Node's property with a fallback value if the property doesn't exist.
|
String |
PropertyUtil.getNestedString(Node aNode,
String aNodePropertyName,
String aPropertyName)
Gets a String property from a "nested" Node's property.
|
String |
PropertyUtil.getNestedString(Node aNode,
String aNodePropertyName,
String aPropertyName,
String aDefaultValue)
Gets a String property from a "nested" Node's property with a fallback value if the property doesn't exist.
|
String |
PropertyUtil.getNestedStringEscaped(Node aNode,
String aNodePropertyName,
String aPropertyName)
Gets a String property from a "nested" Node's property and returns it XML escaped.
|
String |
PropertyUtil.getNestedStringEscaped(Node aNode,
String aNodePropertyName,
String aPropertyName,
String aDefaultValue)
Gets a String property from a "nested" Node's property with a fallback value if the property doesn't exist, and returns it XML escaped.
|
List<String> |
PropertyUtil.getNestedStrings(Node aNode,
String aNodePropertyName,
String aPropertyName)
Gets a
List of property values from a "nested" Node's property. |
List<String> |
PropertyUtil.getNestedStrings(Node aNode,
String aNodePropertyName,
String aPropertyName,
List<String> aDefaultValue)
Gets a
List of property values from a "nested" Node's property with a fallback value if the property doesn't exist. |
List<String> |
PropertyUtil.getNestedStringsEscaped(Node aNode,
String aNodePropertyName,
String aPropertyName)
Gets a
List of XML escaped property values from a "nested" Node's property. |
List<String> |
PropertyUtil.getNestedStringsEscaped(Node aNode,
String aNodePropertyName,
String aPropertyName,
List<String> aDefaultValue)
Gets a
List of property values from a "nested" Node's property with a fallback value if the property doesn't exist,
and returns it XML escaped. |
Node |
PropertyUtil.getNode(Node aNode,
String aPropertyName)
Gets a Node property from a Node.
|
Node |
PropertyUtil.getNode(Node aNode,
String aPropertyName,
Node aDefaultValue)
Gets a Node property from a Node with a fallback value if the property doesn't exist.
|
String |
PropertyUtil.getString(Node aNode,
String aPropertyName)
Gets a String property from a Node.
|
String |
PropertyUtil.getString(Node aNode,
String aPropertyName,
String aDefaultValue)
Gets a String property from a node with a fallback value if the property doesn't exist.
|
String |
PropertyUtil.getStringEscaped(Node aNode,
String aPropertyName)
Gets a String property from a Node and returns it XML escaped.
|
String |
PropertyUtil.getStringEscaped(Node aNode,
String aPropertyName,
String aDefaultValue)
Gets a String property from a Node, with a fallback value, and returns it XML escaped.
|
List<String> |
PropertyUtil.getStrings(Node aNode,
String aPropertyName)
Gets a
List of property values from a Node. |
List<String> |
PropertyUtil.getStrings(Node aNode,
String aPropertyName,
List<String> aDefaultValue)
Gets a
List of property values from a Node with a fallback value if the property doesn't exist. |
List<String> |
PropertyUtil.getStringsEscaped(Node aNode,
String aPropertyName)
Gets a
List of XML escaped property values from a Node. |
List<String> |
PropertyUtil.getStringsEscaped(Node aNode,
String aPropertyName,
List<String> aDefaultValue)
Gets a
List of XML escaped property values from a Node with a fallback value if the property doesn't exist. |
Modifier and Type | Method and Description |
---|---|
void |
RedirectUtil.addRedirectURI(Node aNode,
String aRelativeURI)
Adds a relative URI that should trigger a 301 redirect to a specific node.
|
void |
RedirectUtil.addRedirectURIs(Node aNode,
Collection<String> aRelativeURIs)
Adds a collection of relative URIs that should trigger 301 redirects to a specific node.
|
Set<String> |
RedirectUtil.getRedirectURIs(Node aNode)
Gets all 301 redirect URIs registered for a specific node.
|
void |
RedirectUtil.removeAllRedirectURIs(Node aNode)
Removes all relative 301 redirect URIs from a specific node.
|
void |
RedirectUtil.removeRedirectURI(Node aNode,
String aRelativeURI)
Removes a relative 301 redirect URI from a specific node.
|
Modifier and Type | Method and Description |
---|---|
Node |
ImageScaler.getScaledImage(Node aImageNode)
Creates a scaled image using the width and height of this scaler.
|
Modifier and Type | Method and Description |
---|---|
String |
OutputUtil.getEscapedHtmlText(String aPlainText,
Node aFontNode)
Gets a text escaped and embedded in a html element with a class attribute.
|
String |
OutputUtil.getEscapedHtmlText(String aPlainText,
Node aFontNode,
String aStyle)
Gets a text escaped and embedded in a html element with a class attribute and a style attribute.
|
String |
OutputUtil.getHtmlText(String aText,
Node aFontNode)
Gets a text embedded in a html element with a class attribute.
|
String |
OutputUtil.getHtmlText(String aText,
Node aFontNode,
String aStyle)
Gets a text embedded in a html element with a class attribute and a style attribute.
|
String |
OutputUtil.getNodeAsText(Node aNode)
Deprecated.
|
String |
OutputUtil.getNodeInfoAsHTML(Node aNode)
Debug method that returns info about the properties of a node and all its sub nodes.
|
String |
OutputUtil.getNodeInfoAsHTML(Node aNode,
int aDepth)
Debug method that returns info about the properties of a node and all its sub nodes recursively until a given sub level
aDepth is reached. |
String |
OutputUtil.getNodeOutput(Node aPageNode,
Node aPagePartNode,
int aContentType)
Gets the output as a specific content-type from a page node or a page content node.
|
Node |
ImageScaler.getScaledImage(Node aImageNode)
Creates a scaled image using the width and height of this scaler.
|
boolean |
UserFieldRenderer.isRenderable(Node aNode)
Helper method to check if a certain node can be rendered.
|
boolean |
BuddyIconRenderer.isRenderable(Node aNode)
Helper method to check if a certain node can be rendered as a buddy icon.
|
boolean |
LinkRenderer.isRenderableTarget(Node aNode)
Checks if a Node is a renderable target or not (node type accepted).
|
boolean |
LinkRenderer.isValidTarget(Node aNode)
Checks if a Node is a valid target or not (node type accepted and target is valid).
|
String |
OutputUtil.renderWebPathNodes(Node aDescendantNode,
LinkRenderer aLinkRenderer,
String aSeparator)
Convenience method for rendering a linked web path to a specified node.
|
void |
LinkRenderer.setFont(Node aFontNode)
Sets the class name the link should use (class attribute on an a element) based on a given font node.
|
void |
ImageRenderer.setHoverImage(Node anImageNode)
Sets a hover image that will be activated on the onmouseover javascript event.
|
void |
ImageRenderer.setImage(Node anImageNode)
Sets the image to be rendered.
|
TextModuleRendererBuilder |
TextModuleRendererBuilder.setPage(Node aPageNode)
Sets the page of this builder.
|
void |
LinkRenderer.setTarget(Node aTarget)
Sets what the link target is, i.e "what the link links to" (href attribute on the a element).
|
void |
TextModuleRenderer.update(Node aTextModuleNode)
Updates the state of this renderer (potentially "loads" a Text module for rendering) using a Text module Node.
|
void |
UserFieldRenderer.update(Node aUserIdentity)
Updates the renderer with a new user identity node.
|
void |
ImageRenderer.update(Node anImageNode)
Updates the renderer with a new image.
|
void |
BuddyIconRenderer.update(Node aBuddyIconNode)
Updates the renderer with a new buddy icon supported node.
|
void |
LinkRenderer.update(Node aTarget)
Updates current state and removes previous title and text.
|
void |
ImageRenderer.update(Node anImageNode,
String aDescription)
Updates the renderer with a new image and a new description.
|
void |
LinkRenderer.update(Node aTarget,
String aText)
Updates current state and removes previous title.
|
void |
LinkRenderer.update(Node aTarget,
String aFontClass,
String aText)
Updates current state and removes previous title.
|
void |
LinkRenderer.update(Node aTarget,
String aFontClass,
String aText,
String aTitle)
Updates current state.
|
void |
LinkRenderer.updateClean(Node aTarget)
Updates current state and removes all optional attributes, title and text.
|
void |
LinkRenderer.updateClean(Node aTarget,
String aText)
Updates current state and removes all optional attributes and title.
|
void |
LinkRenderer.updateClean(Node aTarget,
String aFontClass,
String aText)
Updates current state and removes all optional attributes and title.
|
void |
LinkRenderer.updateClean(Node aTarget,
String aFontClass,
String aText,
String aTitle)
Updates current state and removes all optional attributes.
|
Modifier and Type | Method and Description |
---|---|
Node |
ResourceLocatorUtil.getAddonRepository()
Gets the addon repository for the site of current node.
|
Node |
ResourceLocatorUtil.getAliasRepository()
Gets the alias repository (sv:aliasRepository) for the site of current node.
|
Node |
LandingPageUtil.getCollaborationGroupsPage()
Gets the collaboration groups page (lists all accessible collaboration groups) of current site.
|
Node |
ColorUtil.getColorByHtmlHexValue(String aHexString)
Gets the color with a given html hex value (i.e. a '#' followed by 6 characters [0-9,a-f,A-F]).
|
Node |
ColorUtil.getColorByHtmlHexValue(String aHexString,
Node aDefaultValue)
Gets the color with a given html hex value (i.e. a '#' followed by 6 characters [0-9,a-f,A-F]) with a fallback value if no color matches.
|
Node |
ColorUtil.getColorByName(String aColorName)
Gets the color with a given name
|
Node |
ColorUtil.getColorByName(String aColorName,
Node aDefaultValue)
Gets the color with a given name with a fallback value if no color matches
|
Node |
ResourceLocatorUtil.getColorRepository()
Gets the color repository for the site of current node.
|
Node |
LandingPageUtil.getContactsPage()
Gets the contacts page (information about the contacts of current/specified user identity) of current site.
|
Node |
DecorationUtil.getDecorationByName(String aDecorationName)
Gets the decoration with a given name
|
Node |
ResourceLocatorUtil.getDecorationRepository()
Gets the decoration repository for the site of current node.
|
Node |
ResourceLocatorUtil.getDefaultImageRepository()
Gets the default image repository for the site of current node.
|
Node |
ResourceLocatorUtil.getDirectoryRepository()
Gets the LDAP directories repository for the site of current node
|
Node |
LandingPageUtil.getErrorPage()
Gets the error page (404) of current site.
|
Node |
ResourceLocatorUtil.getExternalTopicIntegrationRepository()
Gets the external topic integration repository (sv:externalTopicIntegrationRepository) for the site of current node.
|
Node |
IconUtil.getFileIcons(String aFileExtension)
Gets the file icon node for a given file extension.
|
Node |
ResourceLocatorUtil.getFileRepository()
Gets the file repository for the site of current node.
|
Node |
LandingPageUtil.getFilesPage()
Gets the files page (information about the files of a collaboration group) of current site.
|
Node |
FontUtil.getFontByClassName(String aClassName)
Gets the font with a given class name
|
Node |
FontUtil.getFontByClassName(String aClassName,
Node aDefaultValue)
Gets the font with a given class name with a fallback value if no font matches
|
Node |
FontUtil.getFontByName(String aFontName)
Gets the font with a given font name
|
Node |
FontUtil.getFontByName(String aFontName,
Node aDefaultValue)
Gets the font with a given font name with a fallback value if no font matches
|
Node |
ResourceLocatorUtil.getFontRepository()
Gets the font repository for the site of current node.
|
Node |
ResourceLocatorUtil.getIconRepository()
Gets the icon repository for the site of current node.
|
Node |
ResourceLocatorUtil.getImageRepository()
Gets the image repository for the site of current node.
|
Node |
ResourceLocatorUtil.getIndexRepository()
Gets the index repository for the site of current node.
|
Node |
ResourceLocatorUtil.getListStyleRepository()
Gets the list style repository for the site of current node.
|
Node |
ResourceLocatorUtil.getLocalFileRepository()
Gets the local file repository for current page node.
|
Node |
ResourceLocatorUtil.getLocalFileRepository(Node aNode)
Gets the local file repository for a specified page node.
|
Node |
ResourceLocatorUtil.getLocalImageRepository()
Gets the local image repository for current page node.
|
Node |
ResourceLocatorUtil.getLocalImageRepository(Node aNode)
Gets the local image repository for a specified page node.
|
Node |
LandingPageUtil.getLoginPage()
Gets the login page (401) of current site.
|
Node |
LandingPageUtil.getMembersPage()
Gets the members page (lists all members of a specified collaboration group) of current site.
|
Node |
ResourceLocatorUtil.getMetadataDefinitionTemplateRepository()
Gets the metadata definition template repository (sv:metadataDefinitionTemplateRepository) for the site of current node.
|
Node |
ResourceLocatorUtil.getModuleElementDraftRepository()
Gets the module element draft repository for the site of current node.
|
Node |
ResourceLocatorUtil.getModuleElementFileRepository()
Gets the module element file repository for current module element node.
|
Node |
ResourceLocatorUtil.getModuleElementFileRepository(Node aNode)
Gets the module element file repository for a specified module element node.
|
Node |
ResourceLocatorUtil.getModuleElementImageRepository()
Gets the module element image repository for current module element node.
|
Node |
ResourceLocatorUtil.getModuleElementImageRepository(Node aNode)
Gets the module element image repository for a specified module element node.
|
Node |
ResourceLocatorUtil.getModuleElementRepository()
Gets the module element repository for the site of current node.
|
Node |
ResourceLocatorUtil.getNamedReferenceRepository()
Gets the named reference repository for the site of current node.
|
Node |
ResourceLocatorUtil.getNodeByIdentifier(String anIdentifier)
Gets a
Node given its identifier. |
Node |
ResourceLocatorUtil.getNodeByPath(String anAbsolutePath)
Gets a
Node given its absolute path. |
Node |
ResourceLocatorUtil.getNodeByUrl(String anUrl)
Gets a
Node given its URL |
Node |
ResourceLocatorUtil.getOAuth2ConfigurationRepository()
Gets the OAuth2 configuration repository (sv:oAuth2ConfigurationRepository) for the site of current node.
|
Node |
ResourceLocatorUtil.getPageCommentRepository()
Gets the page comment repository for current page node.
|
Node |
ResourceLocatorUtil.getPageCommentRepository(Node aNode)
Gets the page comment repository for a specified page node.
|
Node |
TemplateUtil.getPageTemplateByName(String aPageTemplateName)
Gets first found page template with a given name.
|
Node |
ResourceLocatorUtil.getPersonalFileRepository(Node aNode)
Gets the personal file repository for a specified node.
|
Node |
ResourceLocatorUtil.getPersonalImageRepository(Node aNode)
Gets the personal image repository for a specified node.
|
Node |
ResourceLocatorUtil.getPrincipalRepository()
Gets the principal repository (sv:principalRepository) for the site of current node.
|
Node |
LandingPageUtil.getProfilePage()
Gets the profile page (information about current/specified user identity) of current site.
|
Node |
ResourceLocatorUtil.getResponsiveBreakpointRepository()
Gets the responsive breakpoint repository (sv:responsiveBreakpointRepository) for the site of current node.
|
Node |
ResourceLocatorUtil.getRoleRepository()
Gets the role repository (sv:roleRepository) for the site of current node.
|
Node |
ResourceLocatorUtil.getRssFeedRepository()
Gets the RSS feed repository for the site of current node.
|
Node |
ResourceLocatorUtil.getSite()
Gets current site (i.e. the site node of the page for the currently executing portlet).
|
Node |
ResourceLocatorUtil.getSiteCookieRepository()
Gets the site cookie repository (sv:siteCookieRepository) for the site of current node.
|
Node |
ResourceLocatorUtil.getSitePage()
Gets current site page (i.e. the site's start page node of the page for the currently executing portlet).
|
Node |
ResourceLocatorUtil.getTagGroupRepository()
Gets the tag group repository (sv:tagGroupRepository) for the site of current node.
|
Node |
LandingPageUtil.getTagTimelinePage()
Gets the tag timeline page (displays the timeline for a specified tag) of current site.
|
Node |
TemplateUtil.getTemplateByName(String aTemplateName)
Gets first found template with a given name.
|
Node |
ResourceLocatorUtil.getTemplateRepository()
Gets the template repository for the site of current node.
|
Node |
LandingPageUtil.getTimelineEntryPage()
Gets the timeline entry page (displays a single timeline entry) of current site.
|
Node |
ResourceLocatorUtil.getTopicRepository()
Gets the topic repository (sv:topicRepository) for the site of current node.
|
Node |
LandingPageUtil.getTopicTimelinePage()
Gets the topic timeline page of current site.
|
Node |
ResourceLocatorUtil.getTrashcan()
Gets the trashcan (sv:trashcan) for the site of current node.
|
Node |
LandingPageUtil.getUserIdentitySearchResultPage()
Gets the user identity search result page of current site.
|
Node |
ResourceLocatorUtil.getVirtualGroupRepository()
Gets the virtual group repository (sv:virtualGroupRepository) for the site of current node.
|
Modifier and Type | Method and Description |
---|---|
List<Node> |
TemplateUtil.getPageTemplates()
Gets the page templates.
|
List<Node> |
TemplateUtil.getTemplates()
Gets all templates.
|
Modifier and Type | Method and Description |
---|---|
Node |
ColorUtil.getColorByHtmlHexValue(String aHexString,
Node aDefaultValue)
Gets the color with a given html hex value (i.e. a '#' followed by 6 characters [0-9,a-f,A-F]) with a fallback value if no color matches.
|
Node |
ColorUtil.getColorByName(String aColorName,
Node aDefaultValue)
Gets the color with a given name with a fallback value if no color matches
|
Set<String> |
TemplateUtil.getContentAreaNames(Node aTemplate)
Gets the names of the content areas in a template.
|
Node |
FontUtil.getFontByClassName(String aClassName,
Node aDefaultValue)
Gets the font with a given class name with a fallback value if no font matches
|
Node |
FontUtil.getFontByName(String aFontName,
Node aDefaultValue)
Gets the font with a given font name with a fallback value if no font matches
|
Node |
ResourceLocatorUtil.getLocalFileRepository(Node aNode)
Gets the local file repository for a specified page node.
|
Node |
ResourceLocatorUtil.getLocalImageRepository(Node aNode)
Gets the local image repository for a specified page node.
|
Node |
ResourceLocatorUtil.getModuleElementFileRepository(Node aNode)
Gets the module element file repository for a specified module element node.
|
Node |
ResourceLocatorUtil.getModuleElementImageRepository(Node aNode)
Gets the module element image repository for a specified module element node.
|
Node |
ResourceLocatorUtil.getPageCommentRepository(Node aNode)
Gets the page comment repository for a specified page node.
|
Node |
ResourceLocatorUtil.getPersonalFileRepository(Node aNode)
Gets the personal file repository for a specified node.
|
Node |
ResourceLocatorUtil.getPersonalImageRepository(Node aNode)
Gets the personal image repository for a specified node.
|
PortletPreferences |
PortletUtil.getPortletPreferences(Node portlet,
Node user,
int portletPreferencesType)
Extracts the user specific
PortletPreferences for the specified portlet. |
boolean |
TemplateUtil.isPageTemplate(Node aTemplate)
Whether or not a node is a page template.
|
Modifier and Type | Method and Description |
---|---|
O |
RestApi.delete(Node aContextNode,
String aOperationName)
Executes a DELETE endpoint of the REST API.
|
O |
RestApi.delete(Node aContextNode,
String aOperationName,
Node aOperationNode)
Executes a DELETE endpoint of the REST API, targeting an instance of the context.
|
O |
RestApi.get(Node aContextNode,
String aOperationName)
Executes a GET endpoint of the REST API.
|
O |
RestApi.get(Node aContextNode,
String aOperationName,
Node aOperationNode,
O aOperationOptions)
Executes a GET endpoint of the REST API, targeting an instance of the context.
|
O |
RestApi.get(Node aContextNode,
String aOperationName,
O aOperationOptions)
Executes a GET endpoint of the REST API.
|
O |
RestApi.post(Node aContextNode,
String aOperationName,
O aOperationOptions)
Executes a POST endpoint of the REST API.
|
O |
RestApi.put(Node aContextNode,
String aOperationName,
Node aOperationNode,
O aOperationOptions)
Executes a PUT endpoint of the REST API, targeting an instance of the context.
|
O |
RestApi.put(Node aContextNode,
String aOperationName,
O aOperationOptions)
Executes a PUT endpoint of the REST API.
|
Modifier and Type | Method and Description |
---|---|
RestAppInvoker<O> |
RestAppInvokerFactory.fromNode(Node aNode)
Creates a RestAppInvoker via a RESTApp Node or a Headless custom module Node.
|
Modifier and Type | Method and Description |
---|---|
Node |
SearchHit.getNode()
Accesses the
Node corresponding to a SearchHit.TYPE_INTERNAL hit. |
Modifier and Type | Method and Description |
---|---|
Node |
IndexUtil.getDefaultIndex(IndexUtil.IndexType aIndexType)
Gets the default index for a specified index type.
|
Node |
IndexUtil.getIndexByName(String aIndexName)
Gets an index by name.
|
Modifier and Type | Method and Description |
---|---|
boolean |
IndexingUtil.setResourcePriority(Node aNode,
int aPriority)
Sets the resource priority for an indexable node.
|
Modifier and Type | Method and Description |
---|---|
SearcherBuilder |
SearcherBuilder.setIndex(Node anIndex)
Sets the index to search in.
|
Modifier and Type | Method and Description |
---|---|
Node |
DirectoryUtil.getNodeByDN(String aDirectoryObjectDN)
Gets a directory node object with a specific distinguished name, dn.
|
Node |
RoleUtil.getRoleByName(String aRoleName)
Gets a role by name.
|
Node |
UserUtil.getUserIdentity(Node aUserNode)
Deprecated.
use
UserIdentityUtil.getUserIdentity(javax.jcr.Node) instead |
Node |
PrincipalUtil.getVirtualGroupByName(String aName)
Provides access to a virtual group wrapped as a JCR node given the group name.
|
Modifier and Type | Method and Description |
---|---|
List<Node> |
PrincipalUtil.getVirtualGroupsByName(List<String> aNames)
Provides access to virtual groups wrapped as a JCR node given the group name.
|
List<Node> |
DirectoryUtil.search(String aSearchFilter)
Searches for objects in all LDAP directories that are accessible in current context (i.e. current page).
|
List<Node> |
DirectoryUtil.search(String aSearchFilter,
Node aDirectoryNode)
Searches for objects in a specified LDAP directory.
|
List<Node> |
DirectoryUtil.search(String aSearchFilter,
Node aDirectoryNode,
String aSearchBase)
Searches for objects in a specified search base in a specified LDAP directory.
|
Modifier and Type | Method and Description |
---|---|
RoleMatcherBuilder |
RoleMatcherBuilder.addRole(Node aRole)
Adds a role (sv:role).
|
void |
RoleAssignment.apply(Node aNode)
Applies this role assignment on a given node.
|
boolean |
RoleUtil.containsPermission(Node aRole,
PermissionUtil.Permission aPermission)
Checks if a role contains a specific permission.
|
String |
JwtUtil.createRSAToken(O aClaims,
String aAlgorithm,
Node aPrivateKey,
String aPassword)
Create a JWT token signed with a RSA keypair.
|
O |
JwtUtil.decodeRSA(String aToken,
Node aPublicKey)
Validate a JWT token created using a RSA keypair.
|
void |
PrincipalUtil.doAsDuringLogin(Node aUser,
PrivilegedExceptionAction aAction)
Perform work during the login phase as a specified user.
|
Property |
DirectoryUtil.getAttributeAsProperty(Node aDirectoryObjectNode,
String anAttributeName)
Gets a directory attribute value for a directory node object as
Property . |
Node |
UserUtil.getUserIdentity(Node aUserNode)
Deprecated.
use
UserIdentityUtil.getUserIdentity(javax.jcr.Node) instead |
boolean |
PermissionUtil.hasAnonymousReadPermission(Node aTreeNode)
Checks if a non-authenticated user has read permission on a certain tree node.
|
boolean |
PermissionUtil.hasCreateArchivePermission(Node aParentNode,
Node aUserNode)
Checks if a certain user has create archive permission on a certain page tree node.
|
boolean |
PermissionUtil.hasCreateArticlePermission(Node aParentNode,
Node aUserNode)
Checks if a certain user has create article permission on a certain page tree node.
|
boolean |
PermissionUtil.hasCreateFolderPermission(Node aParentNode,
Node aUserNode)
Checks if a certain user has create folder permission on a certain tree node.
|
boolean |
PermissionUtil.hasCreatePagePermission(Node aParentNode,
Node aUserNode)
Checks if a certain user has create page permission on a certain page tree node.
|
boolean |
PermissionUtil.hasDeletePermission(Node aTreeNode,
Node aUserNode)
Checks if a certain user has delete permission on a certain tree node.
|
boolean |
PermissionUtil.hasEffectiveDeletePermission(Node aTreeNode,
Node aUserNode)
Checks if a certain user has effective delete permission on a certain tree node.
|
boolean |
PermissionUtil.hasEffectivePublishPermission(Node aPageNode,
Node aUserNode)
Checks if a certain user has effective publish permission on a certain page tree node.
|
boolean |
PermissionUtil.hasEffectiveWritePermission(Node aTreeNode,
Node aUserNode)
Checks if a certain user has effective write permission on a certain tree node.
|
boolean |
PermissionUtil.hasPermission(Node aTreeNode,
Node aUserNode,
PermissionUtil.Permission aPermission)
Checks if a certain user has a certain permission on a certain tree node.
|
boolean |
PermissionUtil.hasPermission(Node aTreeNode,
PermissionUtil.Permission aPermission)
Checks if current user has certain permission on a certain tree node.
|
boolean |
PermissionUtil.hasPermissions(Node aTreeNode,
Node aUserNode,
PermissionUtil.Permission... aPermissions)
Checks if a certain user has certain permissions on a certain tree node.
|
boolean |
PermissionUtil.hasPermissions(Node aTreeNode,
PermissionUtil.Permission... aPermissions)
Checks if current user has certain permissions on a certain tree node.
|
boolean |
PermissionUtil.hasPublishPermission(Node aPageNode,
Node aUserNode)
Checks if a certain user has publish permission on a certain page tree node.
|
boolean |
PermissionUtil.hasReadPermission(Node aTreeNode,
Node aUserNode)
Checks if a certain user has read permission on a certain tree node.
|
boolean |
PermissionUtil.hasWritePermission(Node aTreeNode,
Node aUserNode)
Checks if a certain user has write permission on a certain tree node.
|
boolean |
PermissionUtil.hasWriteSubscriptionPermission(Node aTreeNode,
Node aUserNode)
Checks if a certain user has write subscription permission on a certain page tree node.
|
boolean |
UserUtil.isAnonymous(Node aUserNode)
Deprecated.
use
SystemUserUtil.isAnonymous(javax.jcr.Node) instead |
boolean |
RoleAssignment.isApplicable(Node aNode)
Whether or not current user is allowed to
RoleAssignment.apply(Node) or RoleAssignment.revoke(Node) this role assignment for a given node. |
boolean |
RoleAssignment.isApplied(Node aNode)
Whether or not a given node already has this role assignment applied.
|
boolean |
UserUtil.isExtractor(Node aUserNode)
Deprecated.
use
SystemUserUtil.isExtractor(javax.jcr.Node) instead |
boolean |
UserUtil.isIndexer(Node aUserNode)
Deprecated.
use
SystemUserUtil.isIndexer(javax.jcr.Node) instead |
boolean |
UserUtil.isSystem(Node aUserNode)
Deprecated.
use
SystemUserUtil.isSystem(javax.jcr.Node) instead |
boolean |
RoleMatcher.matchesAll(Node aNode)
Checks if matcher user is in all matcher roles on a given Node.
|
boolean |
RoleMatcher.matchesAny(Node aNode)
Checks if matcher user is in any matcher role on a given Node.
|
void |
RoleAssignment.revoke(Node aNode)
Revokes this role assignment on a given node.
|
List<Node> |
DirectoryUtil.search(String aSearchFilter,
Node aDirectoryNode)
Searches for objects in a specified LDAP directory.
|
List<Node> |
DirectoryUtil.search(String aSearchFilter,
Node aDirectoryNode,
String aSearchBase)
Searches for objects in a specified search base in a specified LDAP directory.
|
RoleAssignmentBuilder |
RoleAssignmentBuilder.setPrincipal(Node aPrincipal)
Sets the principal (sv:user, sv:simpleUser, sv:userGroup or sv:virtualGroup).
|
RoleAssignmentBuilder |
RoleAssignmentBuilder.setRole(Node aRole)
Sets the role (sv:role).
|
RoleMatcherBuilder |
RoleMatcherBuilder.setUser(Node aUser)
Sets the user (sv:user, sv:simpleUser).
|
Modifier and Type | Method and Description |
---|---|
Node |
NodePrincipalCallback.getNodePrincipal()
Gets the node principal that corresponds to the given username.
|
Modifier and Type | Method and Description |
---|---|
void |
NodePrincipalCallback.setNodePrincipal(Node aPrincipal)
Sets the node principal.
|
Modifier and Type | Method and Description |
---|---|
Node |
SubscriptionUtil.getActiveSubscription(Node aNode)
Returns the active subscription
Node of a Node . |
Modifier and Type | Method and Description |
---|---|
void |
SubscriptionUtil.activateSubscription(Node aNode,
boolean subtreeScope,
String title,
String description)
Activates a subscription for the given
Node . |
boolean |
SubscriberUtil.addSubscriber(Node anActiveSubscription,
String aSubscriber)
Method used to add an e-mail or phone number as a subscriber to the active subscription.
|
void |
SubscriptionUtil.configureSubscriptionEmail(Node aNode,
String from,
String fromAddress,
String subject,
String footer)
Configures email properties for the subscription on the given node.
|
void |
SubscriptionUtil.deactivateSubscription(Node aNode)
Deactivates the subscription for the given
Node . |
Node |
SubscriptionUtil.getActiveSubscription(Node aNode)
Returns the active subscription
Node of a Node . |
Set<String> |
SubscriberUtil.getSubscribers(Node anActiveSubscription)
Access to a
Set of subscribers (i.e. e-mail and / or phone numbers) for an active subscription. |
boolean |
SubscriberUtil.isSubscriber(Node anActiveSubscription,
String aSubscriber)
Finds out if an e-mail of phone number is already a subscriber to the active subscription.
|
boolean |
SubscriptionUtil.notifySubscribersOf(Node aNode,
String aNotificationText)
Notifies the subscribers of a given node with an active subscription.
|
boolean |
SubscriberUtil.removeSubscriber(Node anActiveSubscription,
String aSubscriber)
Removes an e-mail or phone number from the subscribers of the active subscription.
|
Modifier and Type | Method and Description |
---|---|
Node |
TagUtil.getOrCreateTagByName(String aTagName)
Gets or creates a sv:tag Node by name.
|
Node |
TagUtil.getTagByName(String aTagName)
Gets a sv:tag Node by name.
|
Modifier and Type | Method and Description |
---|---|
List<Node> |
TagUtil.getTags(Node aTaggableNode)
Gets all sv:tag's for a Node.
|
Modifier and Type | Method and Description |
---|---|
void |
TagUtil.addTag(Node aTaggableNode,
Node aTagNode)
Adds a sv:tag to a Node.
|
void |
TagUtil.addTags(Node aTaggableNode,
Node... aTagNodes)
Adds multiple sv:tag to a Node.
|
void |
TagUtil.addTags(Node aTaggableNode,
Node... aTagNodes)
Adds multiple sv:tag to a Node.
|
List<Node> |
TagUtil.getTags(Node aTaggableNode)
Gets all sv:tag's for a Node.
|
boolean |
TagUtil.removeTag(Node aTaggableNode,
Node aTagNode)
Removes a sv:tag from a Node.
|
Modifier and Type | Method and Description |
---|---|
Node |
UserIdentityUtil.getOrCreateUserIdentity(Node aUserNode)
Creates the corresponding
sv:userIdentity Node for a specified sv:user Node. |
Node |
UserIdentityWrapper.getProfileImage()
Gets the profile image of the wrapped user identity.
|
Node |
UserIdentityWrapper.getProfileImagesFolder()
Gets the profile images folder of the wrapped user identity.
|
Node |
UserIdentityWrapper.getUserIdentity()
Gets the wrapped user identity.
|
Node |
UserIdentityUtil.getUserIdentity(Node aUserNode)
Gets the corresponding
sv:userIdentity Node for a specified sv:user Node. |
Modifier and Type | Method and Description |
---|---|
Set<Node> |
UserIdentityWrapper.getCollaborationGroups()
Gets the collaboration groups of the wrapped user identity.
|
Set<Node> |
UserIdentityWrapper.getContacts()
Gets the contacts of the wrapped user identity.
|
Set<Node> |
UserIdentityWrapper.getFollowedGroups()
Gets the collaboration groups the wrapped user identity follows/eavesdrops.
|
Modifier and Type | Method and Description |
---|---|
boolean |
UserIdentityWrapper.addContact(Node aUserIdentity)
Adds a contact for the wrapped user identity.
|
boolean |
UserIdentityWrapper.followGroup(Node aCollaborationGroup)
The wrapped user identity follows/eavesdrops a collaboration group.
|
Node |
UserIdentityUtil.getOrCreateUserIdentity(Node aUserNode)
Creates the corresponding
sv:userIdentity Node for a specified sv:user Node. |
Serializable |
UserDataUtil.getUserData(Node aUserNode,
String aUserDataKey)
Gets user data for a user.
|
Node |
UserIdentityUtil.getUserIdentity(Node aUserNode)
Gets the corresponding
sv:userIdentity Node for a specified sv:user Node. |
UserIdentityWrapper |
UserFactory.getUserIdentityWrapper(Node aUserIdentity)
Gets an instance of a user identity wrapper.
|
boolean |
UserIdentityWrapper.isAdminOf(Node aCollaborationGroup)
Checks if wrapped user identity is admin of a collaboration group.
|
boolean |
SystemUserUtil.isAnonymous(Node aUserNode)
Checks if a user node is anonymous (not authenticated).
|
boolean |
UserIdentityWrapper.isContact(Node aUserIdentity)
Checks if the wrapped user identity is contact with a specified user identity.
|
boolean |
SystemUserUtil.isExtractor(Node aUserNode)
Checks if a user node is the Sitevision Extractor.
|
boolean |
UserIdentityWrapper.isFollowing(Node aCollaborationGroup)
Checks if wrapped user identity is following/eavesdropping a collaboration group.
|
boolean |
UserIdentityWrapper.isGroupMuted(Node aCollaborationGroup)
Checks if wrapped user identity has muted the collaboration group.
|
boolean |
SystemUserUtil.isIndexer(Node aUserNode)
Checks if a user node is the Sitevision Indexer.
|
boolean |
UserIdentityWrapper.isMemberOf(Node aCollaborationGroup)
Checks if wrapped user identity is member of a collaboration group.
|
boolean |
UserUtil.isMemberOfGroup(Node aGroup)
Checks if current user is member of a group.
|
boolean |
UserUtil.isMemberOfGroup(Node aUser,
Node aGroup)
Checks if a specific user is member of a group.
|
boolean |
SimpleUserUtil.isMemberOfVirtualGroup(Node aSimpleUser,
String aVirtualGroupId)
Checks if a simple user is member of a virtual group with a specific id.
|
boolean |
UserIdentityWrapper.isNotificationsMuted(Node aCollaborationGroup)
Checks if wrapped user identity mutes notifications from the collaboration group.
|
boolean |
SystemUserUtil.isSystem(Node aUserNode)
Checks if a user node is the Sitevision System user.
|
boolean |
SystemUserUtil.isValidator(Node aUserNode)
Checks if a user node is the Sitevision Validator.
|
boolean |
UserIdentityWrapper.joinGroup(Node aCollaborationGroup)
The wrapped user identity joins a collaboration group.
|
boolean |
UserIdentityWrapper.leaveGroup(Node aCollaborationGroup)
The wrapped user identity leaves a collaboration group.
|
boolean |
UserIdentityWrapper.muteGroup(Node aCollaborationGroup)
The wrapped user identity mutes a collaboration group (entries will not show up user's in compound timeline).
|
boolean |
UserIdentityWrapper.muteNotifications(Node aCollaborationGroup)
The wrapped user identity mutes notifications from a collaboration group (entries will show up but not notifications).
|
boolean |
UserIdentityWrapper.removeContact(Node aUserIdentity)
Removes a contact of the wrapped user identity.
|
void |
UserDataUtil.removeUserData(Node aUserNode,
String aUserDataKey)
Removes user data for a user.
|
boolean |
UserIdentityWrapper.setProfileImage(Node aProfileImage)
Sets the profile image of the wrapped user identity.
|
void |
UserDataUtil.setUserData(Node aUserNode,
String aUserDataKey,
Serializable aSerializableValue)
Sets user data for a user.
|
boolean |
UserIdentityWrapper.unfollowGroup(Node aCollaborationGroup)
The wrapped user identity stops following/eavesdropping a collaboration group.
|
boolean |
UserIdentityWrapper.unmuteGroup(Node aCollaborationGroup)
The wrapped user identity unmutes a collaboration group.
|
boolean |
UserIdentityWrapper.unmuteNotifications(Node aCollaborationGroup)
The wrapped user identity unmutes notifications from a collaboration group.
|
Modifier and Type | Method and Description |
---|---|
Node |
ArticleUtil.createArticle(Node aParent,
Node aTemplate,
String aName)
Creates an article as sub node to a specified parent.
|
Node |
ArticleUtil.createArticle(Node aParent,
Node aTemplate,
String aName,
Map<String,Object> properties,
Map<String,String> content)
Creates an article with properties and web content.
|
Node |
FileUtil.createFile(Node aParent,
String aFileName,
String aUri)
Creates a file using a uri string.
|
Node |
FileUtil.createFileFromBase64(Node aParent,
String aFileName,
String aBase64EncodedString)
Creates a file using a base64 string.
|
Node |
FileUtil.createFileFromTemporary(Node aParent,
Node aTemporaryFile)
Creates a file using a sv:temporaryFile.
|
Node |
ImageUtil.createImage(Node aParent,
String aFileName,
String aUri)
Creates an image using a uri string.
|
Node |
ImageUtil.createImageFromBase64(Node aParent,
String aFileName,
String aBase64EncodedString)
Creates an image using a base64 string.
|
Node |
ImageUtil.createImageFromTemporary(Node aParent,
Node aTemporaryFile)
Creates an image using a sv:temporaryFile.
|
Node |
LinkPageUtil.createLinkPage(Node aParent,
String aName,
LinkTarget aLinkTarget)
Creates a link page as sub node of a specified parent.
|
Node |
LinkPageUtil.createLinkPage(Node aParent,
String aName,
LinkTarget aLinkTarget,
Map<String,Object> aProperties)
Creates a link page with properties as sub node of a specified parent.
|
Node |
PageUtil.createPage(Node aParent,
Node aTemplate,
String aName)
Creates a page as sub node to the specified parent.
|
Node |
PageUtil.createPage(Node aParent,
Node aTemplate,
String aName,
Map<String,Object> properties,
Map<String,String> content)
Creates a page with properties and web content.
|
Modifier and Type | Method and Description |
---|---|
Node |
ArticleUtil.createArticle(Node aParent,
Node aTemplate,
String aName)
Creates an article as sub node to a specified parent.
|
Node |
ArticleUtil.createArticle(Node aParent,
Node aTemplate,
String aName,
Map<String,Object> properties,
Map<String,String> content)
Creates an article with properties and web content.
|
Node |
FileUtil.createFile(Node aParent,
String aFileName,
String aUri)
Creates a file using a uri string.
|
Node |
FileUtil.createFileFromBase64(Node aParent,
String aFileName,
String aBase64EncodedString)
Creates a file using a base64 string.
|
Node |
FileUtil.createFileFromTemporary(Node aParent,
Node aTemporaryFile)
Creates a file using a sv:temporaryFile.
|
void |
FileUtil.createFiles(Node aParent,
Map<String,String> aFileMappings)
Adds several files to a sv:localFileRepository, sv:fileRepository, sv:personalFileRepository or a sv:folder
residing as sub node to a file repository.
|
Node |
ImageUtil.createImage(Node aParent,
String aFileName,
String aUri)
Creates an image using a uri string.
|
Node |
ImageUtil.createImageFromBase64(Node aParent,
String aFileName,
String aBase64EncodedString)
Creates an image using a base64 string.
|
Node |
ImageUtil.createImageFromTemporary(Node aParent,
Node aTemporaryFile)
Creates an image using a sv:temporaryFile.
|
void |
ImageUtil.createImages(Node aParent,
Map<String,String> aImages)
Adds several images to a
sv:localImageRepository , sv:imageRepository , sv:personalImageRepository
or a sv:folder residing as sub node to an image repository. |
Node |
LinkPageUtil.createLinkPage(Node aParent,
String aName,
LinkTarget aLinkTarget)
Creates a link page as sub node of a specified parent.
|
Node |
LinkPageUtil.createLinkPage(Node aParent,
String aName,
LinkTarget aLinkTarget,
Map<String,Object> aProperties)
Creates a link page with properties as sub node of a specified parent.
|
Node |
PageUtil.createPage(Node aParent,
Node aTemplate,
String aName)
Creates a page as sub node to the specified parent.
|
Node |
PageUtil.createPage(Node aParent,
Node aTemplate,
String aName,
Map<String,Object> properties,
Map<String,String> content)
Creates a page with properties and web content.
|
String |
FileUtil.getContentAsString(Node aFile)
Gets the contents of a file as a String using the UTF-8 character encoding.
|
String |
FileUtil.getContentAsString(Node aFile,
String aCharacterEncoding)
Gets the contents of a file as a String using a given character encoding.
|
void |
ArticleUtil.renameArticle(Node anArticle,
String aName)
Alters the name of an article.
|
void |
FileUtil.renameFile(Node aFile,
String aNewName)
Alters the name of a file.
|
void |
ImageUtil.renameImage(Node aImage,
String aName)
Alters the name of an image.
|
void |
LinkPageUtil.renameLinkPage(Node aLinkPage,
String aName)
Updates the name of a link page.
|
void |
PageUtil.renamePage(Node aPage,
String aName)
Alters the name of a page.
|
void |
FileUtil.setDownloadProtected(Node aFile,
boolean aDownloadProtected)
Modifies download protection for a file.
|
void |
FileUtil.setVersioned(Node aFile,
boolean aVersioned)
Modifies versioning for a file.
|
String |
ImageUtil.toBase64(Node aImage)
The Base64 String representation of an image Node.
|
void |
ArticleUtil.updateArticle(Node anArticle,
Map<String,Object> properties)
Updates the properties of an article.
|
void |
ImageUtil.updateBinaryContent(Node aImage,
String aUri)
Updates the binary content of an existing image using a uri string.
|
void |
FileUtil.updateBinaryContent(Node aFile,
String aUri)
Updates the binary content of an existing file using a uri string.
|
void |
ImageUtil.updateBinaryContentFromBase64(Node aImage,
String aBase64EncodedString)
Updates the binary content of an existing image using a base64 string.
|
void |
FileUtil.updateBinaryContentFromBase64(Node aFile,
String aBase64EncodedString)
Updates the binary content of an existing file using a base64 string.
|
void |
ImageUtil.updateBinaryContentFromTemporary(Node aImage,
Node aTemporaryFile)
Updates the binary content of an existing image using a sv:temporaryFile.
|
void |
FileUtil.updateBinaryContentFromTemporary(Node aFile,
Node aTemporaryFile)
Updates the binary content of an existing file using a sv:temporaryFile.
|
void |
LinkPageUtil.updateLinkPage(Node aLinkPage,
Map<String,Object> aProperties)
Updates the properties of a link page.
|
void |
LinkPageUtil.updateLinkPageTarget(Node aLinkPage,
LinkTarget aLinkTarget)
Updates the target of a link page.
|
void |
PageUtil.updatePage(Node aPage,
Map<String,Object> properties)
Updates the properties of a page.
|
Modifier and Type | Method and Description |
---|---|
LinkTargetBuilder |
LinkTargetBuilder.setInternalTarget(Node aNode)
Sets the target.
|
Modifier and Type | Method and Description |
---|---|
DocType |
DocTypeUtil.getDocType(Node aPageNode)
Gets the doctype for a certain page.
|
boolean |
DocTypeUtil.isDocType(Node aPageNode,
DocType aDocType)
Checks if the doctype for a certain page matches a certain DocType.
|
boolean |
DocTypeUtil.isHtml(Node aPageNode)
Checks if the doctype for a certain page is HTML 4.01 Transitional or HTML5.
|
boolean |
DocTypeUtil.isHtml4(Node aPageNode)
Checks if the doctype for a certain page is HTML 4.01 Transitional.
|
boolean |
DocTypeUtil.isHtml5(Node aPageNode)
Checks if the doctype for a certain page is HTML5.
|
boolean |
DocTypeUtil.isXhtml(Node aPageNode)
Checks if the doctype for a certain page is XHTML 1.0 Transitional or XHTML 1.0 Strict.
|
boolean |
DocTypeUtil.isXhtmlStrict(Node aPageNode)
Checks if the doctype for a certain page is XHTML 1.0 Strict.
|
boolean |
DocTypeUtil.isXhtmlTransitional(Node aPageNode)
Checks if the doctype for a certain page is XHTML 1.0 Transitional.
|
Modifier and Type | Method and Description |
---|---|
Node |
ArchiveUtil.createArchive(Node aParent,
String aName)
Creates an archive as sub node of the specified parent.
|
Node |
FolderUtil.createFolder(Node aParent,
String aName)
Creates a folder as sub node of the specified parent.
|
Modifier and Type | Method and Description |
---|---|
Node |
ArchiveUtil.createArchive(Node aParent,
String aName)
Creates an archive as sub node of the specified parent.
|
Node |
FolderUtil.createFolder(Node aParent,
String aName)
Creates a folder as sub node of the specified parent.
|
void |
TrashcanUtil.deleteNodeFromTrashcan(Node aNode)
Deletes a node from the site trashcan.
|
boolean |
TrashcanUtil.isInTrashcan(Node aNode)
Checks if a node is in the site trashcan
If no node is specified a
NullPointerException is thrown. |
void |
StructureUtil.moveNode(Node aNode,
Node aParent)
Moves a node from the current parent to another in the node structure.
|
void |
TrashcanUtil.moveNodeToTrashcan(Node aNode)
Puts a node in the site trashcan.
|
void |
ArchiveUtil.renameArchive(Node anArchive,
String aName)
Alters the name of an archive.
|
void |
FolderUtil.renameFolder(Node aFolder,
String aName)
Alters the name of a folder.
|
void |
TrashcanUtil.restoreNode(Node aNode)
Restores a node from the site trashcan.
|
void |
FolderUtil.setDownloadProtected(Node aFolder,
boolean aDownloadProtected)
Modifies download protection for a file folder (download protection only applies to new files created in the file folder).
|
void |
FolderUtil.setVersioned(Node aFolder,
boolean aVersioned)
Modifies versioning for a file folder (versioning only applies to new files created in the file folder).
|
Modifier and Type | Method and Description |
---|---|
void |
WebContentUtil.appendContent(Node aNode,
Map<String,String> aContent)
Append the content to the existing node.
|
void |
WebContentUtil.appendContent(Node aNode,
String aContent)
Appends the content to the existing node.
|
void |
WebContentUtil.appendContentWithRawHtml(Node aNode,
Map<String,String> aContent)
Appends raw HTML (a HTML portlet is created) to the existing content of a node.
|
void |
WebContentUtil.appendContentWithRawHtml(Node aNode,
String aContent)
Appends raw HTML (a HTML portlet is created) to the existing content of a node.
|
String |
WebContentUtil.resolveToResourceURL(Node aNode,
String aUnresolvedURL)
Resolves an unresolved URL to a resource (potentially needed for all resource references in HTML content that later is
updated or appended as raw HTML).
|
void |
WebContentUtil.updateContent(Node aNode,
Map<String,String> aContent)
Alters the content of a sv:page, sv:article or a sv:template.
|
void |
WebContentUtil.updateContent(Node aNode,
String aContent)
Alters the content of a sv:page, sv:article or a sv:template.
|
void |
WebContentUtil.updateContentWithRawHtml(Node aNode,
Map<String,String> aContent)
Alters the content of a sv:page, sv:article or a sv:template with raw HTML (a HTML portlet is created).
|
void |
WebContentUtil.updateContentWithRawHtml(Node aNode,
String aContent)
Alters the content of a sv:page, sv:article or a sv:template with raw HTML (a HTML portlet is created).
|
Modifier and Type | Method and Description |
---|---|
void |
PublishingUtil.publishNode(Node aNode)
Publishes a node.
|
void |
PublishingUtil.publishNode(Node aNode,
Date aDate)
Schedules a node publish job for execution at a specified date.
|
void |
PublishingUtil.publishNode(Node aNode,
Date aPublishDate,
Date anUnpublishDate)
Schedules a node publish job for execution at a specified date and a node unpublish job for execution at another date.
|
void |
PublishingUtil.publishNodeWithNotification(Node aNode,
Date aNotificationDate)
Publishes a node instantly with a best before notification date.
|
void |
PublishingUtil.publishNodeWithNotification(Node aNode,
Date aPublishDate,
Date aNotificationDate)
Schedules a node publish job for execution at a specified date with a best before notification date.
|
void |
PublishingUtil.publishNodeWithNotification(Node aNode,
Date aPublishDate,
Date aUnpublishDate,
Date aNotificationDate)
Schedules a node publish job for execution at a specified date and a node unpublish job for execution at a later
date and a best before notification date.
|
void |
PublishingUtil.unpublishNode(Node aNode)
Unpublishes a node.
|
void |
PublishingUtil.unpublishNode(Node aNode,
Date aDate)
Schedules a node unpublish job for execution at a specified date.
|
Modifier and Type | Method and Description |
---|---|
void |
XmlParserUtil.parse(String aElementSelection,
Node aXmlFile,
String aCharset,
XmlElementHandler aXmlElementHandler)
Parse a file containing XML encoded with the supplied charset.
|
void |
XmlParserUtil.parse(String aElementSelection,
Node aXmlFile,
XmlElementHandler aXmlElementHandler)
Parse a file containing XML encoded using UTF-8.
|
Sitevision - Portal and Content Management Made Easy
Sitevision is an advanced Java enterprise portal product and a portlet container (JSR 286) that implements Java Content Repository (JSR 283).
Copyright© 2008-2022 Sitevision AB, all rights reserved.