|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.silverpeas.form.displayers.AbstractFieldDisplayer<TextField>
com.silverpeas.form.displayers.WysiwygFCKFieldDisplayer
public class WysiwygFCKFieldDisplayer
A WysiwygFieldDisplayer is an object which can display a TextFiel in HTML the content of a TextFiel to a end user and can retrieve via HTTP any updated value.
Field
,
FieldTemplate
,
Form
,
FieldDisplayer
Field Summary | |
---|---|
static String |
dbKey
|
static String |
dir
|
Constructor Summary | |
---|---|
WysiwygFCKFieldDisplayer()
Constructeur |
Method Summary | |
---|---|
void |
cloneContents(ForeignPK fromPK,
ForeignPK toPK,
Map<String,String> oldAndNewFileIds)
|
void |
display(PrintWriter out,
TextField field,
FieldTemplate template,
PagesContext pageContext)
Prints the HTML value of the field. |
void |
displayScripts(PrintWriter out,
FieldTemplate template,
PagesContext PagesContext)
Prints the javascripts which will be used to control the new value given to the named field. |
void |
duplicateContent(Field field,
FieldTemplate template,
PagesContext pageContext,
String newObjectId)
|
static String |
getContentFromFile(String componentId,
String objectId,
String fieldName)
|
static String |
getContentFromFile(String componentId,
String objectId,
String fieldName,
String language)
|
static String |
getFile(String componentId,
String objectId,
String fieldName,
String language)
|
String[] |
getManagedTypes()
Returns the name of the managed types. |
int |
getNbHtmlObjectsDisplayed(FieldTemplate template,
PagesContext pagesContext)
Return the number of HTML Objects displayed by the displayer. |
void |
index(FullIndexEntry indexEntry,
String key,
String fieldName,
TextField field,
String language,
boolean store)
Add the content of the field to the index entry |
boolean |
isDisplayedMandatory()
|
void |
mergeContents(String componentIdFrom,
String objectIdFrom,
String componentIdTo,
String objectIdTo)
|
void |
move(ForeignPK fromPK,
ForeignPK toPK)
|
static void |
removeContents(ForeignPK pk)
|
List<String> |
update(String newValue,
TextField field,
FieldTemplate template,
PagesContext pageContext)
Updates the value of the field. |
Methods inherited from class com.silverpeas.form.displayers.AbstractFieldDisplayer |
---|
update |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String dbKey
public static final String dir
Constructor Detail |
---|
public WysiwygFCKFieldDisplayer()
Method Detail |
---|
public String[] getManagedTypes()
public void displayScripts(PrintWriter out, FieldTemplate template, PagesContext PagesContext) throws IOException
out
- template
- PagesContext
-
IOException
public void display(PrintWriter out, TextField field, FieldTemplate template, PagesContext pageContext) throws FormException
out
- field
- template
- pageContext
-
FormException
public List<String> update(String newValue, TextField field, FieldTemplate template, PagesContext pageContext) throws FormException
newValue
- pageContext
-
FormException
public boolean isDisplayedMandatory()
public int getNbHtmlObjectsDisplayed(FieldTemplate template, PagesContext pagesContext)
FieldDisplayer
public void index(FullIndexEntry indexEntry, String key, String fieldName, TextField field, String language, boolean store)
FieldDisplayer
index
in interface FieldDisplayer<TextField>
index
in class AbstractFieldDisplayer<TextField>
public void duplicateContent(Field field, FieldTemplate template, PagesContext pageContext, String newObjectId) throws FormException
FormException
public static String getContentFromFile(String componentId, String objectId, String fieldName) throws UtilException
UtilException
public static String getContentFromFile(String componentId, String objectId, String fieldName, String language) throws UtilException
UtilException
public void move(ForeignPK fromPK, ForeignPK toPK) throws IOException
IOException
public void cloneContents(ForeignPK fromPK, ForeignPK toPK, Map<String,String> oldAndNewFileIds) throws IOException
IOException
public void mergeContents(String componentIdFrom, String objectIdFrom, String componentIdTo, String objectIdTo) throws UtilException, IOException
UtilException
IOException
public static String getFile(String componentId, String objectId, String fieldName, String language)
public static void removeContents(ForeignPK pk)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |