|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Document | |
---|---|
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.query | API for querying the repository using the Daisy Query Language. |
Uses of Document in org.outerj.daisy.repository |
---|
Methods in org.outerj.daisy.repository that return Document | |
---|---|
Document |
Repository.createDocument(java.lang.String name,
long documentTypeId)
Same as Repository.createDocument(String, long, long, long) but assumes branch id 1
and language id 1. |
Document |
Repository.createDocument(java.lang.String name,
long documentTypeId,
long branchId,
long languageId)
Creates a new document. |
Document |
Repository.createDocument(java.lang.String name,
java.lang.String documentTypeName)
Same as Repository.createDocument(String, long) but takes a document type
name instead of an id. |
Document |
Repository.createDocument(java.lang.String name,
java.lang.String documentTypeName,
java.lang.String branchName,
java.lang.String languageName)
Same as Repository.createDocument(String, long, long, long) but takes names instead
of ids. |
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,
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)
|
Uses of Document in org.outerj.daisy.repository.acl |
---|
Methods in org.outerj.daisy.repository.acl with parameters of type Document | |
---|---|
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.getAclInfoOnStaging(long userId,
long[] roleIds,
Document document)
Equivalent of AccessManager.getAclInfoOnLive(long, long[], org.outerj.daisy.repository.Document) . |
Uses of Document in org.outerj.daisy.repository.query |
---|
Methods in org.outerj.daisy.repository.query that return Document | |
---|---|
Document |
EvaluationContext.getContextDocument()
|
Methods in org.outerj.daisy.repository.query with parameters of type Document | |
---|---|
boolean |
PredicateExpression.evaluate(Document document,
Version version)
The version argument is optional, if not present (null) version-dependent information will be taken from the document object. |
void |
EvaluationContext.setContextDocument(Document document,
Version version)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |