|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use RepositoryException | |
org.outerj.daisy.repository | Core API for accessing the repository, and creating and modifying documents in it. |
org.outerj.daisy.repository.acl | API for dealing with the Access Control functionality. |
org.outerj.daisy.repository.comment | API for dealing with document comments. |
org.outerj.daisy.repository.query | API for querying the repository using the Daisy Query Language. |
org.outerj.daisy.repository.schema | API for dealing with the repository schema, thus the available document types, fields, and parts. |
org.outerj.daisy.repository.user | API for managing the repository users and roles. |
org.outerj.daisy.repository.variant |
Uses of RepositoryException in org.outerj.daisy.repository |
Subclasses of RepositoryException in org.outerj.daisy.repository | |
class |
AccessException
Exception thrown in case of permission-related problems. |
class |
AuthenticationFailedException
|
class |
CollectionDeletedException
Thrown if a collection has been removed at the same time someone was editing a document that belonged to the removed collection. |
class |
CollectionNotFoundException
Thrown if a collection has been requested but it has not been found in the repository. |
class |
DocumentNotFoundException
|
class |
DocumentReadDeniedException
|
class |
DocumentTypeInconsistencyException
This exception is used when manipulating a document in a way that would make it inconsistent with its DocumentType. |
class |
DocumentVariantNotFoundException
|
Methods in org.outerj.daisy.repository that throw RepositoryException | |
Branch |
AvailableVariant.getBranch()
|
Language |
AvailableVariant.getLanguage()
|
org.outerx.daisy.x10.AvailableVariantDocument |
AvailableVariant.getXml(boolean includeVariantNames)
|
void |
DocumentCollection.save()
Stores the modified collection. |
DocumentCollection |
CollectionManager.createCollection(java.lang.String name)
Creates a new collection. |
DocumentCollection |
CollectionManager.getCollection(long collectionId,
boolean updateable)
Retrieves a collection by its ID. |
DocumentCollection |
CollectionManager.getCollection(java.lang.String collection,
boolean updateable)
Retrieves a collection by ID or by name depending on whether the collection parameter starts with a digit. |
DocumentCollection |
CollectionManager.getCollectionByName(java.lang.String name,
boolean updateable)
Retrieves a collection by its name. |
void |
CollectionManager.deleteCollection(long collectionId)
Deletes a collection from the repository. |
DocumentCollections |
CollectionManager.getCollections(boolean updateable)
Gets all collections, in no specific order. |
org.outerx.daisy.x10.AvailableVariantsDocument |
AvailableVariants.getXml(boolean includeVariantNames)
|
Parts |
Version.getParts()
Returns the parts contained in this version. |
Parts |
Version.getPartsInOrder()
Returns the parts contained in this version, in the order as they are defined in the document type of the document. |
Part |
Version.getPart(java.lang.String typeName)
Get a part by name. |
Fields |
Version.getFields()
Returns the fields contained in this version. |
Fields |
Version.getFieldsInOrder()
Returns the fields contained in this version, in the order as they are defined in the document type of the document. |
Links |
Version.getLinks()
Get the links. |
org.outerx.daisy.x10.VersionDocument |
Version.getXml()
Get an XML document describing the version. |
void |
Version.setState(VersionState state)
Changes the state of this version. |
byte[] |
Part.getData()
Get the actual data stored in this part. |
java.io.InputStream |
Part.getDataStream()
Get the data stored in this part. |
java.io.InputStream |
PartDataSource.createInputStream()
This method may be called multiple times. |
Repository |
RepositoryManager.getRepository(Credentials credentials)
|
Document |
Repository.createVariant(long documentId,
long startBranchId,
long startLanguageId,
long startVersionId,
long newBranchId,
long newLanguageId,
boolean copyContent)
Creates a new variant on a document. |
Document |
Repository.createVariant(long documentId,
java.lang.String startBranchName,
java.lang.String startLanguageName,
long startVersionId,
java.lang.String newBranchName,
java.lang.String newLanguageName,
boolean copyContent)
|
Document |
Repository.getDocument(long documentId,
long branchId,
long languageId,
boolean updateable)
Gets a document from the repository. |
Document |
Repository.getDocument(long documentId,
java.lang.String branchName,
java.lang.String languageName,
boolean updateable)
|
Document |
Repository.getDocument(VariantKey key,
boolean updateable)
|
Document |
Repository.getDocument(long documentId,
boolean updateable)
|
AvailableVariants |
Repository.getAvailableVariants(long documentId)
Gets the available variants of a document. |
void |
Repository.deleteDocument(long documentId)
Deletes a document permanently (unrecoverable) from the repository (including all its variants). |
void |
Repository.deleteVariant(long documentId,
long branchId,
long languageId)
|
void |
Repository.deleteVariant(VariantKey variantKey)
Deletes a document variant permanently (unrecoverable) from the repository. |
java.io.InputStream |
Repository.getPartData(long documentId,
long branchId,
long languageId,
long versionId,
long partTypeId)
Retrieves the specified blob without the need to go through the Document object. |
java.io.InputStream |
Repository.getPartData(long documentId,
long versionId,
long partTypeId)
Retrieves part data for the branch "main", language "default". |
AvailableVariants |
Document.getAvailableVariants()
Returns the available variants for this document. |
void |
Document.changeDocumentType(long documentTypeId)
Changes the document type of this document. |
void |
Document.changeDocumentType(java.lang.String documentTypeName)
See Document.changeDocumentType(long) . |
Versions |
Document.getVersions()
Returns all versions stored for this document. |
Version |
Document.getVersion(long id)
Returns the requested version. |
Version |
Document.getLastVersion()
Returns the Version object for the last stored version, or null for unsaved documents. |
Version |
Document.getLiveVersion()
Returns the live version of this document, or null if there is none. |
void |
Document.save()
Saves a document. |
void |
Document.save(boolean validate)
Saves the document and document variant. |
boolean |
Document.lock(long duration,
LockType lockType)
Takes a lock on the document variant. |
boolean |
Document.releaseLock()
Releases the lock on the document variant. |
LockInfo |
Document.getLockInfo(boolean fresh)
Returns information about the current lock on the document variant. |
org.outerx.daisy.x10.DocumentDocument |
Document.getXml()
|
org.outerx.daisy.x10.DocumentDocument |
Document.getXmlWithoutVariant()
|
org.outerx.daisy.x10.DocumentDocument |
Document.getXmlWithoutVersionedData()
|
org.outerx.daisy.x10.DocumentDocument |
Document.getXml(long versionId)
Gets the XML of the document but include the data from the specified version, instead of the current data. |
Uses of RepositoryException in org.outerj.daisy.repository.acl |
Methods in org.outerj.daisy.repository.acl that throw RepositoryException | |
void |
Acl.save()
Saves this Acl. |
Acl |
AccessManager.getLiveAcl()
Gets the currently active, live ACL. |
Acl |
AccessManager.getStagingAcl()
Gets the staging ACL. |
void |
AccessManager.copyStagingToLive()
Puts the staging ACL live. |
void |
AccessManager.copyLiveToStaging()
Reverts changes to the staging ACL. |
AclResultInfo |
AccessManager.getAclInfo(Document document)
Gets ACL info for the current user, by evaluating the (live) ACL rules on the given document object. |
AclResultInfo |
AccessManager.getAclInfoOnLive(long userId,
long[] roleIds,
long documentId,
long branchId,
long languageId)
Gets ACL info for the specified user acting in the specified role, for the specified document variant, by evaluating the live ACL. |
AclResultInfo |
AccessManager.getAclInfoOnLive(long userId,
long[] roleIds,
VariantKey key)
Gets ACL info for the specified user acting in the specified role, for the specified document variant, by evaluating the live ACL. |
AclResultInfo |
AccessManager.getAclInfoOnLive(long userId,
long[] roleIds,
long documentId)
Gets the ACL info for the branch "main" and language "default" of the document. |
AclResultInfo |
AccessManager.getAclInfoOnStaging(long userId,
long[] roleIds,
long documentId,
long branchId,
long languageId)
Gets ACL info for the specified user acting in the specified role, for the specified document variant, by evaluating the staging ACL. |
AclResultInfo |
AccessManager.getAclInfoOnStaging(long userId,
long[] roleIds,
VariantKey key)
Gets ACL info for the specified user acting in the specified role, for the specified document variant, by evaluating the staging ACL. |
AclResultInfo |
AccessManager.getAclInfoOnStaging(long userId,
long[] roleIds,
long documentId)
Gets the ACL info for the branch "main" and language "default" of the document. |
AclResultInfo |
AccessManager.getAclInfoOnLive(long userId,
long[] roleIds,
Document document)
Checks the ACL using the supplied document object. |
AclResultInfo |
AccessManager.getAclInfoOnStaging(long userId,
long[] roleIds,
Document document)
Equivalent of AccessManager.getAclInfoOnLive(long, long[], org.outerj.daisy.repository.Document) . |
long[] |
AccessManager.filterDocumentTypes(long[] documentTypeIds,
long collectionId)
Filters the given list of document type ids to the ones for which the user is potentially able to create new documents. |
VariantKey[] |
AccessManager.filterDocuments(VariantKey[] variantKeys)
Filters the given list of document variants so that only document variants to which the current user has access remains. |
Uses of RepositoryException in org.outerj.daisy.repository.comment |
Methods in org.outerj.daisy.repository.comment that throw RepositoryException | |
Comment |
CommentManager.addComment(long documentId,
long branchId,
long languageId,
CommentVisibility visibility,
java.lang.String commentText)
|
Comment |
CommentManager.addComment(long documentId,
CommentVisibility visibility,
java.lang.String commentText)
Adds a comment to the branch "main", language "default" of this document. |
void |
CommentManager.deleteComment(long documentId,
long branchId,
long languageId,
long commentId)
Deletes a comment. |
void |
CommentManager.deleteComment(long documentId,
long commentId)
Deletes a comment from the branch "main", language "default" of the document. |
void |
CommentManager.deleteComment(Comment comment)
|
Comments |
CommentManager.getComments(long documentId,
long branchId,
long langugeId)
Returns the comments for a specific document variant. |
Comments |
CommentManager.getComments(VariantKey variantKey)
|
Comments |
CommentManager.getComments(long documentId)
Gets the comments from the branch "main", languge "default" of the document. |
Comments |
CommentManager.getComments(CommentVisibility visibility)
Returns all comments with the specified visibility, created by the current user. |
Comments |
CommentManager.getComments()
Returns all comments created by the current user. |
Uses of RepositoryException in org.outerj.daisy.repository.query |
Subclasses of RepositoryException in org.outerj.daisy.repository.query | |
class |
QueryException
|
Methods in org.outerj.daisy.repository.query that throw RepositoryException | |
org.outerx.daisy.x10.SearchResultDocument |
QueryManager.performQuery(java.lang.String query,
java.util.Locale locale)
Executes a query and returns the results as XML. |
VariantKey[] |
QueryManager.performQueryReturnKeys(java.lang.String query,
java.util.Locale locale)
Executes a query and returns the keys of the matching document variants. |
VariantKey[] |
QueryManager.performQueryReturnKeys(java.lang.String query,
java.lang.String extraCond,
java.util.Locale locale)
Executes a query and returns the keys of the matching document variants. |
org.outerx.daisy.x10.SearchResultDocument |
QueryManager.performQuery(java.lang.String query,
java.lang.String extraCond,
java.util.Locale locale)
Same as QueryManager.performQueryReturnKeys(java.lang.String, java.lang.String, java.util.Locale) but
returns the results as XML. |
org.outerx.daisy.x10.FacetedQueryResultDocument |
QueryManager.performFacetedQuery(java.lang.String query,
FacetConf[] facetConfs,
int chunkOffset,
int chunkLength,
java.util.Locale locale)
Performs a query and includes for each selected value the set of distinct values, if the isFacet property of the corresponding entry in the given facetConfs array is true. |
Uses of RepositoryException in org.outerj.daisy.repository.schema |
Subclasses of RepositoryException in org.outerj.daisy.repository.schema | |
class |
DocumentTypeNotFoundException
|
class |
FieldTypeNotFoundException
|
class |
PartTypeNotFoundException
|
Methods in org.outerj.daisy.repository.schema that throw RepositoryException | |
void |
FieldType.save()
|
void |
DocumentType.save()
|
void |
RepositorySchema.deleteDocumentType(long documentTypeId)
|
void |
RepositorySchema.deleteFieldType(long fieldTypeId)
|
void |
RepositorySchema.deletePartType(long partTypeId)
|
DocumentTypes |
RepositorySchema.getAllDocumentTypes(boolean updateable)
|
FieldTypes |
RepositorySchema.getAllFieldTypes(boolean updateable)
|
PartTypes |
RepositorySchema.getAllPartTypes(boolean updateable)
|
PartType |
RepositorySchema.getPartTypeById(long id,
boolean updateable)
|
PartType |
RepositorySchema.getPartTypeByName(java.lang.String name,
boolean updateable)
|
FieldType |
RepositorySchema.getFieldTypeById(long id,
boolean updateable)
|
FieldType |
RepositorySchema.getFieldTypeByName(java.lang.String name,
boolean updateable)
|
DocumentType |
RepositorySchema.getDocumentTypeById(long id,
boolean updateable)
|
DocumentType |
RepositorySchema.getDocumentTypeByName(java.lang.String name,
boolean updateable)
|
void |
PartType.save()
|
Uses of RepositoryException in org.outerj.daisy.repository.user |
Subclasses of RepositoryException in org.outerj.daisy.repository.user | |
class |
DuplicateLoginException
|
class |
RoleNotFoundException
|
class |
UserManagementException
An exception that is thrown when something went wrong during User Management |
class |
UserNotFoundException
|
Methods in org.outerj.daisy.repository.user that throw RepositoryException | |
void |
User.save()
Persist this User to a data store. |
Users |
UserManager.getUsers()
Returns all available users. |
long[] |
UserManager.getUserIds()
|
org.outerx.daisy.x10.PublicUserInfoDocument |
UserManager.getPublicUserInfo(long userId)
Returns the publicly available information for a user. |
org.outerx.daisy.x10.PublicUserInfosDocument |
UserManager.getPublicUserInfos()
Returns the public information of all users. |
Roles |
UserManager.getRoles()
Returns all available roles. |
void |
UserManager.deleteUser(long userId)
Deletes the User with data store id userId |
User |
UserManager.getUser(long userId,
boolean updateable)
Return the User object which is identified by data store id userId. |
Role |
UserManager.getRole(long roleId,
boolean updateable)
Return the Role object which is identified by data store id roleId |
User |
UserManager.getUser(java.lang.String userLogin,
boolean updateable)
Return the User object which is identified by the specified userLogin |
Role |
UserManager.getRole(java.lang.String roleName,
boolean updateable)
Return the Role object which is identified by the specified roleName |
void |
UserManager.deleteRole(long roleId)
Deletes the Role with data store id roleId |
java.lang.String |
UserManager.getUserDisplayName(long userId)
Retrieves the display name of a user, using the user cache for quick access. |
java.lang.String |
UserManager.getUserLogin(long userId)
Retrieves the login of a user. |
long |
UserManager.getUserId(java.lang.String login)
Retrieves the id of a user based on its login. |
java.lang.String |
UserManager.getRoleDisplayName(long roleId)
Retrieves the name of a role, using the user cache for quick access. |
Users |
UserManager.getUsersByEmail(java.lang.String email)
|
AuthenticationSchemeInfos |
UserManager.getAuthenticationSchemes()
|
void |
Role.save()
Persist this Role to the data store. |
Uses of RepositoryException in org.outerj.daisy.repository.variant |
Subclasses of RepositoryException in org.outerj.daisy.repository.variant | |
class |
BranchNotFoundException
|
class |
LanguageNotFoundException
|
Methods in org.outerj.daisy.repository.variant that throw RepositoryException | |
void |
Branch.save()
|
Branch |
VariantManager.getBranch(long id,
boolean updateable)
Retrieves a branch by ID. |
Branch |
VariantManager.getBranch(java.lang.String branch,
boolean updateable)
Retrieves a branch by ID or by name depending on whether the branch parameter starts with a digit. |
Branch |
VariantManager.getBranchByName(java.lang.String name,
boolean updateable)
Retrieves a branch by name. |
Branches |
VariantManager.getAllBranches(boolean updateable)
|
void |
VariantManager.deleteBranch(long id)
Deletes a branch. |
Language |
VariantManager.getLanguage(long id,
boolean updateable)
|
Language |
VariantManager.getLanguage(java.lang.String language,
boolean updateable)
|
Language |
VariantManager.getLanguageByName(java.lang.String name,
boolean updateable)
|
Languages |
VariantManager.getAllLanguages(boolean updateable)
|
void |
VariantManager.deleteLanguage(long id)
|
void |
Language.save()
|
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |