Uses of Class
org.outerj.daisy.repository.RepositoryException

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
 void Document.changeDocumentType(long documentTypeId)
          Changes the document type of this document.
 void Document.changeDocumentType(java.lang.String documentTypeName)
          See Document.changeDocumentType(long).
 DocumentCollection CollectionManager.createCollection(java.lang.String name)
          Creates a new collection.
 java.io.InputStream PartDataSource.createInputStream()
          This method may be called multiple times.
 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)
           
 void CollectionManager.deleteCollection(long collectionId)
          Deletes a collection from the repository.
 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.
 AvailableVariants Document.getAvailableVariants()
          Returns the available variants for this document.
 AvailableVariants Repository.getAvailableVariants(long documentId)
          Gets the available variants of a document.
 Branch AvailableVariant.getBranch()
           
 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.
 DocumentCollections CollectionManager.getCollections(boolean updateable)
          Gets all collections, in no specific order.
 byte[] Part.getData()
          Get the actual data stored in this part.
 java.io.InputStream Part.getDataStream()
          Get the data stored in this part.
 Document Repository.getDocument(long documentId, boolean updateable)
           
 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)
           
 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.
 Language AvailableVariant.getLanguage()
           
 Version Document.getLastVersion()
          Returns the Version object for the last stored version, or null for unsaved documents.
 Links Version.getLinks()
          Get the links.
 Version Document.getLiveVersion()
          Returns the live version of this document, or null if there is none.
 LockInfo Document.getLockInfo(boolean fresh)
          Returns information about the current lock on the document variant.
 Part Version.getPart(java.lang.String typeName)
          Get a part by name.
 java.io.InputStream Repository.getPartData(long documentId, long versionId, long partTypeId)
          Retrieves part data for the branch "main", language "default".
 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.
 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.
 Repository RepositoryManager.getRepository(Credentials credentials)
           
 Version Document.getVersion(long id)
          Returns the requested version.
 Versions Document.getVersions()
          Returns all versions stored for this document.
 org.outerx.daisy.x10.DocumentDocument Document.getXml()
           
 org.outerx.daisy.x10.VersionDocument Version.getXml()
          Get an XML document describing the version.
 org.outerx.daisy.x10.AvailableVariantDocument AvailableVariant.getXml(boolean includeVariantNames)
           
 org.outerx.daisy.x10.AvailableVariantsDocument AvailableVariants.getXml(boolean includeVariantNames)
           
 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.
 org.outerx.daisy.x10.DocumentDocument Document.getXmlWithoutVariant()
           
 org.outerx.daisy.x10.DocumentDocument Document.getXmlWithoutVersionedData()
           
 boolean Document.lock(long duration, LockType lockType)
          Takes a lock on the document variant.
 boolean Document.releaseLock()
          Releases the lock on the document variant.
 void DocumentCollection.save()
          Stores the modified collection.
 void Document.save()
          Saves a document.
 void Document.save(boolean validate)
          Saves the document and document variant.
 void Version.setState(VersionState state)
          Changes the state of this version.
 

Uses of RepositoryException in org.outerj.daisy.repository.acl
 

Methods in org.outerj.daisy.repository.acl that throw RepositoryException
 void AccessManager.copyLiveToStaging()
          Reverts changes to the staging ACL.
 void AccessManager.copyStagingToLive()
          Puts the staging ACL live.
 VariantKey[] AccessManager.filterDocuments(VariantKey[] variantKeys)
          Filters documents based on 'read live' permission.
 VariantKey[] AccessManager.filterDocuments(VariantKey[] variantKeys, AclPermission permission)
          Filters the given list of document variants so that only document variants to which the current user has the given ACL permission remains.
 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.
 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, Document document)
          Checks the ACL using the supplied document object.
 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.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.getAclInfoOnStaging(long userId, long[] roleIds, Document document)
          Equivalent of AccessManager.getAclInfoOnLive(long, long[], org.outerj.daisy.repository.Document).
 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.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.
 Acl AccessManager.getLiveAcl()
          Gets the currently active, live ACL.
 Acl AccessManager.getStagingAcl()
          Gets the staging ACL.
 void Acl.save()
          Saves this Acl.
 

Uses of RepositoryException in org.outerj.daisy.repository.comment
 

