You are here

Public Java API services

The Public Java API provides access to SkyVault Community Edition through a number of services that are exposed. These services are accessed via a single point of access - the Service Registry. This information provides an overview of the services exposed by the Public Java API.

The following table summarizes the main services available to the developer. These services are available via the service registry.

Important: There is a wealth of additional information to be found in the Public Java API access and transaction management documentation. This documentation also shows you how to obtain the service registry.
Service Description Support Status
ActionService An action represents a unit of work that can be applied to a node. Using the Action Service, actions of specific types can be created. Full Support
ActivityService A service to manage activity feeds. Full Support
AttributeService This provides services for reading, writing, and querying global attributes. Full Support
AuditService This provides services for querying audit data and enabling and disabling auditing. Full Support
AuthenticationService This service provides an API to allow authentication of users using various methods, such as username and password and authentication tickets. Full Support
CategoryService Provides a system for creating and managing categories of nodes. Full Support
CheckOutCheckInService Service to provide document locking. If a document is locked, other users cannot change its content, until it is unlocked. Full Support
ContentService A service for accessing and transforming content. Full Support
CopyService This service provides methods to copy nodes within and across workspaces and to update the state of a node, with that of another node, within and across workspaces. Full Support
DictionaryService This service represents the repository Data Dictionary. The dictionary provides access to content meta-data such as Type and Aspect descriptions. Content meta-data is organized into models where each model is given a qualified name. This means that it is safe to develop independent models and bring them together into the same repository without name clashes (as long their namespace is different). Full Support
FileFolderService Provides methods specific to manipulating files and folders. This service provides a simple way of accessing simple trees of files and folders. Full Support
JobLockService This service ensures that a scheduled job can only run on one node of a cluster at a time. A scheduled job could be, for example, an Activities feed job that generates email to send to everyone every night or a content cleaner job that cleans up orphaned content. Full Support
LockService A low-level locking service, used by the CheckOutCheckIn service. Does not create a working copy. Full Support
MessageService Provides methods to access the locale of the current thread and to get localised strings. These strings may be loaded from resource bundles deployed in the Repository. Full Support
MimetypeService Provides support related to content mimetype. For example, provides methods to retrieve the extension for the specified mimetype. Full Support
ModuleService A service to control and provide information about the currently-installed modules. Full Support
NamespaceService Provides access to and definition of namespace URIs and prefixes. Full Support
NodeService Provides an API for managing nodes. Full Support
NodeLocatorService The NodeLocatorService looks up node locators registered via Spring configuration by name. Full Support
PermissionService Provides an API for managing the node permissions. Permissions specify users and groups that have access to a node. Each user and group can be assigned a role. Full Support
PersonService This service encapsulates the management of people and groups. People and groups may be managed entirely in the repository or entirely in some other implementation such as LDAP or via NTLM. Some properties may be in the repository and some in another store. Individual properties may or may not be mutable. Full Support
RenditionService Provides support for rendering content nodes into other forms, known as renditions. The rendition nodes are derived from their source node and as such can be updated automatically when their source node's content (or other properties) are changed. Examples of renditions include reformatted content (essentially a transformation from one MIME-type to another), rescaled images (including thumbnails), and the output of a Freemarker or XSLT template. Renditions can be performed synchronously or asynchronously and can be created at a specified location within the repository. By default they are created as primary children of their source node but it is possible to have them created at other nodes specified explicitly or as templated paths. Full Support
RetryingTransactionHelper A helper that runs a unit of work inside a UserTransaction, transparently retrying the unit of work if the cause of failure is an optimistic locking or deadlock condition. Full Support
SearchService This encapsulates the execution of search against different indexing mechanisms. Full Support
SiteService Provides an extensive API for managing sites in SkyVault Share. Full Support
TaggingService It is possible to tag (a text label) any content, including folders. This service provides an API for creating, deleting, and adding tags, and other tag management methods. Full Support
TemplateService Provides an API for executing template engine against a template file and data model. The service provides a configured list of available template engines. The template file can either be in the repository (passed as NodeRef string) or on the classpath. Also a template can be passed directly as a String using the processTemplateString() methods. The data model is specified to the template engine. The FreeMarker template engine is used by default. Full Support
TenantService Provides APIs for the multi-tenancy capability. The service is applicable in both Single Tenancy and Multi Tenancy arrangements. Full Support
VersionService Provides an API for managing the versions of a piece of content. Full Support
WorkflowService Provides a client-facing API for interacting with workflows and tasks. Full Support