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.nodetype |
This package provides interfaces and classes for content repository node type functionality.
|
javax.jcr.query |
Provides interfaces and classes for content repository searching functionality.
|
javax.jcr.version |
Provides interfaces and classes for content repository versioning functionality.
|
senselogic.sitevision.api.collaboration |
Collaboration utility interfaces.
|
senselogic.sitevision.api.security |
Security utility interfaces
|
senselogic.sitevision.api.subscription |
Subscription and subscriber utility interfaces
|
senselogic.sitevision.api.webresource |
Web resource (pages, articles, files and images) 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)
|
Modifier and Type | Method and Description |
---|---|
void |
Node.addMixin(String mixinName)
Adds the mixin node type named
mixinName to this node. |
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. |
void |
Workspace.clone(String srcWorkspace,
String srcAbsPath,
String destAbsPath,
boolean removeExisting)
Clones the subgraph at the node
srcAbsPath in
srcWorkspace to the new location at destAbsPath
in this workspace. |
void |
Workspace.copy(String srcAbsPath,
String destAbsPath)
This method copies the subgraph rooted at, and including, the node at
srcAbsPath to the new location at destAbsPath . |
void |
Workspace.copy(String srcWorkspace,
String srcAbsPath,
String destAbsPath)
This method copies the subgraph at
srcAbsPath in
srcWorkspace to destAbsPath in
this workspace. |
ContentHandler |
Workspace.getImportContentHandler(String parentAbsPath,
int uuidBehavior)
Returns an
org.xml.sax.ContentHandler which can be used to
push SAX events into the repository. |
ContentHandler |
Session.getImportContentHandler(String parentAbsPath,
int uuidBehavior)
Returns an
org.xml.sax.ContentHandler which is used to push
SAX events to the repository. |
void |
Workspace.importXML(String parentAbsPath,
InputStream in,
int uuidBehavior)
Deserializes an XML document and adds the resulting item subgraph as a
child of the node at
parentAbsPath . |
void |
Session.importXML(String parentAbsPath,
InputStream in,
int uuidBehavior)
Deserializes an XML document and adds the resulting item subgraph as a
child of the node at
parentAbsPath . |
void |
Workspace.move(String srcAbsPath,
String destAbsPath)
Moves the node at
srcAbsPath (and its entire subgraph) to
the new location at destAbsPath . |
void |
Session.move(String srcAbsPath,
String destAbsPath)
Moves the node at
srcAbsPath (and its entire subgraph) to
the new location at destAbsPath . |
void |
Node.orderBefore(String srcChildRelPath,
String destChildRelPath)
If this node supports child node ordering, this method inserts the child
node at
srcChildRelPath into the child node list at the
position immediately the child node at destChildRelPath . |
void |
Item.remove()
Removes
this item (and its subgraph). |
void |
Session.removeItem(String absPath)
Removes the specified item and its subgraph.
|
void |
Node.removeMixin(String mixinName)
Removes the specified mixin node type from this node and removes
mixinName from this node's jcr:mixinTypes
property. |
void |
Node.removeShare()
Removes this node, but does not remove any other node in the shared set
of this node.
|
void |
Node.removeSharedSet()
Removes this node and every other node in the shared set of this node.
|
void |
Node.restore(Version version,
String relPath,
boolean removeExisting)
Deprecated.
As of JCR 2.0,
VersionManager.restore(javax.jcr.version.Version[], boolean)
should be used instead. |
void |
Item.save()
Validates all pending changes currently recorded in this
Session that apply to this Item or any of its
descendants (that is, the subgraph rooted at this Item). |
void |
Session.save()
Validates all pending changes currently recorded in this
Session . |
void |
Node.setPrimaryType(String nodeTypeName)
Changes the primary node type of this node to
nodeTypeName . |
Property |
Node.setProperty(String name,
BigDecimal value)
The behavior of this method is identical to that of
Node.setProperty(String name, Value value) except that the value is
specified as a BigDecimal and, if possible, the type assigned to
the property is DECIMAL , otherwise a best-effort conversion
is attempted. |
Property |
Node.setProperty(String name,
Binary value)
The behavior of this method is identical to that of
Node.setProperty(String name, Value value) except that the value is
specified as a Binary and, if possible, the type assigned to the
property is BINARY , otherwise a best-effort conversion is
attempted. |
Property |
Node.setProperty(String name,
boolean value)
The behavior of this method is identical to that of
Node.setProperty(String name, Value value) except that the value is
specified as a boolean and, if possible, the type assigned
to the property is BOOLEAN , otherwise a best-effort
conversion is attempted. |
Property |
Node.setProperty(String name,
Calendar value)
The behavior of this method is identical to that of
Node.setProperty(String name, Value value) except that the value is
specified as a Calendar and, if possible, the type assigned to
the property is DATE , otherwise a best-effort conversion is
attempted. |
Property |
Node.setProperty(String name,
double value)
The behavior of this method is identical to that of
Node.setProperty(String name, Value value) except that the value is
specified as a double and, if possible, the type assigned to
the property is DOUBLE , otherwise a best-effort conversion
is attempted. |
Property |
Node.setProperty(String name,
InputStream value)
Deprecated.
As of JCR 2.0,
Node.setProperty(String, Binary) should be
used instead. |
Property |
Node.setProperty(String name,
long value)
The behavior of this method is identical to that of
Node.setProperty(String name, Value value) except that the value is
specified as a long and, if possible, the type assigned to
the property is LONG , otherwise a best-effort conversion is
attempted. |
Property |
Node.setProperty(String name,
Node value)
The behavior of this method is identical to that of
Node.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. |
Property |
Node.setProperty(String name,
String value)
Sets the specified single-value property to the specified value.
|
Property |
Node.setProperty(String name,
String[] values)
Sets the specified property to the specified array of values.
|
Property |
Node.setProperty(String name,
String[] values,
int type)
Sets the specified property to the specified array of values and to the
specified type.
|
Property |
Node.setProperty(String name,
String value,
int type)
Sets the specified single-value property to the specified value.
|
Property |
Node.setProperty(String name,
Value value)
Sets the single-value property of this node called
name to
the specified value . |
Property |
Node.setProperty(String name,
Value[] values)
Sets the multi-value property of this node called
name to
the specified array of values. |
Property |
Node.setProperty(String name,
Value[] values,
int type)
Sets the multi-value property of this node called
name to
the specified array of values. |
Property |
Node.setProperty(String name,
Value value,
int type)
Sets the single-value property of this node called
name to
the specified value and the specified type . |
void |
Property.setValue(BigDecimal value)
Sets the value of this property to
value . |
void |
Property.setValue(Binary value)
Sets the value of this property to
value . |
void |
Property.setValue(boolean value)
Sets the value of this property to
value . |
void |
Property.setValue(Calendar value)
Sets the value of this property to
value . |
void |
Property.setValue(double value)
Sets the value of this property to
value . |
void |
Property.setValue(InputStream value)
Deprecated.
As of JCR 2.0,
Property.setValue(Binary) should be used
instead. |
void |
Property.setValue(long value)
Sets the value of this property to
value . |
void |
Property.setValue(Node value)
Sets this
REFERENCE or WEAKREFERNCE property to
refer to the specified node. |
void |
Property.setValue(String value)
Sets the value of this property to
value . |
void |
Property.setValue(String[] values)
Sets the value of this property to the
values array. |
void |
Property.setValue(Value value)
Sets the value of this property to
value . |
void |
Property.setValue(Value[] values)
Sets the value of this property to the
values array. |
Modifier and Type | Method and Description |
---|---|
void |
NodeTypeTemplate.setDeclaredSuperTypeNames(String[] names)
Sets the names of the supertypes of the node type.
|
void |
NodeDefinitionTemplate.setDefaultPrimaryTypeName(String name)
Sets the name of the default primary type of this node.
|
void |
NodeTypeTemplate.setName(String name)
Sets the name of the node type.
|
void |
PropertyDefinitionTemplate.setName(String name)
Sets the name of the property.
|
void |
NodeDefinitionTemplate.setName(String name)
Sets the name of the node.
|
void |
NodeTypeTemplate.setPrimaryItemName(String name)
Sets the name of the primary item.
|
void |
NodeDefinitionTemplate.setRequiredPrimaryTypeNames(String[] names)
Sets the names of the required primary types of this node.
|
Modifier and Type | Method and Description |
---|---|
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 |
---|---|
void |
VersionManager.restore(String absPath,
Version version,
boolean removeExisting)
Restores the specified version to
absPath . |
Modifier and Type | Method and Description |
---|---|
Node |
CollaborationGroupUtil.createCollaborationGroup(Node aGroupTemplate,
Node aGroupFolder,
String aGroupName)
Creates an open collaboration group.
|
Modifier and Type | Method and Description |
---|---|
void |
RoleAssignment.apply(Node aNode)
Applies this role assignment on a given node.
|
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 |
RoleAssignment.revoke(Node aNode)
Revokes this role assignment on a given 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 . |
void |
SubscriptionUtil.configureSubscriptionEmail(Node aNode,
String from,
String fromAddress,
String subject,
String footer)
Configures email properties for the subscription on the given node.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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.setVersioned(Node aFile,
boolean aVersioned)
Modifies versioning for a file.
|
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 |
---|---|
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.
|
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.
|
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.
|
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.