|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jurismarches.vradi.services.VradiStorageServiceImpl
public class VradiStorageServiceImpl
| Field Summary | |
|---|---|
protected BindingManager |
bindingManager
|
protected ClientManager |
clientManager
|
protected FormManager |
formManager
|
protected FormTypeManager |
formTypeManager
|
protected ImportExportManager |
importExportManager
|
protected org.sharengo.wikitty.WikittyProxy |
proxy
Proxy to store and retrieve data. |
protected SearchManager |
searchManager
|
protected ThesaurusManager |
thesaurusManager
|
| Constructor Summary | |
|---|---|
VradiStorageServiceImpl()
|
|
| Method Summary | ||
|---|---|---|
File |
addTemplate(org.sharengo.wikitty.WikittyExtension extension,
File template)
Associates a new template file to the specified extension |
|
void |
archiveQueries(QueryMaker queryMaker)
Archives the queries of a user, client or group in a RSS file. |
|
void |
autoLoadFormsFromXmlStreams(String intervalUnit,
int intervalValue,
Integer hour,
Integer minute)
Regularly retrieves the information from all the xml streams and create new forms |
|
void |
bindForms()
Binds all queryMaker with the forms found by their queries and not already sent. |
|
List<Sending> |
createSending(Session session,
QueryMaker queryMaker,
List<Form> formsToBind)
Create new Sending |
|
void |
deleteEntity(org.sharengo.wikitty.BusinessEntity entity)
Delete the specified BusinessEntity. |
|
void |
deleteEntity(String id)
Delete the specified BusinessEntity by id. |
|
void |
deleteForm(String formId)
Deletes a Form by the specified formId. |
|
void |
deleteStatus(String statusId)
Deletes a Status. |
|
void |
deleteStatuses(List<String> statusIds)
Deletes a list of Status. |
|
String |
exportAsCSV(org.sharengo.wikitty.Criteria criteria)
Get csv export. |
|
String |
exportData()
Export the datas into an XML format. |
|
VradiFormPageDTO |
findForms(String query,
VradiFormPageDTO formPageDTO)
Searches for forms with the specified query. |
|
VradiFormPageDTO |
findForms2(String query,
org.sharengo.wikitty.WikittyExtension extension,
String dateType,
Date beginDate,
Date endDate,
List<String>[] thesaurus,
String[] statusIds,
VradiFormPageDTO formPageDTO)
Searches for forms with the specified filters. |
|
Map<QueryMaker,List<VradiQueryBean>> |
findQueriesReturningForm(Form form)
Computes a list of queries returning the specified Form. |
|
List<Client> |
getAllClients()
Returns all the clients. |
|
List<Form> |
getAllForms()
Returns all Forms. |
|
List<org.sharengo.wikitty.WikittyExtension> |
getAllFormTypes()
Returns all Form Types. |
|
List<Group> |
getAllGroups()
Returns all the groups. |
|
List<Status> |
getAllStatuses()
Returns all Status. |
|
List<org.sharengo.wikitty.TreeNodeImpl> |
getAllThesaurus()
Returns all TreeNodeImpl considered as thesaurus nodes. |
|
List<VradiUserDTO> |
getAllUserDTOs()
Returns all the Users. |
|
List<User> |
getAllUsers()
Returns all the Users. |
|
List<XmlStream> |
getAllXmlStreams()
Returns all XmlStreams. |
|
Map<String,String> |
getAssociatedFields(String extensionName,
String templateName)
|
|
List<org.sharengo.wikitty.TreeNodeImpl> |
getChildrenThesaurus(String thesaurusId)
Returns all children of the specified thesaurusId. |
|
Client |
getClient(String clientId)
Returns a Client with the specified clientId. |
|
Client |
getClientByUserId(String userId)
Returns a Client whose specified userId belongs. |
|
List<User> |
getClientUsers(String clientId)
Deprecated. since 20100507 unused |
|
|
getEntities(List<String> ids,
Class<E> clazz)
Returns the BusinessEntity of the specified ids and clazz. |
|
|
getEntity(String id,
Class<E> clazz)
Returns a BusinessEntity of the specified id and clazz. |
|
Form |
getForm(String formId)
Returns a Form with the specified formId. |
|
List<Form> |
getForms(List<String> formIds)
Returns all the Forms with the specified list of formIds. |
|
int[] |
getFormsFromXmlStream(XmlStream xmlStream,
VradiUser vradiUser)
Creates and store forms from an XmlStream by using the XmlStreamBinding
to link xml stream field values with form fields. |
|
org.sharengo.wikitty.WikittyExtension |
getFormType(String name)
Returns a form type with the specified name. |
|
Map<String,org.sharengo.wikitty.FieldType> |
getFormTypeFields(String name)
Finds fields of a form type. |
|
Group |
getGroup(String groupId)
Returns a Group with the specified groupId. |
|
List<Client> |
getGroupClients(String groupId)
Returns a list of Clients belonging to the specified groupId. |
|
List<User> |
getGroupUsers(String groupId)
Returns a list of Users belonging to the specified groupId. |
|
int |
getNbFormsForThesaurus(String thesaurusId)
Computes the number of forms associated with the specified thesaurusId. |
|
Map<QueryMaker,List<VradiQueryBean>> |
getQueriesToModifyAfterThesaurusModification(String thesaurusName)
Gets the query makers whose queries are potentially to modify after a thesaurus node modification |
|
String |
getQueryHistoryFile(String id)
Return the last part of the query history file, eg. queryHistory/ff4bb261-d6b2-42b3-be24-ab14e95cb244.rss. |
|
org.sharengo.wikitty.TreeNodeImpl |
getRootThesaurus()
Returns the root Thesaurus Node. |
|
List<Session> |
getSessions(Date sessionDate)
Get all session by date |
|
Status |
getStatus(String statusId)
Returns a Status with the specified statusId. |
|
List<Status> |
getStatuses(List<String> statusIds)
Returns a list of Status with the specified
statusIds. |
|
File |
getTemplate(String extensionName,
String templateName)
|
|
File[] |
getTemplates(org.sharengo.wikitty.WikittyExtension extension)
Lists the template files associated with the specified extension |
|
org.sharengo.wikitty.TreeNodeImpl |
getThesaurus(String thesaurusId)
Returns a TreeNodeImpl with the specified thesaurusId. |
|
VradiCartographyDTO |
getThesaurusCartography(String query,
org.sharengo.wikitty.WikittyExtension extension,
String dateType,
Date beginDate,
Date endDate,
List<String>[] thesaurus,
String[] statusIds)
Computes the number of forms associated with every thesaurus node. |
|
User |
getUser(String userId)
Returns a User with the specified userId. |
|
XmlFieldBinding |
getXmlFieldBinding(String xmlFieldBindingId)
Returns a XmlFieldBinding with the specified xmlFieldBindingId. |
|
List<XmlFieldBinding> |
getXmlFieldBindings(XmlStream xmlStream)
Returns a list of XmlFieldBinding belonging to the specified xmlStream. |
|
XmlStream |
getXmlStream(String xmlStreamId)
Returns a XmlStream with the specified xmlStreamId. |
|
void |
importAsCSV(String uri)
Import all data as CSV. |
|
void |
importData(File file)
Import data from an XML file. |
|
VradiUser |
logVradiUser(String vradiUserName,
String vradiUserPassword)
Checks if userName and userPassword matches a valid VradiUser. |
|
List<org.sharengo.wikitty.TreeNodeImpl> |
proposeThesaurus(Form form,
List<org.sharengo.wikitty.TreeNodeImpl> thesaurus)
Propose thesaurus nodes that might be in relation with a specified form |
|
void |
reindexData()
Reindex the datas. |
|
List<Sending> |
removeAllSending(Session session,
Form form,
QueryMaker queryMaker)
|
|
void |
setAssociatedFields(String extensionName,
String templateName,
Map<String,String> fieldMap)
|
|
|
updateEntities(E... entities)
Updates the specified BusinessEntity. |
|
|
updateEntities(List<E> entities)
Updates the specified BusinessEntity. |
|
|
updateEntity(E entity)
Updates the specified BusinessEntity. |
|
Form |
updateForm(Form form)
Creates or Update the specified form. |
|
List<Form> |
updateForms(List<Form> forms)
Create or Update a list of Forms. |
|
org.sharengo.wikitty.WikittyExtension |
updateFormType(org.sharengo.wikitty.WikittyExtension extension)
Creates or Update a form type. |
|
org.sharengo.wikitty.WikittyExtension |
updateFormType2(String name,
Map<String,org.sharengo.wikitty.FieldType> fields,
String requires,
Map<String,String> tagValues)
Creates or Update a form type. |
|
void |
updateSendings(List<Sending> sendings)
Update a list of Sending. |
|
Status |
updateStatus(Status status)
Updates a Status. |
|
List<Status> |
updateStatuses(List<Status> statuses)
Updates a list of Status. |
|
VradiUser |
updateVradiUser(VradiUser vradiUser)
Updates a VradiUser. |
|
List<XmlFieldBinding> |
updateXmlFieldBindings(List<XmlFieldBinding> bindings)
Update a list of XmlFieldBinding. |
|
XmlStream |
updateXmlStream(XmlStream xmlStream,
List<XmlFieldBinding> bindings)
|
|
void |
uploadAttachments(Form form,
List<File> attachments)
Upload attachments attached to a form. |
|
void |
uploadFiles(Form form,
List<File> files)
Upload files attached to a form. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected org.sharengo.wikitty.WikittyProxy proxy
protected ThesaurusManager thesaurusManager
protected BindingManager bindingManager
protected FormManager formManager
protected FormTypeManager formTypeManager
protected ClientManager clientManager
protected SearchManager searchManager
protected ImportExportManager importExportManager
| Constructor Detail |
|---|
public VradiStorageServiceImpl()
| Method Detail |
|---|
public <E extends org.sharengo.wikitty.BusinessEntity> E getEntity(String id,
Class<E> clazz)
throws VradiException
VradiStorageServiceBusinessEntity of the specified id and clazz.
getEntity in interface VradiStorageServiceid - the id of the entityclazz - the class of the entity
BusinessEntity
VradiException
public <E extends org.sharengo.wikitty.BusinessEntity> List<E> getEntities(List<String> ids,
Class<E> clazz)
throws VradiException
VradiStorageServiceBusinessEntity of the specified ids and clazz.
getEntities in interface VradiStorageServiceids - the id of the entitiesclazz - the class of the entity
BusinessEntity
VradiException
public <E extends org.sharengo.wikitty.BusinessEntity> E updateEntity(E entity)
throws VradiException
VradiStorageServiceBusinessEntity.
updateEntity in interface VradiStorageServiceentity - the entity to update
VradiException
public <E extends org.sharengo.wikitty.BusinessEntity> E[] updateEntities(E... entities)
throws VradiException
VradiStorageServiceBusinessEntity.
updateEntities in interface VradiStorageServiceentities - list of the entity to update
VradiException
public <E extends org.sharengo.wikitty.BusinessEntity> List<E> updateEntities(List<E> entities)
throws VradiException
VradiStorageServiceBusinessEntity.
updateEntities in interface VradiStorageServiceentities - list of the entity to update
VradiException
public void deleteEntity(String id)
throws VradiException
VradiStorageServiceBusinessEntity by id.
deleteEntity in interface VradiStorageServiceid - of the entity the entity to delete
VradiException
public void deleteEntity(org.sharengo.wikitty.BusinessEntity entity)
throws VradiException
VradiStorageServiceBusinessEntity.
deleteEntity in interface VradiStorageServiceentity - the entity to delete
VradiException
public User getUser(String userId)
throws VradiException
VradiStorageServiceUser with the specified userId.
getUser in interface VradiStorageServiceuserId - the id of the user
User
VradiException
public Client getClient(String clientId)
throws VradiException
VradiStorageServiceClient with the specified clientId.
getClient in interface VradiStorageServiceclientId - the id of the client
Client
VradiException
public Group getGroup(String groupId)
throws VradiException
VradiStorageServiceGroup with the specified groupId.
getGroup in interface VradiStorageServicegroupId - the id of the group
Group
VradiExceptionpublic String getQueryHistoryFile(String id)
VradiStorageService
getQueryHistoryFile in interface VradiStorageServiceid - the id of the queryMaker
public List<User> getGroupUsers(String groupId)
throws VradiException
VradiStorageServiceUsers belonging to the specified groupId.
getGroupUsers in interface VradiStorageServicegroupId - the id of the group
Users
VradiException
@Deprecated
public List<User> getClientUsers(String clientId)
throws VradiException
VradiStorageServiceUsers belonging to the specified clientId.
getClientUsers in interface VradiStorageServiceclientId - the id of the client
Users
VradiException
public List<Client> getGroupClients(String groupId)
throws VradiException
VradiStorageServiceClients belonging to the specified groupId.
getGroupClients in interface VradiStorageServicegroupId - the id of the group
Clients
VradiException
public Client getClientByUserId(String userId)
throws VradiException
VradiStorageServiceClient whose specified userId belongs.
getClientByUserId in interface VradiStorageServiceuserId - the id of the user
Client
VradiException
public List<Client> getAllClients()
throws VradiException
VradiStorageService
getAllClients in interface VradiStorageServiceVradiException
public List<User> getAllUsers()
throws VradiException
VradiStorageServiceUsers.
getAllUsers in interface VradiStorageServiceUser
VradiException
public List<VradiUserDTO> getAllUserDTOs()
throws VradiException
VradiStorageServiceUsers.
getAllUserDTOs in interface VradiStorageServiceVradiUserDTO
VradiException
public List<Group> getAllGroups()
throws VradiException
VradiStorageService
getAllGroups in interface VradiStorageServiceVradiException
public Form updateForm(Form form)
throws VradiException
VradiStorageServiceform.
updateForm in interface VradiStorageServiceform - the form to create or update
Form
VradiException
public List<Form> updateForms(List<Form> forms)
throws VradiException
VradiStorageServiceForms.
updateForms in interface VradiStorageServiceforms - the list of forms to insert or update
Form
VradiException
public VradiFormPageDTO findForms(String query,
VradiFormPageDTO formPageDTO)
throws UnsupportedQueryException
VradiStorageService
findForms in interface VradiStorageServicequery - the query to filter the formsformPageDTO - ...
UnsupportedQueryException
public VradiFormPageDTO findForms2(String query,
org.sharengo.wikitty.WikittyExtension extension,
String dateType,
Date beginDate,
Date endDate,
List<String>[] thesaurus,
String[] statusIds,
VradiFormPageDTO formPageDTO)
throws UnsupportedQueryException
VradiStorageServicebeginDate and endDate specifies a
date range filter which is applied on dateType field.
The date range filter is applied only if the three parameters are not null.
findForms2 in interface VradiStorageServicequery - the query filterextension - the extension filterdateType - the date field. Must be fully qualified (extension.field)beginDate - the begin date filterendDate - the end date filterthesaurus - the thesaurus filterstatusIds - the ids of the status filtersformPageDTO - ...
UnsupportedQueryException
public VradiCartographyDTO getThesaurusCartography(String query,
org.sharengo.wikitty.WikittyExtension extension,
String dateType,
Date beginDate,
Date endDate,
List<String>[] thesaurus,
String[] statusIds)
throws VradiException,
UnsupportedQueryException
VradiStorageService
getThesaurusCartography in interface VradiStorageServicequery - the query filterextension - the extension filterdateType - the date field. Must be fully qualified (extension.field)beginDate - the begin date filterendDate - the end date filterthesaurus - the thesaurus filterstatusIds - the ids of the status filters
VradiCartographyDTO containing forms result and a map of form count indexed by thesaurus nodes
VradiException
UnsupportedQueryException
public Map<QueryMaker,List<VradiQueryBean>> findQueriesReturningForm(Form form)
throws VradiException
VradiStorageServiceForm.
findQueriesReturningForm in interface VradiStorageServiceform - the form which match queries
VradiExceptionpublic List<org.sharengo.wikitty.WikittyExtension> getAllFormTypes()
VradiStorageService
getAllFormTypes in interface VradiStorageServiceWikittyExtension
public org.sharengo.wikitty.WikittyExtension getFormType(String name)
throws VradiException
VradiStorageServicename.
getFormType in interface VradiStorageServicename - the name of the form type
WikittyExtension
VradiException
public Map<String,org.sharengo.wikitty.FieldType> getFormTypeFields(String name)
throws VradiException
VradiStorageService
getFormTypeFields in interface VradiStorageServicename - the name of the form type
VradiException
public org.sharengo.wikitty.WikittyExtension updateFormType2(String name,
Map<String,org.sharengo.wikitty.FieldType> fields,
String requires,
Map<String,String> tagValues)
throws VradiException
VradiStorageService
updateFormType2 in interface VradiStorageServicename - the name of the form typefields - the fields of the form typerequires - the extension requred by the extension to updatetagValues - the map containing the tags and their values
WikittyExtension
VradiException
public org.sharengo.wikitty.WikittyExtension updateFormType(org.sharengo.wikitty.WikittyExtension extension)
throws VradiException
VradiStorageService
updateFormType in interface VradiStorageServiceextension - the extension designing the form type
WikittyExtension
VradiExceptionpublic Form getForm(String formId)
VradiStorageServiceForm with the specified formId.
getForm in interface VradiStorageServiceformId - the id of the form
public void deleteForm(String formId)
VradiStorageServiceForm by the specified formId.
deleteForm in interface VradiStorageServiceformId - the id of the Form to deletepublic List<Form> getForms(List<String> formIds)
VradiStorageServiceForms with the specified list of formIds.
getForms in interface VradiStorageServiceformIds - the ids of the forms
Formpublic List<Form> getAllForms()
VradiStorageServiceForms.
getAllForms in interface VradiStorageServiceFormpublic List<XmlStream> getAllXmlStreams()
VradiStorageServiceXmlStreams.
getAllXmlStreams in interface VradiStorageServiceXmlStream
public List<XmlFieldBinding> updateXmlFieldBindings(List<XmlFieldBinding> bindings)
throws VradiException
VradiStorageServiceXmlFieldBinding.
updateXmlFieldBindings in interface VradiStorageServicebindings - the list of XmlFieldBinding to update
VradiException
public XmlStream updateXmlStream(XmlStream xmlStream,
List<XmlFieldBinding> bindings)
throws VradiException
updateXmlStream in interface VradiStorageServiceVradiException
public XmlStream getXmlStream(String xmlStreamId)
throws VradiException
VradiStorageServiceXmlStream with the specified xmlStreamId.
getXmlStream in interface VradiStorageServicexmlStreamId - the id of the XmlStream
XmlStream
VradiExceptionpublic XmlFieldBinding getXmlFieldBinding(String xmlFieldBindingId)
VradiStorageServiceXmlFieldBinding with the specified xmlFieldBindingId.
getXmlFieldBinding in interface VradiStorageServicexmlFieldBindingId - the id of the XmlFieldBinding
XmlFieldBindingpublic List<XmlFieldBinding> getXmlFieldBindings(XmlStream xmlStream)
VradiStorageServiceXmlFieldBinding belonging to the specified xmlStream.
getXmlFieldBindings in interface VradiStorageServicexmlStream - the XmlStream
XmlFieldBinding
public void bindForms()
throws VradiException
VradiStorageService
bindForms in interface VradiStorageServiceVradiException
public List<Sending> createSending(Session session,
QueryMaker queryMaker,
List<Form> formsToBind)
throws VradiException
VradiStorageService
createSending in interface VradiStorageServiceVradiException
public List<Sending> removeAllSending(Session session,
Form form,
QueryMaker queryMaker)
throws VradiException
removeAllSending in interface VradiStorageServiceVradiException
public List<Session> getSessions(Date sessionDate)
throws VradiException
VradiStorageService
getSessions in interface VradiStorageServicesessionDate - Date concerned
VradiException
public int[] getFormsFromXmlStream(XmlStream xmlStream,
VradiUser vradiUser)
throws VradiException
VradiStorageServiceXmlStream by using the XmlStreamBinding
to link xml stream field values with form fields.
getFormsFromXmlStream in interface VradiStorageServicexmlStream - the xml stream to readvradiUser - the VradiUser that launched the import
VradiException - for various possible errors
public VradiUser updateVradiUser(VradiUser vradiUser)
throws VradiException
VradiStorageServiceVradiUser.
updateVradiUser in interface VradiStorageServicevradiUser - the VradiUser to update
VradiException
public VradiUser logVradiUser(String vradiUserName,
String vradiUserPassword)
VradiStorageServiceuserName and userPassword matches a valid VradiUser.
logVradiUser in interface VradiStorageServicevradiUserName - the username of a VradiUservradiUserPassword - the password of a VradiUser
VradiUser or null if either userName or userPassword don't matchpublic void updateSendings(List<Sending> sendings)
VradiStorageService
updateSendings in interface VradiStorageServicesendings - the list of Sending to update
public void importData(File file)
throws VradiException
VradiStorageService
importData in interface VradiStorageServicefile - the XML file containing datas
VradiException
public String exportData()
throws VradiException
VradiStorageService
exportData in interface VradiStorageServiceVradiException
public void importAsCSV(String uri)
throws VradiException
VradiStorageService
importAsCSV in interface VradiStorageServiceuri - uri used to read input stream
VradiException - if any error happen during import
public String exportAsCSV(org.sharengo.wikitty.Criteria criteria)
throws VradiException
VradiStorageService
exportAsCSV in interface VradiStorageServicecriteria - export criteria
VradiException - if any error happen during exportpublic void reindexData()
VradiStorageService
reindexData in interface VradiStorageService
public org.sharengo.wikitty.TreeNodeImpl getRootThesaurus()
throws VradiException
VradiStorageService
getRootThesaurus in interface VradiStorageServiceTreeNodeImpl
VradiException
public List<org.sharengo.wikitty.TreeNodeImpl> getAllThesaurus()
throws VradiException
VradiStorageServiceTreeNodeImpl considered as thesaurus nodes.
getAllThesaurus in interface VradiStorageServiceTreeNodeImpl
VradiException
public org.sharengo.wikitty.TreeNodeImpl getThesaurus(String thesaurusId)
throws VradiException
VradiStorageServiceTreeNodeImpl with the specified thesaurusId.
getThesaurus in interface VradiStorageServicethesaurusId - the id of the thesaurus
TreeNodeImpl
VradiException
public List<org.sharengo.wikitty.TreeNodeImpl> getChildrenThesaurus(String thesaurusId)
throws VradiException
VradiStorageServicethesaurusId.
getChildrenThesaurus in interface VradiStorageServiceTreeNodeImpl
VradiException
public int getNbFormsForThesaurus(String thesaurusId)
throws VradiException
VradiStorageServicethesaurusId.
getNbFormsForThesaurus in interface VradiStorageServiceVradiException
public Status getStatus(String statusId)
throws VradiException
VradiStorageServiceStatus with the specified statusId.
getStatus in interface VradiStorageServicestatusId - the id of the status
Status
VradiException
public List<Status> getStatuses(List<String> statusIds)
throws VradiException
VradiStorageServiceStatus with the specified
statusIds.
getStatuses in interface VradiStorageServicestatusIds - the ids of the statuses
Status
VradiException
public List<Status> getAllStatuses()
throws VradiException
VradiStorageServiceStatus.
getAllStatuses in interface VradiStorageServiceStatus
VradiException
public Status updateStatus(Status status)
throws VradiException
VradiStorageServiceStatus.
updateStatus in interface VradiStorageServicestatus - the Status to update
Status updated
VradiException
public List<Status> updateStatuses(List<Status> statuses)
throws VradiException
VradiStorageServiceStatus.
updateStatuses in interface VradiStorageServicestatuses - the list of Status to update
Status updated
VradiException
public void deleteStatus(String statusId)
throws VradiException
VradiStorageServiceStatus.
deleteStatus in interface VradiStorageServicestatusId - the id of the Status to delete
VradiException
public void deleteStatuses(List<String> statusIds)
throws VradiException
VradiStorageServiceStatus.
deleteStatuses in interface VradiStorageServicestatusIds - the list of ids of the Status to delete
VradiException
public List<org.sharengo.wikitty.TreeNodeImpl> proposeThesaurus(Form form,
List<org.sharengo.wikitty.TreeNodeImpl> thesaurus)
throws VradiException
VradiStorageService
proposeThesaurus in interface VradiStorageServiceform - the Form containing the information needed
to search the thesaurus nodesthesaurus - the list of all the tree nodes of the thesaurus
TreeNodeImpl
VradiException
public void archiveQueries(QueryMaker queryMaker)
throws VradiException
VradiStorageService
archiveQueries in interface VradiStorageServicequeryMaker - the query maker whose queries are archived
VradiException
public void autoLoadFormsFromXmlStreams(String intervalUnit,
int intervalValue,
Integer hour,
Integer minute)
throws VradiException
VradiStorageService
autoLoadFormsFromXmlStreams in interface VradiStorageServiceintervalUnit - unit of te interval between 2 retrievings (minute, hour or day)intervalValue - interval value between two retrievingshour - hour of the retrieving if the unit is dayminute - of the retrieving if the unit is day or hour
VradiException
public void uploadFiles(Form form,
List<File> files)
throws IOException
VradiStorageService
uploadFiles in interface VradiStorageServiceIOException
public void uploadAttachments(Form form,
List<File> attachments)
throws IOException
VradiStorageService
uploadAttachments in interface VradiStorageServiceIOException
public File addTemplate(org.sharengo.wikitty.WikittyExtension extension,
File template)
throws VradiException
VradiStorageService
addTemplate in interface VradiStorageServiceVradiExceptionpublic File[] getTemplates(org.sharengo.wikitty.WikittyExtension extension)
VradiStorageService
getTemplates in interface VradiStorageService
public File getTemplate(String extensionName,
String templateName)
getTemplate in interface VradiStorageService
public void setAssociatedFields(String extensionName,
String templateName,
Map<String,String> fieldMap)
throws VradiException,
IOException
setAssociatedFields in interface VradiStorageServiceVradiException
IOException
public Map<String,String> getAssociatedFields(String extensionName,
String templateName)
throws VradiException
getAssociatedFields in interface VradiStorageServiceVradiExceptionpublic Map<QueryMaker,List<VradiQueryBean>> getQueriesToModifyAfterThesaurusModification(String thesaurusName)
VradiStorageService
getQueriesToModifyAfterThesaurusModification in interface VradiStorageServicethesaurusName - the modified thesaurus name node
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||