|
||||||||||
| 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.nuiton.wikitty.WikittyProxy proxy)
|
|
| Method Summary | |
|---|---|
java.util.Map<java.lang.String,java.lang.String> |
getAssociatedFields(java.lang.String extensionName,
java.lang.String templateName)
Get association between template fields and extension fields. |
org.nuiton.wikitty.WikittyExtension |
getFormType(java.lang.String name)
Retrieves the form type whose name is the parameter 'name' |
java.util.Map<java.lang.String,org.nuiton.wikitty.FieldType> |
getFormTypeFields(java.lang.String name)
Retrieves the fields of the form type whose name is the parameter 'name' |
java.io.File |
getTemplate(java.lang.String extensionName,
java.lang.String templateName)
|
java.util.Collection<java.lang.String> |
getTemplateFilenames(org.nuiton.wikitty.WikittyExtension extension)
Get the template file names associated with the specified extension. |
java.io.File[] |
getTemplates(org.nuiton.wikitty.WikittyExtension extension)
Deprecated. |
void |
setAssociatedFields(java.lang.String extensionName,
java.lang.String templateName,
java.util.Map<java.lang.String,java.lang.String> fieldMap)
Save association between template fields and user selected fields into external xml field next to template. |
org.nuiton.wikitty.WikittyExtension |
updateFormType(java.lang.String name,
java.util.Map<java.lang.String,org.nuiton.wikitty.FieldType> fields,
java.lang.String requires,
java.util.Map<java.lang.String,java.lang.String> tagValues)
Updates the form type whose name is 'name' |
org.nuiton.wikitty.WikittyExtension |
updateFormType(org.nuiton.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.nuiton.wikitty.WikittyProxy proxy)
public FormTypeManager()
| Method Detail |
|---|
public org.nuiton.wikitty.WikittyExtension getFormType(java.lang.String name)
throws VradiException
name - the name of the form type we want to retrieve
VradiException
public java.util.Map<java.lang.String,org.nuiton.wikitty.FieldType> getFormTypeFields(java.lang.String name)
throws VradiException
name - the name of the form type we want to retrieve the fields
VradiException
public org.nuiton.wikitty.WikittyExtension updateFormType(java.lang.String name,
java.util.Map<java.lang.String,org.nuiton.wikitty.FieldType> fields,
java.lang.String requires,
java.util.Map<java.lang.String,java.lang.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.nuiton.wikitty.WikittyExtension updateFormType(org.nuiton.wikitty.WikittyExtension extension)
throws VradiException
extension - the form type to update
VradiException
public java.io.File getTemplate(java.lang.String extensionName,
java.lang.String templateName)
extensionName - templateName -
@Deprecated public java.io.File[] getTemplates(org.nuiton.wikitty.WikittyExtension extension)
extension -
public java.util.Collection<java.lang.String> getTemplateFilenames(org.nuiton.wikitty.WikittyExtension extension)
extension - extension
public java.util.Map<java.lang.String,java.lang.String> getAssociatedFields(java.lang.String extensionName,
java.lang.String templateName)
throws VradiException
extensionName - templateName -
null is there is no association yet
VradiException
public void setAssociatedFields(java.lang.String extensionName,
java.lang.String templateName,
java.util.Map<java.lang.String,java.lang.String> fieldMap)
throws VradiException
extensionName - templateName - fieldMap -
VradiException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||