Uses of Class
org.onehippo.forge.content.exim.core.DocumentManagerException
Packages that use DocumentManagerException
-
Uses of DocumentManagerException in org.onehippo.forge.content.exim.core
Subclasses of DocumentManagerException in org.onehippo.forge.content.exim.coreModifier and TypeClassDescriptionclass
DocumentManagerNotFoundException thrown byDocumentManager
, when a folder or document is not found by a specified location information.Methods in org.onehippo.forge.content.exim.core that throw DocumentManagerExceptionModifier and TypeMethodDescriptionorg.hippoecm.repository.api.Document
DocumentManager.commitEditableDocument
(String documentLocation) Commits the draft variant which is currently being edited.org.hippoecm.repository.api.Document
DocumentManager.commitEditableDocument
(org.hippoecm.repository.api.Document editableDocument) Commits the draft variant which is currently being edited.DocumentManager.copyDocument
(String sourceDocumentLocation, String targetFolderLocation, String targetDocumentName) Copies a document at the source document handle path (sourceDocumentLocation
) to the target folder path (targetFolderLocation
) with the given document node name (targetDocumentName
).DocumentManager.createDocument
(String folderLocation, String primaryTypeName, String nodeName, String locale, String localizedName) Creates a document in the specificfolderLocation
.void
DocumentManager.deleteDocument
(String documentLocation) Deletes a document at at the given document handle path (documentLocation
).boolean
DocumentManager.depublishDocument
(String documentLocation) Takes offline the document at the given document handle path (documentLocation
).org.hippoecm.repository.api.Document
DocumentManager.disposeEditableDocument
(String documentLocation) Discards the draft variant which is currently being edited.org.hippoecm.repository.api.Document
DocumentManager.disposeEditableDocument
(org.hippoecm.repository.api.Document editableDocument) Discards the draft variant which is currently being edited.boolean
DocumentManager.documentExists
(String documentLocation) Returns true if a document exists atdocumentLocation
.boolean
DocumentManager.folderExists
(String folderLocation) Returns true if a folder exists atfolderLocation
.DocumentManager.getExistingDocumentPath
(String documentLocation) Returns the physical document handle node path for the logical document location.DocumentManager.getExistingFolderPath
(String folderLocation) Returns the physical folder node path for the logical folder location.org.hippoecm.repository.api.Document
DocumentManager.obtainEditableDocument
(String documentLocation) Obtains an editable draft variantDocument
under the given document handle path (documentLocation
).org.hippoecm.repository.api.Document
DocumentManager.obtainEditableDocument
(Node documentHandleNode) Obtains an editable draft variantDocument
of the given document handle node (documentHandleNode
).boolean
DocumentManager.publishDocument
(String documentLocation) Publishes the document at the given document handle path (documentLocation
).org.hippoecm.repository.api.Document
DocumentManager.translateDocument
(String sourceDocumentLocation, String language, String name) Translates a document at the document handle path (sourceDocumentLocation
) toname
inlanguage
.org.hippoecm.repository.api.Document
DocumentManager.translateFolder
(String sourceFolderLocation, String language, String name) Translates a folder at the folder path (sourceFolderLocation
) toname
inlanguage
.void
DocumentManager.updateEditableDocument
(org.hippoecm.repository.api.Document editableDocument, org.onehippo.forge.content.pojo.model.ContentNode sourceContentNode) Update editableDocument
instance (editableDocument
) by the content of the givensourceContentNode
. -
Uses of DocumentManagerException in org.onehippo.forge.content.exim.core.impl
Methods in org.onehippo.forge.content.exim.core.impl that throw DocumentManagerExceptionModifier and TypeMethodDescriptionorg.hippoecm.repository.api.Document
WorkflowDocumentManagerImpl.commitEditableDocument
(String documentLocation) Commits the draft variant which is currently being edited.protected org.hippoecm.repository.api.Document
WorkflowDocumentManagerImpl.commitEditableDocument
(Node documentHandleNode) Commits the draft variant which is currently being edited.org.hippoecm.repository.api.Document
WorkflowDocumentManagerImpl.commitEditableDocument
(org.hippoecm.repository.api.Document editableDocument) Commits the draft variant which is currently being edited.WorkflowDocumentManagerImpl.copyDocument
(String sourceDocumentLocation, String targetFolderLocation, String targetDocumentNodeName) Copies a document at the source document handle path (sourceDocumentLocation
) to the target folder path (targetFolderLocation
) with the given document node name (targetDocumentName
).protected Node
DefaultBinaryImportTask.createBinaryHandleAndVariantNode
(String primaryTypeName, Node folderNode, String name) Creates a binary handle and variant node and returns the binary handle node.WorkflowDocumentManagerImpl.createDocument
(String folderLocation, String primaryTypeName, String nodeName, String locale, String localizedName) Creates a document in the specificfolderLocation
.protected String
WorkflowDocumentVariantImportTask.createDocument
(String primaryTypeName, String documentLocation, String locale, String localizedName) Create a document at the document handle node path (documentLocation
) and returns the created document handle node path.protected String
WorkflowDocumentVariantImportTask.createDocumentFromVariantContentNode
(String primaryTypeName, String documentLocation, String locale, String localizedName) Deprecated.renamed to #createDocumentvoid
WorkflowDocumentManagerImpl.deleteDocument
(String documentLocation) Deletes a document at at the given document handle path (documentLocation
).boolean
WorkflowDocumentManagerImpl.depublishDocument
(String documentLocation) Takes offline the document at the given document handle path (documentLocation
).org.hippoecm.repository.api.Document
WorkflowDocumentManagerImpl.disposeEditableDocument
(String documentLocation) Discards the draft variant which is currently being edited.protected org.hippoecm.repository.api.Document
WorkflowDocumentManagerImpl.disposeEditableDocument
(Node documentHandleNode) Discards the draft variant which is currently being edited.org.hippoecm.repository.api.Document
WorkflowDocumentManagerImpl.disposeEditableDocument
(org.hippoecm.repository.api.Document editableDocument) Discards the draft variant which is currently being edited.boolean
WorkflowDocumentManagerImpl.documentExists
(String documentLocation) boolean
WorkflowDocumentManagerImpl.folderExists
(String folderLocation) WorkflowDocumentManagerImpl.getExistingDocumentPath
(String documentLocation) WorkflowDocumentManagerImpl.getExistingFolderPath
(String folderLocation) org.hippoecm.repository.api.Document
WorkflowDocumentManagerImpl.obtainEditableDocument
(String documentLocation) Obtains an editable draft variantDocument
under the given document handle path (documentLocation
).org.hippoecm.repository.api.Document
WorkflowDocumentManagerImpl.obtainEditableDocument
(Node documentHandleNode) Obtains an editable draft variantDocument
of the given document handle node (documentHandleNode
).boolean
WorkflowDocumentManagerImpl.publishDocument
(String documentLocation) Publishes the document at the given document handle path (documentLocation
).org.hippoecm.repository.api.Document
WorkflowDocumentManagerImpl.translateDocument
(String sourceDocumentLocation, String targetLanguage, String targetDocumentNodeName) Translates a document at the document handle path (sourceDocumentLocation
) toname
inlanguage
.org.hippoecm.repository.api.Document
WorkflowDocumentManagerImpl.translateFolder
(String sourceFolderLocation, String targetLanguage, String targetFolderNodeName) Translates a folder at the folder path (sourceFolderLocation
) toname
inlanguage
.protected void
DefaultBinaryImportTask.updateBinaryHandleAndVariantNodeFromBinaryVariantContentNode
(Node binaryHandleNode, org.onehippo.forge.content.pojo.model.ContentNode contentNode) Update binary handle and variant node from theContentNode
data containing the binary variant content data.protected String
WorkflowDocumentVariantImportTask.updateDocument
(String documentLocation, org.onehippo.forge.content.pojo.model.ContentNode contentNode) Update the document located under the document handle node path (documentLocation
) and returns the document handle node path where the content was updated.protected Node
WorkflowDocumentVariantImportTask.updateDocument
(Node documentHandleNode, org.onehippo.forge.content.pojo.model.ContentNode contentNode) Update the document handle node (documentHandleNode
) and returns the document handle node where the content was updated.protected String
WorkflowDocumentVariantImportTask.updateDocumentFromVariantContentNode
(String documentLocation, org.onehippo.forge.content.pojo.model.ContentNode contentNode) Deprecated.renamed to #updateDocumentvoid
WorkflowDocumentManagerImpl.updateEditableDocument
(org.hippoecm.repository.api.Document editableDocument, org.onehippo.forge.content.pojo.model.ContentNode sourceContentNode) Update editableDocument
instance (editableDocument
) by the content of the givensourceContentNode
.