|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jurismarches.vradi.services.managers.FormTypeManager
public class FormTypeManager
Class containing the metods to manage the form types : - creation, update, retrieving - cache filling
| Constructor Summary | |
|---|---|
FormTypeManager()
|
|
FormTypeManager(org.sharengo.wikitty.WikittyProxy proxy)
|
|
| Method Summary | |
|---|---|
File |
addTemplate(org.sharengo.wikitty.WikittyExtension extension,
File template)
Associates a new template file to the specified extension |
List<org.sharengo.wikitty.WikittyExtension> |
getAllFormTypes()
Retrieves all the form types |
Map<String,String> |
getAssociatedFields(String extensionName,
String templateName)
|
org.sharengo.wikitty.WikittyExtension |
getFormType(String name)
Retrieves the form type whose name is the parameter 'name' |
Map<String,org.sharengo.wikitty.FieldType> |
getFormTypeFields(String name)
Retrieves the fields of the form type whose name is the parameter 'name' |
File |
getTemplate(String extensionName,
String templateName)
|
File[] |
getTemplates(org.sharengo.wikitty.WikittyExtension extension)
Lists the template files associated with the specified extension |
void |
setAssociatedFields(String extensionName,
String templateName,
Map<String,String> fieldMap)
|
org.sharengo.wikitty.WikittyExtension |
updateFormType(String name,
Map<String,org.sharengo.wikitty.FieldType> fields,
String requires,
Map<String,String> tagValues)
Updates the form type whose name is 'name' |
org.sharengo.wikitty.WikittyExtension |
updateFormType(org.sharengo.wikitty.WikittyExtension extension)
Update the form type given in parameter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FormTypeManager(org.sharengo.wikitty.WikittyProxy proxy)
public FormTypeManager()
| Method Detail |
|---|
public List<org.sharengo.wikitty.WikittyExtension> getAllFormTypes()
public org.sharengo.wikitty.WikittyExtension getFormType(String name)
throws VradiException
name - the name of the form type we want to retrieve
VradiException
public Map<String,org.sharengo.wikitty.FieldType> getFormTypeFields(String name)
throws VradiException
name - the name of the form type we want to retrieve the fields
VradiException
public org.sharengo.wikitty.WikittyExtension updateFormType(String name,
Map<String,org.sharengo.wikitty.FieldType> fields,
String requires,
Map<String,String> tagValues)
throws VradiException
name - the name of the form type to updatefields - the new fields of the form typerequires - the new requires of the form typetagValues - the new tag values of the form type
VradiException
public org.sharengo.wikitty.WikittyExtension updateFormType(org.sharengo.wikitty.WikittyExtension extension)
throws VradiException
extension - the form type to update
VradiException
public File addTemplate(org.sharengo.wikitty.WikittyExtension extension,
File template)
throws VradiException
extension - template -
IOException
VradiException
public File getTemplate(String extensionName,
String templateName)
extensionName - templateName -
public File[] getTemplates(org.sharengo.wikitty.WikittyExtension extension)
extension -
public Map<String,String> getAssociatedFields(String extensionName,
String templateName)
throws VradiException
VradiException
public void setAssociatedFields(String extensionName,
String templateName,
Map<String,String> fieldMap)
throws VradiException
VradiException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||