|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.uiinfrastructure.editor.EditorModel com.plumtree.portalpages.admin.ptutilities.localizedstrings.LocalizedStringsModel
public class LocalizedStringsModel
Field Summary | |
---|---|
IPTSession |
m_ptSession
|
static java.lang.String |
STR_MVC_CLASS_NAME
|
Fields inherited from class com.plumtree.uiinfrastructure.editor.EditorModel |
---|
isReadAccessAvailable, m_asOwner, m_bCloseOnDone, m_bDeleteOnCancel, m_bEnableApplyButton, m_bEnableCancelButton, m_bHideLeftNav, m_bIsEditorReadOnly, m_bUserHasAccessToEditor, m_nEditorType |
Constructor Summary | |
---|---|
LocalizedStringsModel()
|
Method Summary | |
---|---|
boolean |
CheckEditorAccessAndStart(XPHashtable _htFormData)
Implements some actions to perform on start. |
java.lang.Object |
Create()
This method is used by the ASManager to return new instances of managed objects. |
void |
Finish()
Implement some code to execute when the user clicks on "Finish". |
java.lang.Object[][] |
GetData()
Get method for the LocalizedStrings data. |
java.lang.String[] |
GetLangs()
|
java.lang.String |
GetLastUploadMessage()
MES- GetLastUploadMessage returns a string describing the last upload, or the zero length string if there has been no upload |
java.lang.String |
GetName()
Returns the Class name. |
void |
Init(AActivitySpace parent)
Inits the Model with the Activity Space. |
int |
SavePage(java.lang.String _sPageName,
XPHashtable _htFormData)
Calls the right save function according to the page name passed in argument. |
void |
SetData(java.lang.Object[][] arrLocalizedStrings)
MES- setData sets the array of localized strings |
void |
SetLangs(java.lang.String[] arrLangs)
MES- setLangs sets the array of languages associated with m_arrLocalized StringsArray. |
void |
SetUploadMessage(java.lang.String sMessage)
MES- SetUploadMessage sets a message that describes the most recent upload- success or failure |
boolean |
UserCanLocalize()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.plumtree.uiinfrastructure.activityspace.IModel |
---|
CleanupAllData, CleanupTempData |
Field Detail |
---|
public static final java.lang.String STR_MVC_CLASS_NAME
public IPTSession m_ptSession
Constructor Detail |
---|
public LocalizedStringsModel()
Method Detail |
---|
public boolean CheckEditorAccessAndStart(XPHashtable _htFormData)
CheckEditorAccessAndStart
in class EditorModel
_htFormData
-
public java.lang.Object Create()
EditorModel
Create
in interface IManagedObject
Create
in class EditorModel
IManagedObject.Create()
public void Finish()
Finish
in interface IRepostModel
Finish
in class EditorModel
public java.lang.Object[][] GetData()
ILocalizedStringsModelRO
GetData
in interface ILocalizedStringsModelRO
ILocalizedStringsModelRO#getData()
public java.lang.String[] GetLangs()
GetLangs
in interface ILocalizedStringsModelRO
ILocalizedStringsModelRO#getLangs()
public java.lang.String GetLastUploadMessage()
GetLastUploadMessage
in interface ILocalizedStringsModelRO
none
-
public java.lang.String GetName()
EditorModel
GetName
in interface IMVCObject
GetName
in class EditorModel
com.plumtree.portaluiinfrastructure.activityspace.IModelRO#GetName()
public void Init(AActivitySpace parent)
Init
in interface IModel
Init
in class EditorModel
parent
- public int SavePage(java.lang.String _sPageName, XPHashtable _htFormData)
SavePage
in interface IRepostModel
SavePage
in class EditorModel
_sPageName
- _htFormData
-
public void SetData(java.lang.Object[][] arrLocalizedStrings)
SetData
in interface ILocalizedStringsModel
arrLocalizedStrings
- is a 2D array of localized strings, as
required by IPTStringLocalizationManager::SetLocalizedStringspublic void SetLangs(java.lang.String[] arrLangs)
SetLangs
in interface ILocalizedStringsModel
arrLangs
- is a 1D array of language identifiers (e.g. "en" or "en-us".)public void SetUploadMessage(java.lang.String sMessage)
SetUploadMessage
in interface ILocalizedStringsModel
sMessage
- is the messagepublic boolean UserCanLocalize()
UserCanLocalize
in interface ILocalizedStringsModelRO
ILocalizedStringsModelRO#userCanLocalize()
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |