gr.uoa.di.madgik.environment.cms
Interface IContentManagementSystemProvider

All Known Implementing Classes:
ContentManagementSystemProvider

public interface IContentManagementSystemProvider


Method Summary
 void AddAlternative(String collectionId, String documentId, DocumentAlternative alternative, EnvHintCollection Hints)
           
 String AddDocument(Document document, EnvHintCollection Hints)
           
 void AddMetadata(String collectionId, String documentId, DocumentMetadata metadata, EnvHintCollection Hints)
           
 void AddPart(String collectionId, String documentId, DocumentPart part, EnvHintCollection Hints)
           
 String CreateCollection(Collection col, EnvHintCollection Hints)
           
 void DeleteAlternative(String collectionId, String documentId, DocumentAlternative alternative, EnvHintCollection Hints)
           
 void DeleteCollection(String collectionId, EnvHintCollection Hints)
           
 void DeleteDocument(String collectionId, String documentId, EnvHintCollection Hints)
           
 void DeleteMetadata(String collectionId, String documentId, DocumentMetadata metadata, EnvHintCollection Hints)
           
 List<Collection> FindCollectionById(String id, EnvHintCollection Hints)
           
 List<Collection> FindCollectionByName(String name, EnvHintCollection Hints)
           
 List<Collection> GetCollections(EnvHintCollection Hints)
           
 Document GetDocument(String collectionId, String documentId, EnvHintCollection Hints)
           
 List<DocumentMetadata> GetDocumentMetadata(String collectionId, String documentId, String schemaName, String schemaUri, String language, EnvHintCollection Hints)
           
 List<Document> GetDocuments(String collectionId, EnvHintCollection Hints)
           
 List<Document> GetDocumentsWithProperties(String collectionId, HashMap<String,String> properties, EnvHintCollection Hints)
           
 Document GetMainDocument(String collectionId, String documentId, EnvHintCollection Hints)
           
 List<DocumentMetadata> GetMetadataDocuments(String collectionId, EnvHintCollection Hints)
           
 Document NewDocument()
           
 DocumentAlternative NewDocumentAlternative()
           
 DocumentAnnotation NewDocumentAnnotation()
           
 DocumentMetadata NewDocumentMetadata()
           
 DocumentPart NewDocumentPart()
           
 InputStream ResolveContent(String locator)
           
 void SessionInit(EnvHintCollection Hints)
           
 void updateDocumentContent(Document document, EnvHintCollection Hints)
           
 

Method Detail

SessionInit

void SessionInit(EnvHintCollection Hints)
                 throws EnvironmentContentManagementSystemException
Throws:
EnvironmentContentManagementSystemException

GetCollections

List<Collection> GetCollections(EnvHintCollection Hints)
                                throws EnvironmentContentManagementSystemException
Throws:
EnvironmentContentManagementSystemException

FindCollectionByName

List<Collection> FindCollectionByName(String name,
                                      EnvHintCollection Hints)
                                      throws EnvironmentContentManagementSystemException
Throws:
EnvironmentContentManagementSystemException

FindCollectionById

List<Collection> FindCollectionById(String id,
                                    EnvHintCollection Hints)
                                    throws EnvironmentContentManagementSystemException
Throws:
EnvironmentContentManagementSystemException

CreateCollection

String CreateCollection(Collection col,
                        EnvHintCollection Hints)
                        throws EnvironmentContentManagementSystemException
Throws:
EnvironmentContentManagementSystemException

DeleteCollection

void DeleteCollection(String collectionId,
                      EnvHintCollection Hints)
                      throws EnvironmentContentManagementSystemException
Throws:
EnvironmentContentManagementSystemException

GetDocuments

List<Document> GetDocuments(String collectionId,
                            EnvHintCollection Hints)
                            throws EnvironmentContentManagementSystemException
Throws:
EnvironmentContentManagementSystemException

GetMetadataDocuments

List<DocumentMetadata> GetMetadataDocuments(String collectionId,
                                            EnvHintCollection Hints)
                                            throws EnvironmentContentManagementSystemException
