Uses of Class
org.silverpeas.attachment.model.SimpleDocumentPK

Packages that use SimpleDocumentPK
org.silverpeas.attachment   
org.silverpeas.attachment.mock   
org.silverpeas.attachment.model   
org.silverpeas.attachment.repository   
org.silverpeas.attachment.web   
 

Uses of SimpleDocumentPK in org.silverpeas.attachment
 

Methods in org.silverpeas.attachment that return SimpleDocumentPK
 SimpleDocumentPK SimpleDocumentService.changeVersionState(SimpleDocumentPK pk, String comment)
           
 SimpleDocumentPK AttachmentService.changeVersionState(SimpleDocumentPK pk, String comment)
          Change the management of versions of the document.
 SimpleDocumentPK SimpleDocumentService.cloneDocument(SimpleDocument original, String foreignCloneId)
          Clone the attachment.
 SimpleDocumentPK AttachmentService.cloneDocument(SimpleDocument original, String foreignCloneId)
          Clone the document to a cloned container.
 SimpleDocumentPK SimpleDocumentService.copyDocument(SimpleDocument original, ForeignPK targetPk)
          Clone the attachment.
 SimpleDocumentPK AttachmentService.copyDocument(SimpleDocument original, ForeignPK targetPk)
          Copies the attachment.
 SimpleDocumentPK SimpleDocumentService.moveDocument(SimpleDocument document, ForeignPK destination)
           
 SimpleDocumentPK AttachmentService.moveDocument(SimpleDocument document, ForeignPK destination)
          Moves the attachment.
 

Methods in org.silverpeas.attachment that return types with arguments of type SimpleDocumentPK
 List<SimpleDocumentPK> SimpleDocumentService.copyAllDocuments(WAPrimaryKey resourceSourcePk, WAPrimaryKey targetDestinationPk)
           
 List<SimpleDocumentPK> AttachmentService.copyAllDocuments(WAPrimaryKey resourceSourcePk, WAPrimaryKey targetDestinationPk)
          Copies all the attachment linked to a resource to another one.
 List<SimpleDocumentPK> SimpleDocumentService.moveAllDocuments(WAPrimaryKey resourceSourcePk, WAPrimaryKey targetDestinationPk)
           
 List<SimpleDocumentPK> AttachmentService.moveAllDocuments(WAPrimaryKey resourceSourcePk, WAPrimaryKey targetDestinationPk)
           
 

Methods in org.silverpeas.attachment with parameters of type SimpleDocumentPK
 void SimpleDocumentService.addXmlForm(SimpleDocumentPK pk, String language, String xmlFormName)
           
 void AttachmentService.addXmlForm(SimpleDocumentPK pk, String language, String xmlFormName)
           
 SimpleDocumentPK SimpleDocumentService.changeVersionState(SimpleDocumentPK pk, String comment)
           
 SimpleDocumentPK AttachmentService.changeVersionState(SimpleDocumentPK pk, String comment)
          Change the management of versions of the document.
 SimpleDocument SimpleDocumentService.findExistingDocument(SimpleDocumentPK pk, String fileName, ForeignPK foreign, String lang)
           
 SimpleDocument AttachmentService.findExistingDocument(SimpleDocumentPK pk, String fileName, ForeignPK foreign, String lang)
          Find documents with the same name attached to the specified foreign id.
 void SimpleDocumentService.getBinaryContent(File file, SimpleDocumentPK pk, String lang)
           
 void AttachmentService.getBinaryContent(File file, SimpleDocumentPK pk, String lang)
          Writes the binary content into the specified File.
 void SimpleDocumentService.getBinaryContent(OutputStream output, SimpleDocumentPK pk, String lang)
           
 void AttachmentService.getBinaryContent(OutputStream output, SimpleDocumentPK pk, String lang)
          Writes the binary content into the specified OutputStream.
 void SimpleDocumentService.getBinaryContent(OutputStream output, SimpleDocumentPK pk, String lang, long contentOffset, long contentLength)
           
 void AttachmentService.getBinaryContent(OutputStream output, SimpleDocumentPK pk, String lang, long contentOffset, long contentLength)
          Writes the binary content contained between begin and end indexes into the specified OutputStream.
 SimpleDocument SimpleDocumentService.searchDocumentById(SimpleDocumentPK primaryKey, String lang)
           
 SimpleDocument AttachmentService.searchDocumentById(SimpleDocumentPK primaryKey, String lang)
          Search the document.
 void SimpleDocumentService.switchAllowingDownloadForReaders(SimpleDocumentPK pk, boolean allowing)
           
 void AttachmentService.switchAllowingDownloadForReaders(SimpleDocumentPK pk, boolean allowing)
          Allows or forbids the download for readers.
 

