|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface WebdavRepository
| Method Summary | |
|---|---|
void |
createAttachmentNode(javax.jcr.Session session,
SimpleDocument attachment)
Create a new node for the specified attachment so that the file may be accessed through webdav. |
void |
deleteAttachmentContentNode(javax.jcr.Session session,
SimpleDocument attachment,
String language)
Delete the node associated to the specified language content attachment. |
void |
deleteAttachmentNode(javax.jcr.Session session,
SimpleDocument attachment)
Delete the node associated to the specified attachment. |
String |
getContentEditionLanguage(javax.jcr.Session session,
SimpleDocument attachment)
Gets the current content edition language of the specified attachment. |
long |
getContentEditionSize(javax.jcr.Session session,
SimpleDocument attachment)
Gets the current content edition size of the specified attachment. |
boolean |
isNodeLocked(javax.jcr.Session session,
SimpleDocument attachment)
Indicate if the node for the specified attachment is currently locked (for example by Office in the case of a webdav online edition). |
void |
moveNodeAttachment(javax.jcr.Session session,
SimpleDocument attachment,
String targetComponentInstanceId)
Move the specified attachment to the specified component instance id. |
void |
updateAttachmentBinaryContent(javax.jcr.Session session,
SimpleDocument attachment)
Update the file content of the specified attachment without modifying its metadata. |
void |
updateNodeAttachment(javax.jcr.Session session,
SimpleDocument attachment)
Update the node using the SimpleDocument. |
| Method Detail |
|---|
void createAttachmentNode(javax.jcr.Session session,
SimpleDocument attachment)
throws javax.jcr.RepositoryException,
IOException
session - the JCR session.attachment - the attachment.
javax.jcr.RepositoryException
IOException
void deleteAttachmentNode(javax.jcr.Session session,
SimpleDocument attachment)
throws javax.jcr.RepositoryException
deleteAttachmentContentNode(Session, SimpleDocument, String) method.
session - the JCR session.attachment - the attachment.
javax.jcr.RepositoryException
void deleteAttachmentContentNode(javax.jcr.Session session,
SimpleDocument attachment,
String language)
throws javax.jcr.RepositoryException
session - the JCR session.attachment - the attachment.language - the aimed language content to delete.
javax.jcr.RepositoryException
void updateAttachmentBinaryContent(javax.jcr.Session session,
SimpleDocument attachment)
throws javax.jcr.RepositoryException,
IOException
session - the JCR session.attachment - the attachment for which the file content will be updated with the ralated
webdav content.
javax.jcr.RepositoryException
IOException
void updateNodeAttachment(javax.jcr.Session session,
SimpleDocument attachment)
throws javax.jcr.RepositoryException,
IOException
SimpleDocument. For an attachment,
it can exist in webdav one, and only one, content language of the attachment.
session - the JCR session.attachment - the attachment.
javax.jcr.RepositoryException
IOException
void moveNodeAttachment(javax.jcr.Session session,
SimpleDocument attachment,
String targetComponentInstanceId)
throws javax.jcr.RepositoryException,
IOException
session - the JCR session.attachment - the attachment to move to another component instance identifier.targetComponentInstanceId - the identifier of the target component instance.
javax.jcr.RepositoryException
IOException
boolean isNodeLocked(javax.jcr.Session session,
SimpleDocument attachment)
throws javax.jcr.RepositoryException
session - the JCR session.attachment - the attachment.
javax.jcr.RepositoryException
String getContentEditionLanguage(javax.jcr.Session session,
SimpleDocument attachment)
throws javax.jcr.RepositoryException
session - the JCR session.attachment - the attachment.
javax.jcr.RepositoryException
long getContentEditionSize(javax.jcr.Session session,
SimpleDocument attachment)
throws javax.jcr.RepositoryException
session - the JCR session.attachment - the attachment.
javax.jcr.RepositoryException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||