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(java.lang.String id)
           
 void deleteForm(java.lang.String formId)
           
 void deleteThesaurus(java.lang.String thesaurusId)
           
 void deleteXmlStream(java.lang.String streamId)
           
 java.util.List<Form> findForms(java.lang.String query)
           
 java.util.List<Form> 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)
           
 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()
           
 Client getClient(java.lang.String clientId)
           
 Client getClientByUserId(java.lang.String userId)
           
 java.util.Map<Form,java.util.List<Client>> getClientsByForms()
           
 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.Map<Client,java.util.List<Form>> getFormsByClients()
           
 java.lang.String getFormsFromXmlStream(XmlStream xmlStream, java.lang.String lastItemRecorded)
           
 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.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)
           
 org.sharengo.wikitty.BusinessEntity updateEntity(org.sharengo.wikitty.BusinessEntity entity)
           
 Form updateForm(Form form)
           
 org.sharengo.wikitty.WikittyExtension updateFormType(java.lang.String name, java.util.Map<java.lang.String,org.sharengo.wikitty.FieldType> fields, java.lang.String requires)
           
 org.sharengo.wikitty.WikittyExtension updateFormType(org.sharengo.wikitty.WikittyExtension ext)
           
 org.sharengo.wikitty.TreeNode updateThesaurus(org.sharengo.wikitty.TreeNode thesaurus)
           
 java.util.List<XmlFieldBinding> updateXmlFieldBindings(java.util.List<XmlFieldBinding> bindings)
           
 XmlStream updateXmlStream(XmlStream stream)
           
 

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(java.lang.String id)
                  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

updateXmlStream

XmlStream updateXmlStream(XmlStream stream)
                          throws TechnicalException
Throws:
TechnicalException

updateXmlFieldBindings

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

updateThesaurus

org.sharengo.wikitty.TreeNode updateThesaurus(org.sharengo.wikitty.TreeNode thesaurus)
                                              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)
                                                     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

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

java.util.List<Form> 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)
                               throws TechnicalException
Throws:
TechnicalException

findForms

java.util.List<Form> findForms(java.lang.String query)
                               throws TechnicalException
Throws:
TechnicalException

deleteXmlStream

void deleteXmlStream(java.lang.String streamId)
                     throws TechnicalException
Throws:
TechnicalException

deleteThesaurus

void deleteThesaurus(java.lang.String thesaurusId)
                     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.Map<Client,java.util.List<Form>> getFormsByClients()
                                                             throws TechnicalException
Throws:
TechnicalException

getClientsByForms

java.util.Map<Form,java.util.List<Client>> getClientsByForms()
                                                             throws TechnicalException
Throws:
TechnicalException

getFormsFromXmlStream

java.lang.String getFormsFromXmlStream(XmlStream xmlStream,
                                       java.lang.String lastItemRecorded)
                                       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


Copyright © 2009 JurisMarches. All Rights Reserved.