Throws:
EnvironmentContentManagementSystemException

GetDocument

Document GetDocument(String collectionId,
                     String documentId,
                     EnvHintCollection Hints)
                     throws EnvironmentContentManagementSystemException
Throws:
EnvironmentContentManagementSystemException

GetMainDocument

Document GetMainDocument(String collectionId,
                         String documentId,
                         EnvHintCollection Hints)
                         throws EnvironmentContentManagementSystemException
Throws:
EnvironmentContentManagementSystemException

GetDocumentMetadata

List<DocumentMetadata> GetDocumentMetadata(String collectionId,
                                           String documentId,
                                           String schemaName,
                                           String schemaUri,
                                           String language,
                                           EnvHintCollection Hints)
                                           throws EnvironmentContentManagementSystemException
Throws:
EnvironmentContentManagementSystemException

AddDocument

String AddDocument(Document document,
                   EnvHintCollection Hints)
                   throws EnvironmentContentManagementSystemException
Throws:
EnvironmentContentManagementSystemException

DeleteDocument

void DeleteDocument(String collectionId,
                    String documentId,
                    EnvHintCollection Hints)
                    throws EnvironmentContentManagementSystemException
Throws:
EnvironmentContentManagementSystemException

AddAlternative

void AddAlternative(String collectionId,
                    String documentId,
                    DocumentAlternative alternative,
                    EnvHintCollection Hints)
                    throws EnvironmentContentManagementSystemException
Throws:
EnvironmentContentManagementSystemException

DeleteAlternative

void DeleteAlternative(String collectionId,
                       String documentId,
                       DocumentAlternative alternative,
                       EnvHintCollection Hints)
                       throws EnvironmentContentManagementSystemException
Throws:
EnvironmentContentManagementSystemException

AddMetadata

void AddMetadata(String collectionId,
                 String documentId,
                 DocumentMetadata metadata,
                 EnvHintCollection Hints)
                 throws EnvironmentContentManagementSystemException
Throws:
EnvironmentContentManagementSystemException

DeleteMetadata

void DeleteMetadata(String collectionId,
                    String documentId,
                    DocumentMetadata metadata,
                    EnvHintCollection Hints)
                    throws EnvironmentContentManagementSystemException
Throws:
EnvironmentContentManagementSystemException

AddPart

void AddPart(String collectionId,
             String documentId,
             DocumentPart part,
             EnvHintCollection Hints)
             throws EnvironmentContentManagementSystemException
Throws:
EnvironmentContentManagementSystemException

ResolveContent

InputStream ResolveContent(String locator)
                           throws EnvironmentContentManagementSystemException
Throws:
EnvironmentContentManagementSystemException

NewDocument

Document NewDocument()
                     throws EnvironmentContentManagementSystemException
Throws:
EnvironmentContentManagementSystemException

NewDocumentMetadata

DocumentMetadata NewDocumentMetadata()
                                     throws EnvironmentContentManagementSystemException
Throws:
EnvironmentContentManagementSystemException

NewDocumentPart

DocumentPart NewDocumentPart()
                             throws EnvironmentContentManagementSystemException
Throws:
EnvironmentContentManagementSystemException

NewDocumentAlternative

DocumentAlternative NewDocumentAlternative()
                                           throws EnvironmentContentManagementSystemException
Throws:
EnvironmentContentManagementSystemException

NewDocumentAnnotation

DocumentAnnotation NewDocumentAnnotation()
                                         throws EnvironmentContentManagementSystemException
Throws:
EnvironmentContentManagementSystemException

GetDocumentsWithProperties

List<Document> GetDocumentsWithProperties(String collectionId,
                                          HashMap<String,String> properties,
                                          EnvHintCollection Hints)
                                          throws EnvironmentContentManagementSystemException
Throws:
EnvironmentContentManagementSystemException

updateDocumentContent

void updateDocumentContent(Document document,
                           EnvHintCollection Hints)
                           throws EnvironmentContentManagementSystemException
Throws:
EnvironmentContentManagementSystemException


Copyright © 2012. All Rights Reserved.