| com.methodhead.persistable.Persistable com.methodhead.shim.TextModule
TextModule | public class TextModule extends Persistable implements Module(Code) | | A Shim module to manage HTML text.
- int page_id = 0
- String panel = ""
- String value = ""
- int htmlfragment_id = NULL
|
TextModule | public TextModule()(Code) | | |
TextModule | public TextModule(DynaClass dynaClass)(Code) | | |
create | public void create()(Code) | | Creates the module. This method is called when a module is instantiated
for a page and panel. The module should be initialized such that future
calls to
TextModule.configure and
TextModule.display are successful.
|
destroy | public void destroy()(Code) | | Destroys the module, freeing any resources associated with the module.
|
getDependentPages | public List getDependentPages(HtmlFragment fragment)(Code) | | Returns a list of pages which use text modules that refer to
fragment. fragment is expected to be loaded when this
method is called.
|
getName | public String getName()(Code) | | Returns a short descriptive name for the module.
|
init | public void init(Page page, String panel)(Code) | | Sets the module's page and panel. This method is called
before any other operations are performed.
|
isConfigurable | public boolean isConfigurable()(Code) | | Returns true if the module has a configuration interface; that
is, if
TextModule.configure actually does something.
|
isEditable | public boolean isEditable()(Code) | | |
saveNew | public void saveNew()(Code) | | Saves the text module for page and panel set by
TextModule.init init() . The text module should already have been created with
TextModule.create create() .
|
Methods inherited from com.methodhead.persistable.Persistable | public static void deleteAll(DynaClass dynaClass, String whereClause) throws PersistableException(Code)(Java Doc) public void deleteAll(String whereClause) throws PersistableException(Code)(Java Doc) public boolean getBoolean(String property)(Code)(Java Doc) public Date getDate(String property)(Code)(Java Doc) public double getDouble(String property)(Code)(Java Doc) public int getInt(String property)(Code)(Java Doc) public static String getSqlLiteral(String value)(Code)(Java Doc) public static String getSqlLiteral(Boolean value)(Code)(Java Doc) public static String getSqlLiteral(Date value)(Code)(Java Doc) protected String getSqlLiteral(DynaProperty dynaProperty)(Code)(Java Doc) public String getString(String property)(Code)(Java Doc) public void load(String whereClause)(Code)(Java Doc) public static List loadAll(DynaClass dynaClass, String whereClause, String orderByClause)(Code)(Java Doc) public List loadAll(String whereClause, String orderByClause)(Code)(Java Doc) public void save(String whereClause) throws PersistableException(Code)(Java Doc) public void saveNew()(Code)(Java Doc) public void setAsObject(String property, Object value)(Code)(Java Doc) public void setAsString(String property, String value)(Code)(Java Doc) public void setBoolean(String property, boolean value)(Code)(Java Doc) public void setDate(String property, Date value)(Code)(Java Doc) public void setDouble(String property, double value)(Code)(Java Doc) public void setInt(String property, int value)(Code)(Java Doc) protected static void setProperty(DynaBean persistable, DynaProperty dynaProperty, ResultSet rs)(Code)(Java Doc) public void setString(String property, String value)(Code)(Java Doc)
|
|
|