SwatObject
└─SiteObject
└─SiteAbstractPage
└─SitePage
└─AdminPage
└─AdminEdit
└─AdminDBEdit
└─StoreAttributeEdit
public class StoreAttributeEdit
extends AdminDBEdit
| Method Summary | |
|---|---|
| protected void | Build the page for display. |
| protected void | |
| protected void | Initialize the page. |
| protected void | Load the data from the database. |
| protected void | Save the data from the database. |
| protected void | |
| protected void | validate() Sub-classes should implement this method to perform validation. |
| Methods inherited from Admin.AdminDBEdit | |
|---|---|
| loadDBData, loadData, saveDBData, saveData | |
| Methods inherited from Admin.AdminEdit | |
|---|---|
| buildButton, buildForm, buildFrame, buildInternal, buildNavBar, generateShortname, initInternal, loadData, processInternal, relocate, saveData, validate, validateShortname | |
| Methods inherited from Admin.AdminPage | |
|---|---|
| build, buildInternal, buildMessages, createLayout, display, finalize, formsAreAuthenticated, getComponentName, getComponentTitle, getRefererURL, getRelativeURL, init, initInternal, process, processInternal | |
| Methods inherited from Site.SitePage | |
|---|---|
| build, buildContent, buildMetaDescription, buildNavBar, buildTitle, createLayout | |
| Methods inherited from Site.SiteAbstractPage | |
|---|---|
| build, finalize, getArgument, getArgumentMap, getSource, init, process, setLayout, setSource | |
protected void buildInternal()
Build the page for display
Sub-classes should implement this method to initialize elements of
the page. This method is called at the beginning of . This is useful to do database queries that are
only needed for AdminPage::display() and not , while initialization needed for both display
and process should be included in AdminPage::init().
protected void initAttribute()
protected void initInternal()
Initialize the page
Sub-classes should implement this method to initialize the page. At
this point the AdminPage::$ui has been constructed but has not
been initialized.
protected void loadDBData()
Load the data from the database
This method is called to load data to be edited into the widgets. Sub-classes should implement this method and perform whatever actions are necessary to obtain the data. Widgets can be accessed through the $ui class variable.
protected void saveDBData()
Save the data from the database
This method is called to save data from the widgets after processing. Sub-classes should implement this method and perform whatever actions are necessary to store the data. Widgets can be accessed through the $ui class variable.
protected void updateAttribute()
protected void validate()
Sub-classes should implement this method to perform validation.
Edit page for Attribute Types