agonism.dovetail.site
Class Page
java.lang.Object
|
+--agonism.dovetail.site.DovetailInstance
|
+--agonism.dovetail.site.Page
- All Implemented Interfaces:
- ILocation
- public class Page
- extends DovetailInstance
- implements ILocation
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Page
protected Page(IRequestContext context,
QPage page)
getName
public java.lang.String getName()
- Description copied from interface:
ILocation
- Get the name of the location.
- Specified by:
getName in interface ILocation
getConnection
public java.sql.Connection getConnection()
free
public void free()
addOwnedPage
public void addOwnedPage(Page page)
- By calling this method,
page will be freed when this page is freed.
getParent
public ILocation getParent()
- Description copied from interface:
ILocation
- Get the parent location of the current location.
- Specified by:
getParent in interface ILocation
getQuery
public Query getQuery(java.lang.String name)
getForm
public Form getForm(java.lang.String name)
getParameter
public Parameter getParameter(java.lang.String name)
getLink
public Link getLink(java.lang.String name)
getPageURL
public java.lang.String getPageURL()
process
public void process()
- Processes the page in response to a POST or GET. The
Form object named by the Constants.FORM_NAME_INPUT_NAME
request parameter is responsible for carrying out the bulk of the processing. This method should be called at the beginning
of each page which contains a form.
If no form has been posted, this method is a no-op.
hasBeenRedirected
public boolean hasBeenRedirected()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
finalize
protected void finalize()
throws java.lang.Throwable
- Overrides:
finalize in class java.lang.Object