|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.uiinfrastructure.pagecontrols.framework.PageMgr
public class PageMgr
The page manager (PageMgr) class aggregates all of the comoponent managers for a given page. It also page-scope information such as locale and time zone. It has some convenience methods that act on all ComponenteMgrs registered with the PageMgr and all their Page Controls -- StoreAllUserInput and Validate.
Constructor Summary | |
---|---|
PageMgr(AccessStyles _asAccessStyle,
XPLocale _xpLocale,
XPTimeZone _xpTimeZone,
java.lang.String _strImageServerBaseURL,
java.lang.String _strImageServerConnectionURL)
Creates a new PageMgr object. |
Method Summary | |
---|---|
void |
AddErrorMessage(java.lang.String _strErrorNum,
java.lang.String _strFileName)
Adds the error message to the array containing the rest of the error messages. |
IPageControl |
AddPageControl(java.lang.String _strMVCPageControlName)
Retreives an instance of a Page Control specified by _strMVCPageControlName and returns it. |
void |
AddToValidationFunction(AFormDP _ptAFormDP)
|
ComponentMgr |
GetComponentMgr(java.lang.String _strMVCPageControlName)
Return a ComponentMgr of the correct type for the given Page Control. |
java.lang.String |
GetErrorMessages(AActivitySpace _asOwner)
Returns all the error messages for the Activity Apace |
java.lang.String |
GetImageServerConnectionURL()
Return the ImageServerConnectionURL member variable. |
java.lang.String |
GetImgSvrBaseURL()
Returns the image server base URL. |
java.lang.String |
GetJSValidationCode()
This method provides js validation code for all Page Controls owned by this PageMgr. |
java.lang.String |
GetLangID()
Returns the language ID for this page. |
XPLocale |
GetLocale()
Returns the locale that is being used by this page manager. |
int |
GetNumComponentMgrs()
Returns the number of component managers currently registered with this page manager. |
IPageControl |
GetPageControl(java.lang.String _strMVCPageControlName,
java.lang.String _strUniqueInstanceID)
Return the Page Control of the type specified by _strMVCPageControlName (i.e. |
XPTimeZone |
GetTimeZone()
Returns the timezone being used by this page manager. |
void |
RegisterComponentMgr(ComponentMgr _ptComponentMgr)
This method allows you to register a component manager with the page manager. |
int |
StoreAllUserInput(XPHashtable _htRequestParameters)
This method stores all data entered by users to controls on this page. |
XPArrayList |
Validate()
This method validates all Page Controls owned by this PageMgr. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PageMgr(AccessStyles _asAccessStyle, XPLocale _xpLocale, XPTimeZone _xpTimeZone, java.lang.String _strImageServerBaseURL, java.lang.String _strImageServerConnectionURL)
_asAccessStyle
- The access mode for this page_xpLocale
- The locale for this page._xpTimeZone
- The time-zone for this page._strImageServerBaseURL
- The base URL to the image server._strImageConnectionBaseURL
- The connection URL to the image serverMethod Detail |
---|
public java.lang.String GetImgSvrBaseURL()
public java.lang.String GetLangID()
public XPLocale GetLocale()
public int GetNumComponentMgrs()
public XPTimeZone GetTimeZone()
public void RegisterComponentMgr(ComponentMgr _ptComponentMgr)
_ptComponentMgr
- The component manger that you wish to register.public int StoreAllUserInput(XPHashtable _htRequestParameters)
_htRequestParameters
- A hashtable of the request parameters.public XPArrayList Validate()
public java.lang.String GetJSValidationCode()
public void AddToValidationFunction(AFormDP _ptAFormDP)
public void AddErrorMessage(java.lang.String _strErrorNum, java.lang.String _strFileName)
_strErrorMsg
- public java.lang.String GetErrorMessages(AActivitySpace _asOwner)
public IPageControl AddPageControl(java.lang.String _strMVCPageControlName)
_strMVCPageControlName
- the name of the Page Control (i.e. HTMLTextBox)
public IPageControl GetPageControl(java.lang.String _strMVCPageControlName, java.lang.String _strUniqueInstanceID)
_strMVCPageControlName
- the name of the Page Control (i.e. HTMLTextBox)_strUniqueInstanceID
-
public ComponentMgr GetComponentMgr(java.lang.String _strMVCPageControlName)
_strMVCPageControlName
- the name of the Page Control (i.e. HTMLTextBox)
public java.lang.String GetImageServerConnectionURL()
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |