Uses of Class
org.silverpeas.core.contribution.attachment.model.SimpleDocument
-
-
Uses of SimpleDocument in org.silverpeas.core.cmis.model
Methods in org.silverpeas.core.cmis.model with parameters of type SimpleDocument Modifier and Type Method Description DocumentFile
CmisObjectFactory. createDocument(SimpleDocument document, ContributionIdentifier parentId)
Creates a CMIS representation of the specified localized document attached to the specified contribution. -
Uses of SimpleDocument in org.silverpeas.core.contribution.attachment
Methods in org.silverpeas.core.contribution.attachment that return SimpleDocument Modifier and Type Method Description SimpleDocument
AttachmentService. createAttachment(SimpleDocument document, File content)
Create file attached to an object who is identified by the foreignId.SimpleDocument
AttachmentService. createAttachment(SimpleDocument document, File content, boolean indexIt)
Create file attached to an object who is identified by the foreignId.SimpleDocument
AttachmentService. createAttachment(SimpleDocument document, File content, boolean indexIt, boolean invokeCallback)
Create file attached to an object who is identified by the foreignId.SimpleDocument
AttachmentService. createAttachment(SimpleDocument document, InputStream content)
Create file attached to an object who is identified by the foreignId.SimpleDocument
AttachmentService. createAttachment(SimpleDocument document, InputStream content, boolean indexIt)
Create file attached to an object who is identified by the foreignId.SimpleDocument
AttachmentService. createAttachment(SimpleDocument document, InputStream content, boolean indexIt, boolean invokeCallback)
Create file attached to an object who is identified by the foreignId.SimpleDocument
SimpleDocumentService. createAttachment(SimpleDocument document, File content)
SimpleDocument
SimpleDocumentService. createAttachment(SimpleDocument document, File content, boolean indexIt)
SimpleDocument
SimpleDocumentService. createAttachment(SimpleDocument document, File content, boolean indexIt, boolean notify)
SimpleDocument
SimpleDocumentService. createAttachment(SimpleDocument document, InputStream content)
Create file attached to an object who is identified by the foreignId.SimpleDocument
SimpleDocumentService. createAttachment(SimpleDocument document, InputStream content, boolean indexIt)
Create file attached to an object who is identified by the foreignId.SimpleDocument
SimpleDocumentService. createAttachment(SimpleDocument document, InputStream content, boolean indexIt, boolean notify)
Create file attached to an object who is identified by the foreignId.SimpleDocument
AttachmentService. findExistingDocument(SimpleDocumentPK pk, String fileName, ResourceReference foreign, String lang)
Find documents with the same name attached to the specified foreign id.SimpleDocument
SimpleDocumentService. findExistingDocument(SimpleDocumentPK pk, String fileName, ResourceReference foreign, String lang)
SimpleDocument
AttachmentService. searchDocumentById(SimpleDocumentPK primaryKey, String lang)
Search the document.SimpleDocument
SimpleDocumentService. searchDocumentById(SimpleDocumentPK primaryKey, String lang)
Methods in org.silverpeas.core.contribution.attachment that return types with arguments of type SimpleDocument Modifier and Type Method Description SimpleDocumentList<SimpleDocument>
AttachmentService. listAllDocumentsByForeignKey(ResourceReference foreignKey, String lang)
Search all documents (files, xmlform content, wysiwyg) attached to a foreign object.SimpleDocumentList<SimpleDocument>
SimpleDocumentService. listAllDocumentsByForeignKey(ResourceReference foreignKey, String lang)
SimpleDocumentList<SimpleDocument>
AttachmentService. listDocumentsByForeignKey(ResourceReference foreignKey, String lang)
Search all files attached to a foreign object.SimpleDocumentList<SimpleDocument>
SimpleDocumentService. listDocumentsByForeignKey(ResourceReference foreignKey, String lang)
SimpleDocumentList<SimpleDocument>
AttachmentService. listDocumentsByForeignKeyAndType(ResourceReference foreignKey, DocumentType type, String lang)
Search all file attached to a foreign object.SimpleDocumentList<SimpleDocument>
SimpleDocumentService. listDocumentsByForeignKeyAndType(ResourceReference foreignKey, DocumentType type, String lang)
List<SimpleDocument>
AttachmentService. listDocumentsLockedByUser(String usedId, String language)
Search all the documents locked by a specific user.List<SimpleDocument>
SimpleDocumentService. listDocumentsLockedByUser(String usedId, String language)
List<SimpleDocument>
AttachmentService. listDocumentsRequiringWarning(Date alertDate, String language)
Search all the documents in an instance which are locked at the alert date.List<SimpleDocument>
SimpleDocumentService. listDocumentsRequiringWarning(Date alertDate, String language)
List<SimpleDocument>
AttachmentService. listDocumentsToUnlock(Date expiryDate, String language)
Search all the documents in an instance requiring to be unlocked at the specified date.List<SimpleDocument>
SimpleDocumentService. listDocumentsToUnlock(Date expiryDate, String language)
List<SimpleDocument>
AttachmentService. listExpiringDocuments(Date alertDate, String language)
Search all the documents in an instance which require an alert at the specified date.List<SimpleDocument>
SimpleDocumentService. listExpiringDocuments(Date expiryDate, String language)
Methods in org.silverpeas.core.contribution.attachment with parameters of type SimpleDocument Modifier and Type Method Description SimpleDocumentPK
AttachmentService. cloneDocument(SimpleDocument original, String foreignCloneId)
Clone the document to a cloned container.SimpleDocumentPK
SimpleDocumentService. cloneDocument(SimpleDocument original, String foreignCloneId)
Clone the attachment.SimpleDocumentPK
AttachmentService. copyDocument(SimpleDocument original, ResourceReference targetPk)
Copies the attachment.SimpleDocumentPK
SimpleDocumentService. copyDocument(SimpleDocument original, ResourceReference targetPk)
Clone the attachment.SimpleDocument
AttachmentService. createAttachment(SimpleDocument document, File content)
Create file attached to an object who is identified by the foreignId.SimpleDocument
AttachmentService. createAttachment(SimpleDocument document, File content, boolean indexIt)
Create file attached to an object who is identified by the foreignId.SimpleDocument
AttachmentService. createAttachment(SimpleDocument document, File content, boolean indexIt, boolean invokeCallback)
Create file attached to an object who is identified by the foreignId.SimpleDocument
AttachmentService. createAttachment(SimpleDocument document, InputStream content)
Create file attached to an object who is identified by the foreignId.SimpleDocument
AttachmentService. createAttachment(SimpleDocument document, InputStream content, boolean indexIt)
Create file attached to an object who is identified by the foreignId.SimpleDocument
AttachmentService. createAttachment(SimpleDocument document, InputStream content, boolean indexIt, boolean invokeCallback)
Create file attached to an object who is identified by the foreignId.SimpleDocument
SimpleDocumentService. createAttachment(SimpleDocument document, File content)
SimpleDocument
SimpleDocumentService. createAttachment(SimpleDocument document, File content, boolean indexIt)
SimpleDocument
SimpleDocumentService. createAttachment(SimpleDocument document, File content, boolean indexIt, boolean notify)
SimpleDocument
SimpleDocumentService. createAttachment(SimpleDocument document, InputStream content)
Create file attached to an object who is identified by the foreignId.SimpleDocument
SimpleDocumentService. createAttachment(SimpleDocument document, InputStream content, boolean indexIt)
Create file attached to an object who is identified by the foreignId.SimpleDocument
SimpleDocumentService. createAttachment(SimpleDocument document, InputStream content, boolean indexIt, boolean notify)
Create file attached to an object who is identified by the foreignId.void
AttachmentService. createIndex(SimpleDocument document)
void
AttachmentService. createIndex(SimpleDocument document, Date startOfVisibilityPeriod, Date endOfVisibilityPeriod)
void
SimpleDocumentService. createIndex(SimpleDocument document)
void
SimpleDocumentService. createIndex(SimpleDocument document, Date startOfVisibility, Date endOfVisibility)
void
AttachmentService. deleteAttachment(SimpleDocument document)
Delete a given attachment.void
AttachmentService. deleteAttachment(SimpleDocument document, boolean invokeCallback)
Delete a given attachment.void
SimpleDocumentService. deleteAttachment(SimpleDocument document)
Delete a given attachment.void
SimpleDocumentService. deleteAttachment(SimpleDocument document, boolean notify)
Delete a given attachment.void
AttachmentService. deleteIndex(SimpleDocument document)
void
SimpleDocumentService. deleteIndex(SimpleDocument document)
SimpleDocumentPK
AttachmentService. moveDocument(SimpleDocument document, ResourceReference destination)
Moves the attachment.SimpleDocumentPK
SimpleDocumentService. moveDocument(SimpleDocument document, ResourceReference destination)
void
ActifyDocumentProcessor. process(SimpleDocument document)
Processes the specified CAD document by placing it in the location expected by Actify.void
AttachmentService. removeContent(SimpleDocument document, String lang, boolean invokeCallback)
To remove the content of the document in the specified language.void
SimpleDocumentService. removeContent(SimpleDocument document, String lang, boolean notify)
void
AttachmentService. updateAttachment(SimpleDocument document, boolean indexIt, boolean invokeCallback)
To update the document : status, metadata but not its content.void
AttachmentService. updateAttachment(SimpleDocument document, File content, boolean indexIt, boolean invokeCallback)
To update a document content by updating or adding some content.void
AttachmentService. updateAttachment(SimpleDocument document, InputStream content, boolean indexIt, boolean invokeCallback)
To update a document content by updating or adding some content.void
SimpleDocumentService. updateAttachment(SimpleDocument document, boolean indexIt, boolean notify)
void
SimpleDocumentService. updateAttachment(SimpleDocument document, File content, boolean indexIt, boolean notify)
void
SimpleDocumentService. updateAttachment(SimpleDocument document, InputStream in, boolean indexIt, boolean notify)
Method parameters in org.silverpeas.core.contribution.attachment with type arguments of type SimpleDocument Modifier and Type Method Description void
AttachmentService. reorderDocuments(List<SimpleDocument> documents)
Reorder the attachments according to the order in the list.void
SimpleDocumentService. reorderDocuments(List<SimpleDocument> documents)
Reorder the attachments according to the order in the list. -
Uses of SimpleDocument in org.silverpeas.core.contribution.attachment.model
Subclasses of SimpleDocument in org.silverpeas.core.contribution.attachment.model Modifier and Type Class Description class
HistorisedDocument
This class represents a document that is versioned.class
HistorisedDocumentVersion
This class permits to get an historised document behaviour not from the master version but from a frozen version of the document.class
SimpleDocumentVersion
This class represents one version in the history of a versioned simple document.Methods in org.silverpeas.core.contribution.attachment.model that return SimpleDocument Modifier and Type Method Description SimpleDocument
RemoteContentDescriptor. getDocument()
Gets the document the remote content descriptor is linked to.SimpleDocument
HistorisedDocument. getLastPublicVersion()
Returns the more recent public version of this document - null if none exists.SimpleDocument
SimpleDocument. getLastPublicVersion()
Returns the more recent public version of this document - null if none exists.SimpleDocument
SimpleDocumentVersion. getLastPublicVersion()
SimpleDocument
Document. getTranslation(String language)
SimpleDocument
SimpleDocument. getTranslation(String language)
SimpleDocument
SimpleDocument. getVersionMaster()
Returns the master of versioned document.Methods in org.silverpeas.core.contribution.attachment.model that return types with arguments of type SimpleDocument Modifier and Type Method Description List<SimpleDocument>
Document. getAllTranslations()
Gets all the translations available for this document.List<SimpleDocument>
HistorisedDocument. getPublicVersions()
Methods in org.silverpeas.core.contribution.attachment.model with parameters of type SimpleDocument Modifier and Type Method Description void
SimpleDocument. setVersionMaster(SimpleDocument versionMaster)
void
SimpleDocumentVersion. setVersionMaster(SimpleDocument versionMaster)
Constructors in org.silverpeas.core.contribution.attachment.model with parameters of type SimpleDocument Constructor Description Document(SimpleDocument master)
Constructs a new document from the specified document file to be used as the master of the document.HistorisedDocument(SimpleDocument doc)
RemoteContentDescriptor(SimpleDocument document)
SimpleDocument(SimpleDocument simpleDocument)
SimpleDocumentMailAttachedFile(SimpleDocument document)
SimpleDocumentVersion(SimpleDocument documentVersion, HistorisedDocument masterVersion)
The default constructor of a simple document version. -
Uses of SimpleDocument in org.silverpeas.core.contribution.attachment.notification
Methods in org.silverpeas.core.contribution.attachment.notification with parameters of type SimpleDocument Modifier and Type Method Description protected AttachmentEvent
AttachmentEventNotifier. createResourceEventFrom(ResourceEvent.Type type, SimpleDocument... resource)
Constructors in org.silverpeas.core.contribution.attachment.notification with parameters of type SimpleDocument Constructor Description AttachmentEvent(ResourceEvent.Type type, SimpleDocument... document)
AttachmentRef(SimpleDocument document)
Constructs a new attachment reference referring the specified document. -
Uses of SimpleDocument in org.silverpeas.core.contribution.attachment.permalinks
Methods in org.silverpeas.core.contribution.attachment.permalinks that return SimpleDocument Modifier and Type Method Description SimpleDocument
PermalinkCompatibilityService. findDocumentVersionByOldId(int oldId)
SimpleDocument
PermalinkCompatibilityServiceImpl. findDocumentVersionByOldId(int oldId)
SimpleDocument
PermalinkCompatibilityService. findVersionnedDocumentByOldId(int oldId)
SimpleDocument
PermalinkCompatibilityServiceImpl. findVersionnedDocumentByOldId(int oldId)
-
Uses of SimpleDocument in org.silverpeas.core.contribution.attachment.process
Constructors in org.silverpeas.core.contribution.attachment.process with parameters of type SimpleDocument Constructor Description SimpleDocumentDummyHandledFile(SimpleDocument document)
SimpleDocumentDummyHandledFile(SimpleDocument document, boolean deleted)
SimpleDocumentDummyHandledFile(SimpleDocument document, ResourceReference target)
SimpleDocumentSimulationElement(SimpleDocument element)
Default constructor. -
Uses of SimpleDocument in org.silverpeas.core.contribution.attachment.repository
Methods in org.silverpeas.core.contribution.attachment.repository that return SimpleDocument Modifier and Type Method Description SimpleDocument
DocumentRepository. findDocumentById(javax.jcr.Session session, SimpleDocumentPK documentPk, String lang)
SimpleDocument
DocumentRepository. findDocumentByOldSilverpeasId(javax.jcr.Session session, String instanceId, long oldSilverpeasId, boolean versioned, String lang)
SimpleDocument
DocumentRepository. unlock(javax.jcr.Session session, SimpleDocument document, boolean restore)
Unlock a document if it is versionned to create a new version or to restore a previous one.SimpleDocument
DocumentRepository. unlockFromContentDeletion(javax.jcr.Session session, SimpleDocument document)
Unlock a document if it is versionned from a context into which a language content has just been deleted.Methods in org.silverpeas.core.contribution.attachment.repository that return types with arguments of type SimpleDocument Modifier and Type Method Description List<SimpleDocument>
DocumentRepository. listAllDocumentsByComponentId(javax.jcr.Session session, String instanceId, String language)
Search all the documents related to the component instance identified by the specified identifier.SimpleDocumentList<SimpleDocument>
DocumentRepository. listAllDocumentsByForeignId(javax.jcr.Session session, String instanceId, String foreignId, String language)
Search all the documents of any type in an instance with the specified foreignId.List<SimpleDocument>
DocumentRepository. listComponentDocumentsByOwner(javax.jcr.Session session, String instanceId, String owner, String language)
Search all the documents in an instance with the specified owner.List<SimpleDocument>
DocumentRepository. listDocumentsByComponentIdAndType(javax.jcr.Session session, String instanceId, DocumentType type, String language)
Search all the documents in an instance with the specified type.SimpleDocumentList<SimpleDocument>
DocumentRepository. listDocumentsByForeignId(javax.jcr.Session session, String instanceId, String foreignId, String language)
Search all the documents of type attachment in an instance with the specified foreignId.SimpleDocumentList<SimpleDocument>
DocumentRepository. listDocumentsByForeignIdAndType(javax.jcr.Session session, String instanceId, String foreignId, DocumentType type, String language)
Search all the documents in an instance with the specified foreignId.List<SimpleDocument>
DocumentRepository. listDocumentsLockedByUser(javax.jcr.Session session, String usedId, String language)
List<SimpleDocument>
DocumentRepository. listDocumentsRequiringWarning(javax.jcr.Session session, Date alertDate, String language)
Search all the documents in an instance which are locked at the alert date.List<SimpleDocument>
DocumentRepository. listDocumentsToUnlock(javax.jcr.Session session, Date expiryDate, String language)
Search all the documents in an instance requiring to be unlocked at the specified date.List<SimpleDocument>
DocumentRepository. listExpiringDocuments(javax.jcr.Session session, Date expiryDate, String language)
Search all the documents in an instance which are expiring at the specified date.Methods in org.silverpeas.core.contribution.attachment.repository with parameters of type SimpleDocument Modifier and Type Method Description SimpleDocumentPK
DocumentRepository. copyDocument(javax.jcr.Session session, SimpleDocument document, ResourceReference destination)
Copy the document to another attached object.void
DocumentRepository. copyFullContent(SimpleDocument origin, SimpleDocument copy)
void
DocumentRepository. copyMultilangContent(SimpleDocument origin, SimpleDocument copy)
SimpleDocumentPK
DocumentRepository. createDocument(javax.jcr.Session session, SimpleDocument document)
Create file attached to an object who is identified by "PK" SimpleDocument object contains an attribute who identifie the link by a foreign key.void
DocumentRepository. duplicateContent(SimpleDocument origin, SimpleDocument document)
void
DocumentRepository. fillNodeName(javax.jcr.Session session, SimpleDocument document)
boolean
DocumentRepository. lock(javax.jcr.Session session, SimpleDocument document, String owner)
Lock a document if it is versionned to create a new work in progress version.void
DocumentRepository. mergeAttachment(javax.jcr.Session session, SimpleDocument attachment, SimpleDocument clone)
SimpleDocumentPK
DocumentRepository. moveDocument(javax.jcr.Session session, SimpleDocument document, ResourceReference destination)
Move the document to another attached object.void
DocumentRepository. moveFullContent(SimpleDocument origin, SimpleDocument copy)
void
DocumentRepository. moveMultilangContent(SimpleDocument origin, SimpleDocument copy)
void
DocumentRepository. saveDisplayableAsContent(javax.jcr.Session session, SimpleDocument document)
Save the optional slv:displayableAsContent simple document property (MIXIN).void
DocumentRepository. saveEditableSimultaneously(javax.jcr.Session session, SimpleDocument document)
Save the optional slv:editableSimultaneously simple document property (MIXIN).void
DocumentRepository. saveForbiddenDownloadForRoles(javax.jcr.Session session, SimpleDocument document)
Save the optional slv:forbiddenDownloadForRoles simple document property (MIXIN).void
DocumentRepository. setClone(javax.jcr.Session session, SimpleDocument original, SimpleDocument clone)
Add the document's clone id to the document even if it is locked.void
DocumentRepository. setOrder(javax.jcr.Session session, SimpleDocument document)
Update the document order.long
DocumentRepository. storeContent(SimpleDocument document, InputStream in)
long
DocumentRepository. storeContent(SimpleDocument document, InputStream in, boolean update)
SimpleDocument
DocumentRepository. unlock(javax.jcr.Session session, SimpleDocument document, boolean restore)
Unlock a document if it is versionned to create a new version or to restore a previous one.SimpleDocument
DocumentRepository. unlockFromContentDeletion(javax.jcr.Session session, SimpleDocument document)
Unlock a document if it is versionned from a context into which a language content has just been deleted.void
DocumentRepository. updateDocument(javax.jcr.Session session, SimpleDocument document, boolean updateLastModifiedData)
Create file attached to an object who is identified by "PK" SimpleDocument object contains an attribute who identifie the link by a foreign key.Method parameters in org.silverpeas.core.contribution.attachment.repository with type arguments of type SimpleDocument Modifier and Type Method Description static void
HistoryDocumentSorter. sortHistory(List<SimpleDocument> docs)
Constructors in org.silverpeas.core.contribution.attachment.repository with parameters of type SimpleDocument Constructor Description DocumentVersion(SimpleDocument document)
-
Uses of SimpleDocument in org.silverpeas.core.contribution.attachment.util
Classes in org.silverpeas.core.contribution.attachment.util with type parameters of type SimpleDocument Modifier and Type Class Description class
SimpleDocumentList<T extends SimpleDocument>
This list provides some additional useful behaviors around simple documents.Methods in org.silverpeas.core.contribution.attachment.util with parameters of type SimpleDocument Modifier and Type Method Description URI
SharingContext. getSharedUriOf(SimpleDocument attachment)
Gets the shared URI of the given attachments according to the sharing context. -
Uses of SimpleDocument in org.silverpeas.core.contribution.attachment.webdav
Methods in org.silverpeas.core.contribution.attachment.webdav with parameters of type SimpleDocument Modifier and Type Method Description void
WebdavRepository. 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
WebdavRepository. deleteAttachmentContentNode(javax.jcr.Session session, SimpleDocument attachment, String language)
Delete the node associated to the specified language content attachment.void
WebdavRepository. deleteAttachmentNode(javax.jcr.Session session, SimpleDocument attachment)
Delete the node associated to the specified attachment.String
WebdavRepository. getContentEditionLanguage(javax.jcr.Session session, SimpleDocument attachment)
Gets the current content edition language of the specified attachment.String
WebdavService. getContentEditionLanguage(SimpleDocument document)
Gets the current content edition language of the specified attachment.long
WebdavRepository. getContentEditionSize(javax.jcr.Session session, SimpleDocument attachment)
Gets the current content edition size of the specified attachment.long
WebdavService. getContentEditionSize(SimpleDocument document)
Gets the current content edition size of the specified attachment.Optional<WebdavContentDescriptor>
WebdavRepository. getDescriptor(javax.jcr.Session session, SimpleDocument attachment)
Gets the current webdav descriptor of the specified attachment.Optional<WebdavContentDescriptor>
WebdavService. getDescriptor(SimpleDocument document)
Gets the current webdav descriptor of the specified attachment.boolean
WebdavRepository. 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
WebdavRepository. loadContentInto(javax.jcr.Session session, SimpleDocument document, OutputStream output)
Reads a document content from the WEBDAV repository and writes it into given output.void
WebdavService. loadContentInto(SimpleDocument document, OutputStream output)
Loads a document content from the WEBDAV repository and writes it into given output.void
WebdavRepository. moveNodeAttachment(javax.jcr.Session session, SimpleDocument attachment, String targetComponentInstanceId)
Move the specified attachment to the specified component instance id.void
WebdavRepository. updateAttachmentBinaryContent(javax.jcr.Session session, SimpleDocument attachment)
Update the file content of the specified attachment without modifying its metadata.void
WebdavRepository. updateContentFrom(javax.jcr.Session session, SimpleDocument document, InputStream input)
Updates a document content into the WEBDAV repository.void
WebdavService. updateContentFrom(SimpleDocument document, InputStream input)
Updates a document content into the WEBDAV repository.void
WebdavService. updateDocumentContent(SimpleDocument document)
Update the document content language with the data from the associated webdav node.void
WebdavRepository. updateNodeAttachment(javax.jcr.Session session, SimpleDocument attachment)
Update the node using theSimpleDocument
.Constructors in org.silverpeas.core.contribution.attachment.webdav with parameters of type SimpleDocument Constructor Description WebdavWbeFile(SimpleDocument document)
-
Uses of SimpleDocument in org.silverpeas.core.contribution.attachment.webdav.impl
Methods in org.silverpeas.core.contribution.attachment.webdav.impl with parameters of type SimpleDocument Modifier and Type Method Description protected javax.jcr.Node
WebdavDocumentRepository. addFile(javax.jcr.Node folder, SimpleDocument attachment)
Add a file node into the repositoryvoid
WebdavDocumentRepository. createAttachmentNode(javax.jcr.Session session, SimpleDocument attachment)
void
WebdavDocumentRepository. deleteAttachmentContentNode(javax.jcr.Session session, SimpleDocument attachment, String language)
void
WebdavDocumentRepository. deleteAttachmentNode(javax.jcr.Session session, SimpleDocument attachment)
String
WebdavDocumentRepository. getContentEditionLanguage(javax.jcr.Session session, SimpleDocument attachment)
String
WebDavDocumentService. getContentEditionLanguage(SimpleDocument document)
long
WebdavDocumentRepository. getContentEditionSize(javax.jcr.Session session, SimpleDocument attachment)
long
WebDavDocumentService. getContentEditionSize(SimpleDocument document)
Optional<WebdavContentDescriptor>
WebdavDocumentRepository. getDescriptor(javax.jcr.Session session, SimpleDocument attachment)
Optional<WebdavContentDescriptor>
WebDavDocumentService. getDescriptor(SimpleDocument document)
protected javax.jcr.Node
WebdavDocumentRepository. getDocumentContentLanguageNode(javax.jcr.Session session, SimpleDocument attachment, String language)
Gets the webdav document content language node from the specified attachment.protected javax.jcr.Node
WebdavDocumentRepository. getDocumentIdentifierNode(javax.jcr.Session session, SimpleDocument attachment)
Gets the webdav document identifier node from the specified attachment.boolean
WebdavDocumentRepository. isNodeLocked(javax.jcr.Session session, SimpleDocument attachment)
void
WebdavDocumentRepository. loadContentInto(javax.jcr.Session session, SimpleDocument document, OutputStream output)
void
WebDavDocumentService. loadContentInto(SimpleDocument document, OutputStream output)
void
WebdavDocumentRepository. moveNodeAttachment(javax.jcr.Session session, SimpleDocument attachment, String targetComponentInstanceId)
void
WebdavDocumentRepository. updateAttachmentBinaryContent(javax.jcr.Session session, SimpleDocument attachment)
void
WebdavDocumentRepository. updateContentFrom(javax.jcr.Session session, SimpleDocument document, InputStream input)
void
WebDavDocumentService. updateContentFrom(SimpleDocument document, InputStream input)
void
WebDavDocumentService. updateDocumentContent(SimpleDocument document)
void
WebdavDocumentRepository. updateNodeAttachment(javax.jcr.Session session, SimpleDocument attachment)
-
Uses of SimpleDocument in org.silverpeas.core.contribution.content.form.displayers
Methods in org.silverpeas.core.contribution.content.form.displayers that return SimpleDocument Modifier and Type Method Description protected SimpleDocument
AbstractFileFieldDisplayer. createSimpleDocument(String objectId, String componentId, org.apache.commons.fileupload.FileItem item, String fileName, String userId, boolean versionned)
-
Uses of SimpleDocument in org.silverpeas.core.contribution.content.wysiwyg.service
Methods in org.silverpeas.core.contribution.content.wysiwyg.service that return types with arguments of type SimpleDocument Modifier and Type Method Description static List<SimpleDocument>
WysiwygController. getImages(String id, String componentId)
Turn over all the images attached according to the parameters id, componentId.List<SimpleDocument>
WysiwygManager. getImages(String id, String componentId)
Turn over all the images attached according to the parameters id, componentId. -
Uses of SimpleDocument in org.silverpeas.core.contribution.content.wysiwyg.service.process
Method parameters in org.silverpeas.core.contribution.content.wysiwyg.service.process with type arguments of type SimpleDocument Modifier and Type Method Description MailContentProcess.MailResult
MailContentProcess.MailResult. addAttachments(Collection<SimpleDocument> attachments)
Adds attachments of contribution aimed by given identifier. -
Uses of SimpleDocument in org.silverpeas.core.importexport.attachment
Constructors in org.silverpeas.core.importexport.attachment with parameters of type SimpleDocument Constructor Description AttachmentDetail(SimpleDocument document, String physicalName)
-
Uses of SimpleDocument in org.silverpeas.core.importexport.control
Methods in org.silverpeas.core.importexport.control that return SimpleDocument Modifier and Type Method Description static SimpleDocument
RepositoriesTypeManager. handleFileToAttach(RepositoriesTypeManager.AttachmentDescriptor descriptor)
Handles the creation or modification of an attached file on the aimed resource. -
Uses of SimpleDocument in org.silverpeas.core.importexport.versioning
Methods in org.silverpeas.core.importexport.versioning that return types with arguments of type SimpleDocument Modifier and Type Method Description List<SimpleDocument>
VersioningImport. importDocuments(ResourceReference objectPK, List<Document> documents, int userId, boolean indexIt)
-
Uses of SimpleDocument in org.silverpeas.core.security.authorization
Methods in org.silverpeas.core.security.authorization with parameters of type SimpleDocument Modifier and Type Method Description boolean
SimpleDocumentAccessController. isUserAuthorized(String userId, SimpleDocument object, AccessControlContext context)
-
Uses of SimpleDocument in org.silverpeas.core.sharing.model
Methods in org.silverpeas.core.sharing.model that return types with arguments of type SimpleDocument Modifier and Type Method Description ShareableResource<SimpleDocument>
SimpleFileTicket. getResource()
Methods in org.silverpeas.core.sharing.model with parameters of type SimpleDocument Modifier and Type Method Description protected boolean
SimpleFileAccessControl. isReadable(SimpleFileTicket ticket, SimpleDocument document)
-
Uses of SimpleDocument in org.silverpeas.core.sharing.security
Constructors in org.silverpeas.core.sharing.security with parameters of type SimpleDocument Constructor Description ShareableAttachment(String token, SimpleDocument accessedObject)
-
Uses of SimpleDocument in org.silverpeas.core.viewer.service
Methods in org.silverpeas.core.viewer.service with parameters of type SimpleDocument Modifier and Type Method Description static ViewerContext
ViewerContext. from(SimpleDocument document)
Initializes a context from an instance ofSimpleDocument
. -
Uses of SimpleDocument in org.silverpeas.core.web.attachment.tag
Methods in org.silverpeas.core.web.attachment.tag with parameters of type SimpleDocument Modifier and Type Method Description void
SimpleDocumentContextualMenu. setAttachment(SimpleDocument attachment)
-
Uses of SimpleDocument in org.silverpeas.core.web.rs
Methods in org.silverpeas.core.web.rs with parameters of type SimpleDocument Modifier and Type Method Description void
UserPrivilegeValidation. validateUserAuthorizationOnAttachment(javax.servlet.http.HttpServletRequest request, User user, SimpleDocument doc)
Validates the authorization of the specified user to access the specified attachment.void
UserPrivilegeValidator. validateUserAuthorizationOnAttachment(javax.servlet.http.HttpServletRequest request, User user, SimpleDocument doc)
Validates the authorization of the specified user to access the specified attachment. -
Uses of SimpleDocument in org.silverpeas.core.webapi.attachment
Methods in org.silverpeas.core.webapi.attachment with parameters of type SimpleDocument Modifier and Type Method Description static AttachmentEntity
AttachmentEntity. fromAttachment(SimpleDocument detail)
static SimpleDocumentEntity
SimpleDocumentEntity. fromAttachment(SimpleDocument document)
protected abstract boolean
AbstractAttachmentResource. isFileReadable(SimpleDocument attachment)
protected boolean
AttachmentResource. isFileReadable(SimpleDocument attachment)
protected boolean
SharedAttachmentResource. isFileReadable(SimpleDocument attachment)
-
Uses of SimpleDocument in org.silverpeas.core.webapi.publication
Method parameters in org.silverpeas.core.webapi.publication with type arguments of type SimpleDocument Modifier and Type Method Description PublicationEntity
PublicationEntity. withAttachments(Collection<SimpleDocument> attachmentDetails)
-
Uses of SimpleDocument in org.silverpeas.web.attachment
Methods in org.silverpeas.web.attachment that return SimpleDocument Modifier and Type Method Description SimpleDocument
VersioningSessionController. getDocument(SimpleDocumentPK documentPK)
-
Uses of SimpleDocument in org.silverpeas.web.servlets
Methods in org.silverpeas.web.servlets with parameters of type SimpleDocument Modifier and Type Method Description String
GoToDocument. redirectToFile(SimpleDocument version, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
-