Methods in org.outerj.daisy.repository.comment that throw RepositoryException
 Comment CommentManager.addComment(long documentId, CommentVisibility visibility, java.lang.String commentText)
          Adds a comment to the branch "main", language "default" of this document.
 Comment CommentManager.addComment(long documentId, long branchId, long languageId, CommentVisibility visibility, java.lang.String commentText)
           
 void CommentManager.deleteComment(Comment comment)
           
 void CommentManager.deleteComment(long documentId, long commentId)
          Deletes a comment from the branch "main", language "default" of the document.
 void CommentManager.deleteComment(long documentId, long branchId, long languageId, long commentId)
          Deletes a comment.
 Comments CommentManager.getComments()
          Returns all comments created by the current user.
 Comments CommentManager.getComments(CommentVisibility visibility)
          Returns all comments with the specified visibility, created by the current user.
 Comments CommentManager.getComments(long documentId)
          Gets the comments from the branch "main", languge "default" of the document.
 Comments CommentManager.getComments(long documentId, long branchId, long langugeId)
          Returns the comments for a specific document variant.
 Comments CommentManager.getComments(VariantKey variantKey)
           
 

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.DistinctSearchResultDocument QueryManager.performDistinctQuery(java.lang.String query, SortOrder sortOrder, java.util.Locale locale)
           
 org.outerx.daisy.x10.DistinctSearchResultDocument QueryManager.performDistinctQuery(java.lang.String query, java.lang.String extraCond, SortOrder sortOrder, java.util.Locale locale)
           
 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.
 org.outerx.daisy.x10.SearchResultDocument QueryManager.performQuery(java.lang.String query, java.util.Locale locale)
          Executes a query and returns the results as XML.
 org.outerx.daisy.x10.SearchResultDocument QueryManager.performQuery(java.lang.String query, java.util.Locale locale, EvaluationContext evaluationContext)
           
 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.SearchResultDocument QueryManager.performQuery(java.lang.String query, java.lang.String extraCond, java.util.Locale locale, EvaluationContext evaluationContext)
           
 org.outerx.daisy.x10.SearchResultDocument QueryManager.performQuery(java.lang.String query, java.lang.String extraCond, java.util.Map queryOptions, java.util.Locale locale)
           
 org.outerx.daisy.x10.SearchResultDocument QueryManager.performQuery(java.lang.String query, java.lang.String extraCond, java.util.Map queryOptions, java.util.Locale locale, EvaluationContext evaluationContext)
           
 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.util.Locale locale, EvaluationContext evaluationContext)
           
 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.
 VariantKey[] QueryManager.performQueryReturnKeys(java.lang.String query, java.lang.String extraCond, java.util.Locale locale, EvaluationContext evaluationContext)
           
 VariantKey[] QueryManager.performQueryReturnKeys(java.lang.String query, java.lang.String extraCond, java.util.Map queryOptions, java.util.Locale locale)
           
 VariantKey[] QueryManager.performQueryReturnKeys(java.lang.String query, java.lang.String extraCond, java.util.Map queryOptions, java.util.Locale locale, EvaluationContext evaluationContext)
           
 

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 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)
           
 DocumentType RepositorySchema.getDocumentType(java.lang.String nameOrId, boolean updateable)
           
 DocumentType RepositorySchema.getDocumentTypeById(long id, boolean updateable)
           
 DocumentType RepositorySchema.getDocumentTypeByName(java.lang.String name, boolean updateable)
           
 FieldType RepositorySchema.getFieldTypeById(long id, boolean updateable)
           
 FieldType RepositorySchema.getFieldTypeByName(java.lang.String name, boolean updateable)
           
 LinkExtractorInfos RepositorySchema.getLinkExtractors()
          Returns information about the available link extractors.
 PartType RepositorySchema.getPartTypeById(long id, boolean updateable)
           
 PartType RepositorySchema.getPartTypeByName(java.lang.String name, boolean updateable)
           
 void DocumentType.save()
           
 void FieldType.save()
           
 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 UserManager.deleteRole(long roleId)
          Deletes the Role with data store id roleId
 void UserManager.deleteUser(long userId)
          Deletes the User with data store id userId
 AuthenticationSchemeInfos UserManager.getAuthenticationSchemes()
           
 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.
 Role UserManager.getRole(long roleId, boolean updateable)
          Return the Role object which is identified by data store id roleId
 Role UserManager.getRole(java.lang.String roleName, boolean updateable)
          Return the Role object which is identified by the specified roleName
 java.lang.String UserManager.getRoleDisplayName(long roleId)
          Retrieves the name of a role, using the user cache for quick access.
 Roles UserManager.getRoles()
          Returns all available roles.
 User UserManager.getUser(long userId, boolean updateable)
          Return the User object which is identified by data store id userId.
 User UserManager.getUser(java.lang.String userLogin, boolean updateable)
          Return the User object which is identified by the specified userLogin
 java.lang.String UserManager.getUserDisplayName(long userId)
          Retrieves the display name of a user, using the user cache for quick access.
 long UserManager.getUserId(java.lang.String login)
          Retrieves the id of a user based on its login.
 long[] UserManager.getUserIds()
           
 java.lang.String UserManager.getUserLogin(long userId)
          Retrieves the login of a user.
 Users UserManager.getUsers()
          Returns all available users.
 Users UserManager.getUsersByEmail(java.lang.String email)
           
 void User.save()
          Persist this User to a data store.
 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 VariantManager.deleteBranch(long id)
          Deletes a branch.
 void VariantManager.deleteLanguage(long id)
           
 Branches VariantManager.getAllBranches(boolean updateable)
           
 Languages VariantManager.getAllLanguages(boolean updateable)
           
 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.
 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)
           
 void Branch.save()
           
 void Language.save()
           
 



Copyright © -2012 . All Rights Reserved.