com.jurismarches.vradi.services
Interface VradiStorageService

All Known Implementing Classes:
VradiStorageServiceImpl

public interface VradiStorageService


Method Summary
 void bindFormsToClients()
           
 void changeDataDir(java.lang.String newDataDir, java.lang.String oldDataDir)
           
 void deleteEntity(org.sharengo.wikitty.BusinessEntity entity)
           
 void deleteForm(java.lang.String formId)
           
 java.lang.String exportData()
           
 void findForms(java.lang.String query, VradiFormPageDTO formPageDTO)
           
 void findForms(java.lang.String query, org.sharengo.wikitty.WikittyExtension extension, java.lang.String dateType, java.util.Date beginDate, java.util.Date endDate, java.util.List[] theasurus, VradiFormPageDTO formPageDTO)
           
 java.util.List<Client> getAllClients()
           
 java.util.List<Form> getAllForms()
           
 java.util.List<org.sharengo.wikitty.WikittyExtension> getAllFormTypes()
           
 java.util.List<Group> getAllGroups()
           
 java.util.List<org.sharengo.wikitty.TreeNode> getAllThesaurus()
           
 java.util.List<User> getAllUsers()
           
 java.util.List<XmlStream> getAllXmlStreams()
           
 java.util.List<org.sharengo.wikitty.TreeNode> getChildrenThesaurus(java.lang.String thesaurusId)
           
 Client getClient(java.lang.String clientId)
           
 Client getClientByUserId(java.lang.String userId)
           
 java.util.Map<Form,java.util.List<Client>> getClientsByForms(java.lang.String dateType, java.util.Date beginDate, java.util.Date endDate, org.sharengo.wikitty.WikittyExtension extension)
           
 java.util.List<User> getClientUsers(java.lang.String clientId)
           
 org.sharengo.wikitty.BusinessEntity getEntity(java.lang.String id, java.lang.Class clazz)
           
 Form getForm(java.lang.String formId)
           
 java.util.List<Form> getForms(java.util.List<java.lang.String> formIds)
           
 java.util.List<VradiSendingDTO> getFormsByClients(java.lang.String dateType, java.util.Date beginDate, java.util.Date endDate, org.sharengo.wikitty.WikittyExtension extension, java.lang.Boolean receptionProof, java.lang.Boolean paragraph, int status)
           
 java.lang.String getFormsFromXmlStream(XmlStream xmlStream, java.lang.String lastItemRecorded, VradiUser vradiUser)
           
 org.sharengo.wikitty.WikittyExtension getFormType(java.lang.String name)
           
 java.util.Map<java.lang.String,org.sharengo.wikitty.FieldType> getFormTypeFields(java.lang.String name)
           
 Group getGroup(java.lang.String groupId)
           
 java.util.List<Client> getGroupClients(java.lang.String groupId)
           
 java.util.List<Group> getGroupsByClientId(java.lang.String clientId)
           
 java.util.List<Group> getGroupsByUserId(java.lang.String userId)
           
 java.util.List<User> getGroupUsers(java.lang.String groupId)
           
 java.util.Map<org.sharengo.wikitty.TreeNode,java.lang.Integer> getNbFormsByThesaurus()
           
 int getNbFormsForThesaurus(java.lang.String thesaurusId)
           
 java.util.List<java.lang.String> getQueriesReturningForm(Form form)
           
 org.sharengo.wikitty.TreeNode getRootThesaurus()
           
 org.sharengo.wikitty.TreeNode getThesaurus(java.lang.String ThesaurusId)
           
 User getUser(java.lang.String userId)
           
 XmlFieldBinding getXmlFieldBinding(java.lang.String xmlFieldBindingId)
           
 java.util.List<XmlFieldBinding> getXmlFieldBindings(XmlStream xmlStream)
           
 XmlStream getXmlStream(java.lang.String xmlStreamId)
           
 void importData(java.io.File file)
           
 VradiUser logVradiUser(java.lang.String vradiUserName, java.lang.String vradiUserPassword)
           
 void reindexData()
           
 org.sharengo.wikitty.BusinessEntity updateEntity(org.sharengo.wikitty.BusinessEntity entity)
           
 Form updateForm(Form form)
           
 java.util.List<Form> updateForms(java.util.List<Form> forms)
           
 org.sharengo.wikitty.WikittyExtension updateFormType(java.lang.String name, java.util.Map<java.lang.String,org.sharengo.wikitty.FieldType> fields, java.lang.String requires, java.util.Map<java.lang.String,java.lang.String> tagValues)
           
 org.sharengo.wikitty.WikittyExtension updateFormType(org.sharengo.wikitty.WikittyExtension ext)
           
 void updateSendings(java.util.List<Sending> sendings)
           
 VradiUser updateVradiUser(VradiUser vradiUser)
           
 java.util.List<XmlFieldBinding> updateXmlFieldBindings(java.util.List<XmlFieldBinding> bindings)
           
 