Method parameters in org.silverpeas.attachment with type arguments of type SimpleDocumentPK
 void SimpleDocumentService.reorderAttachments(List<SimpleDocumentPK> pks)
          Reorder the attachments according to the order in the list.
 void AttachmentService.reorderAttachments(List<SimpleDocumentPK> pks)
          Reorder the attachments according to the order in the list.
 

Uses of SimpleDocumentPK in org.silverpeas.attachment.mock
 

Methods in org.silverpeas.attachment.mock that return SimpleDocumentPK
 SimpleDocumentPK SimpleDocumentServiceWrapper.changeVersionState(SimpleDocumentPK pk, String comment)
           
 SimpleDocumentPK SimpleDocumentServiceWrapper.cloneDocument(SimpleDocument original, String foreignCloneId)
           
 SimpleDocumentPK SimpleDocumentServiceWrapper.copyDocument(SimpleDocument original, ForeignPK targetPk)
           
 SimpleDocumentPK SimpleDocumentServiceWrapper.moveDocument(SimpleDocument document, ForeignPK destination)
           
 

Methods in org.silverpeas.attachment.mock that return types with arguments of type SimpleDocumentPK
 List<SimpleDocumentPK> SimpleDocumentServiceWrapper.copyAllDocuments(WAPrimaryKey resourceSourcePk, WAPrimaryKey targetDestinationPk)
           
 List<SimpleDocumentPK> SimpleDocumentServiceWrapper.moveAllDocuments(WAPrimaryKey resourceSourcePk, WAPrimaryKey targetDestinationPk)
           
 

Methods in org.silverpeas.attachment.mock with parameters of type SimpleDocumentPK
 void SimpleDocumentServiceWrapper.addXmlForm(SimpleDocumentPK pk, String language, String xmlFormName)
           
 SimpleDocumentPK SimpleDocumentServiceWrapper.changeVersionState(SimpleDocumentPK pk, String comment)
           
 SimpleDocument SimpleDocumentServiceWrapper.findExistingDocument(SimpleDocumentPK pk, String fileName, ForeignPK foreign, String lang)
           
 void SimpleDocumentServiceWrapper.getBinaryContent(File file, SimpleDocumentPK pk, String lang)
           
 void SimpleDocumentServiceWrapper.getBinaryContent(OutputStream output, SimpleDocumentPK pk, String lang)
           
 void SimpleDocumentServiceWrapper.getBinaryContent(OutputStream output, SimpleDocumentPK pk, String lang, long contentOffset, long contentLength)
           
 SimpleDocument SimpleDocumentServiceWrapper.searchDocumentById(SimpleDocumentPK primaryKey, String lang)
           
 void SimpleDocumentServiceWrapper.switchAllowingDownloadForReaders(SimpleDocumentPK pk, boolean allowing)
           
 

Method parameters in org.silverpeas.attachment.mock with type arguments of type SimpleDocumentPK
 void SimpleDocumentServiceWrapper.reorderAttachments(List<SimpleDocumentPK> pks)
           
 

Uses of SimpleDocumentPK in org.silverpeas.attachment.model
 

Methods in org.silverpeas.attachment.model that return SimpleDocumentPK
 SimpleDocumentPK SimpleDocumentPK.clone()
           
 SimpleDocumentPK SimpleDocument.getPk()
           
 SimpleDocumentPK SimpleDocumentVersion.getRealVersionPk()
          Gets the real value of the PK of the version and not the one of the head version.
 SimpleDocumentPK SimpleDocumentPK.setOldSilverpeasId(long oldSilverpeasId)
           
 