Method Detail

getEntity

org.sharengo.wikitty.BusinessEntity getEntity(java.lang.String id,
                                              java.lang.Class clazz)
                                              throws TechnicalException
Throws:
TechnicalException

updateEntity

org.sharengo.wikitty.BusinessEntity updateEntity(org.sharengo.wikitty.BusinessEntity entity)
                                                 throws TechnicalException
Throws:
TechnicalException

deleteEntity

void deleteEntity(org.sharengo.wikitty.BusinessEntity entity)
                  throws TechnicalException
Throws:
TechnicalException

getClient

Client getClient(java.lang.String clientId)
                 throws TechnicalException
Throws:
TechnicalException

getUser

User getUser(java.lang.String userId)
             throws TechnicalException
Throws:
TechnicalException

getGroup

Group getGroup(java.lang.String groupId)
               throws TechnicalException
Throws:
TechnicalException

getGroupUsers

java.util.List<User> getGroupUsers(java.lang.String groupId)
                                   throws TechnicalException
Throws:
TechnicalException

getClientUsers

java.util.List<User> getClientUsers(java.lang.String clientId)
                                    throws TechnicalException
Throws:
TechnicalException

getGroupClients

java.util.List<Client> getGroupClients(java.lang.String groupId)
                                       throws TechnicalException
Throws:
TechnicalException

getClientByUserId

Client getClientByUserId(java.lang.String userId)
                         throws TechnicalException
Throws:
TechnicalException

getGroupsByUserId

java.util.List<Group> getGroupsByUserId(java.lang.String userId)
                                        throws TechnicalException
Throws:
TechnicalException

getGroupsByClientId

java.util.List<Group> getGroupsByClientId(java.lang.String clientId)
                                          throws TechnicalException
Throws:
TechnicalException

getAllClients

java.util.List<Client> getAllClients()
                                     throws TechnicalException
Throws:
TechnicalException

getAllGroups

java.util.List<Group> getAllGroups()
                                   throws TechnicalException
Throws:
TechnicalException

updateXmlFieldBindings

java.util.List<XmlFieldBinding> updateXmlFieldBindings(java.util.List<XmlFieldBinding> bindings)
                                                       throws TechnicalException
Throws:
TechnicalException

updateFormType

org.sharengo.wikitty.WikittyExtension updateFormType(org.sharengo.wikitty.WikittyExtension ext)
                                                     throws TechnicalException
Throws:
TechnicalException

updateFormType

org.sharengo.wikitty.WikittyExtension updateFormType(java.lang.String name,
                                                     java.util.Map<java.lang.String,org.sharengo.wikitty.FieldType> fields,
                                                     java.lang.String requires,
                                                     java.util.Map<java.lang.String,java.lang.String> tagValues)
                                                     throws TechnicalException
Throws:
TechnicalException

updateForm

Form updateForm(Form form)
                throws TechnicalException
Throws:
TechnicalException

getXmlStream

XmlStream getXmlStream(java.lang.String xmlStreamId)
                       throws TechnicalException
Throws:
TechnicalException

getXmlFieldBindings

java.util.List<XmlFieldBinding> getXmlFieldBindings(XmlStream xmlStream)
                                                    throws TechnicalException
Throws:
TechnicalException

getXmlFieldBinding

XmlFieldBinding getXmlFieldBinding(java.lang.String xmlFieldBindingId)
                                   throws TechnicalException
Throws:
TechnicalException

getThesaurus

org.sharengo.wikitty.TreeNode getThesaurus(java.lang.String ThesaurusId)
                                           throws TechnicalException
Throws:
TechnicalException

getRootThesaurus

org.sharengo.wikitty.TreeNode getRootThesaurus()
                                               throws TechnicalException
Throws:
TechnicalException

getChildrenThesaurus

java.util.List<org.sharengo.wikitty.TreeNode> getChildrenThesaurus(java.lang.String thesaurusId)
                                                                   throws TechnicalException
Throws:
TechnicalException

getFormTypeFields

java.util.Map<java.lang.String,org.sharengo.wikitty.FieldType> getFormTypeFields(java.lang.String name)
                                                                                 throws TechnicalException