Methods in org.silverpeas.attachment.model with parameters of type SimpleDocumentPK
 void SimpleDocument.setPK(SimpleDocumentPK pk)
           
 

Constructors in org.silverpeas.attachment.model with parameters of type SimpleDocumentPK
HistorisedDocument(SimpleDocumentPK pk, String foreignId, int order, SimpleAttachment file)
           
HistorisedDocument(SimpleDocumentPK pk, String foreignId, int order, String owner, SimpleAttachment file)
           
SimpleDocument(SimpleDocumentPK pk, String foreignId, int order, boolean versioned, Date reservation, Date alert, Date expiry, String comment, SimpleAttachment attachment)
           
SimpleDocument(SimpleDocumentPK pk, String foreignId, int order, boolean versioned, SimpleAttachment attachment)
           
SimpleDocument(SimpleDocumentPK pk, String foreignId, int order, boolean versioned, String editedBy, Date reservation, Date alert, Date expiry, String comment, SimpleAttachment attachment)
           
SimpleDocument(SimpleDocumentPK pk, String foreignId, int order, boolean versioned, String editedBy, SimpleAttachment attachment)
           
 

Uses of SimpleDocumentPK in org.silverpeas.attachment.repository
 

Methods in org.silverpeas.attachment.repository that return SimpleDocumentPK
 SimpleDocumentPK DocumentRepository.changeVersionState(javax.jcr.Session session, SimpleDocumentPK documentPk, String comment)
          Change the management of versions of the document if the document is checkouted.
 SimpleDocumentPK DocumentRepository.copyDocument(javax.jcr.Session session, HistorisedDocument document, WAPrimaryKey destination)
          Copy the document to another attached object.
 SimpleDocumentPK DocumentRepository.copyDocument(javax.jcr.Session session, SimpleDocument document, WAPrimaryKey destination)
          Copy the document to another attached object.
 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.
 SimpleDocumentPK DocumentRepository.moveDocument(javax.jcr.Session session, SimpleDocument document, WAPrimaryKey destination)
          Move the document to another attached object.
 

Methods in org.silverpeas.attachment.repository with parameters of type SimpleDocumentPK
 void DocumentRepository.addContent(javax.jcr.Session session, SimpleDocumentPK documentPk, SimpleAttachment attachment)
          Add the content.
 SimpleDocumentPK DocumentRepository.changeVersionState(javax.jcr.Session session, SimpleDocumentPK documentPk, String comment)
          Change the management of versions of the document if the document is checkouted.
 void DocumentRepository.deleteDocument(javax.jcr.Session session, SimpleDocumentPK documentPk)
          Delete a file attached to an object who is identified by "PK" SimpleDocument object contains an attribute who identifie the link by a foreign key.
 SimpleDocument DocumentRepository.findDocumentById(javax.jcr.Session session, SimpleDocumentPK documentPk, String lang)
           
 InputStream DocumentRepository.getContent(javax.jcr.Session session, SimpleDocumentPK pk, String lang)
          Get the content.
 boolean DocumentRepository.removeContent(javax.jcr.Session session, SimpleDocumentPK documentPk, String language)
          Remove the content for the specified language.
 void DocumentRepository.removeVersionnable(javax.jcr.Session session, SimpleDocumentPK documentPk)
          Remove the version feature to an existing document.
 void DocumentRepository.setVersionnable(javax.jcr.Session session, SimpleDocumentPK documentPk)
          Add the version feature to an existing document.
 

Uses of SimpleDocumentPK in org.silverpeas.attachment.web
 

Methods in org.silverpeas.attachment.web with parameters of type SimpleDocumentPK
 SimpleDocument VersioningSessionController.getDocument(SimpleDocumentPK documentPK)
          to get document from DB
 List<SimpleDocument> VersioningSessionController.getDocumentVersions(SimpleDocumentPK documentPK)
          To get all versions of document.
 List<SimpleDocument> VersioningSessionController.getPublicDocumentVersions(SimpleDocumentPK documentPK)
          To get only public versions of document (according to the content language).
 



Copyright © 2016 Silverpeas. All Rights Reserved.