Throws:
TechnicalException

getFormType

org.sharengo.wikitty.WikittyExtension getFormType(java.lang.String name)
                                                  throws TechnicalException
Throws:
TechnicalException

getForm

Form getForm(java.lang.String formId)
             throws TechnicalException
Throws:
TechnicalException

getAllXmlStreams

java.util.List<XmlStream> getAllXmlStreams()
                                           throws TechnicalException
Throws:
TechnicalException

getAllThesaurus

java.util.List<org.sharengo.wikitty.TreeNode> getAllThesaurus()
                                                              throws TechnicalException
Throws:
TechnicalException

getAllFormTypes

java.util.List<org.sharengo.wikitty.WikittyExtension> getAllFormTypes()
                                                                      throws TechnicalException
Throws:
TechnicalException

getAllForms

java.util.List<Form> getAllForms()
                                 throws TechnicalException
Throws:
TechnicalException

findForms

void findForms(java.lang.String query,
               org.sharengo.wikitty.WikittyExtension extension,
               java.lang.String dateType,
               java.util.Date beginDate,
               java.util.Date endDate,
               java.util.List[] theasurus,
               VradiFormPageDTO formPageDTO)
               throws TechnicalException
Throws:
TechnicalException

findForms

void findForms(java.lang.String query,
               VradiFormPageDTO formPageDTO)
               throws TechnicalException
Throws:
TechnicalException

deleteForm

void deleteForm(java.lang.String formId)
                throws TechnicalException
Throws:
TechnicalException

bindFormsToClients

void bindFormsToClients()
                        throws TechnicalException
Throws:
TechnicalException

getFormsByClients

java.util.List<VradiSendingDTO> getFormsByClients(java.lang.String dateType,
                                                  java.util.Date beginDate,
                                                  java.util.Date endDate,
                                                  org.sharengo.wikitty.WikittyExtension extension,
                                                  java.lang.Boolean receptionProof,
                                                  java.lang.Boolean paragraph,
                                                  int status)
                                                  throws TechnicalException
Throws:
TechnicalException

getClientsByForms

java.util.Map<Form,java.util.List<Client>> getClientsByForms(java.lang.String dateType,
                                                             java.util.Date beginDate,
                                                             java.util.Date endDate,
                                                             org.sharengo.wikitty.WikittyExtension extension)
                                                             throws TechnicalException
Throws:
TechnicalException

getFormsFromXmlStream

java.lang.String getFormsFromXmlStream(XmlStream xmlStream,
                                       java.lang.String lastItemRecorded,
                                       VradiUser vradiUser)
                                       throws TechnicalException
Throws:
TechnicalException

changeDataDir

void changeDataDir(java.lang.String newDataDir,
                   java.lang.String oldDataDir)
                   throws TechnicalException
Throws:
TechnicalException

getAllUsers

java.util.List<User> getAllUsers()
                                 throws TechnicalException
Throws:
TechnicalException

getQueriesReturningForm

java.util.List<java.lang.String> getQueriesReturningForm(Form form)
                                                         throws TechnicalException
Throws:
TechnicalException

getForms

java.util.List<Form> getForms(java.util.List<java.lang.String> formIds)
                              throws TechnicalException
Throws:
TechnicalException

updateVradiUser

VradiUser updateVradiUser(VradiUser vradiUser)
                          throws TechnicalException
Throws:
TechnicalException

logVradiUser

VradiUser logVradiUser(java.lang.String vradiUserName,
                       java.lang.String vradiUserPassword)
                       throws TechnicalException
Throws:
TechnicalException

updateSendings

void updateSendings(java.util.List<Sending> sendings)
                    throws TechnicalException
Throws:
TechnicalException

importData

void importData(java.io.File file)
                throws TechnicalException
Throws:
TechnicalException

exportData

java.lang.String exportData()
                            throws TechnicalException
Throws:
TechnicalException

updateForms

java.util.List<Form> updateForms(java.util.List<Form> forms)
                                 throws TechnicalException
Throws:
TechnicalException

reindexData

void reindexData()
                 throws TechnicalException
Throws:
TechnicalException

getNbFormsByThesaurus

java.util.Map<org.sharengo.wikitty.TreeNode,java.lang.Integer> getNbFormsByThesaurus()
                                                                                     throws TechnicalException
Throws:
TechnicalException

getNbFormsForThesaurus

int getNbFormsForThesaurus(java.lang.String thesaurusId)
                           throws TechnicalException
Throws:
TechnicalException


Copyright © 2009-2010 JurisMarches. All Rights Reserved.