|
|||||||||
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.migrationutility.MigrationLoadPackageModel
public class MigrationLoadPackageModel
Field Summary | |
---|---|
protected java.lang.String |
m_strPackagePath
The filename (path) of the currently loaded package. |
static java.lang.String |
PACKAGE_DESCRIPTION
|
static java.lang.String |
PACKAGE_NAME
|
static java.lang.String |
PUBLISHER_NAME
|
static java.lang.String |
STR_MVC_CLASS_NAME
|
static java.lang.String |
strStorageLoadPackage
Storage key for MigrationLoadPackageModel |
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 | |
---|---|
MigrationLoadPackageModel()
|
Method Summary | |
---|---|
boolean |
CheckEditorAccessAndStart(XPHashtable _htFormData)
Implements some actions to perform on start. |
protected void |
ClearPackage()
Empties all of our members and sets our package data to null. |
java.lang.Object |
Create()
This method is used by the ASManager to return new instances of managed objects. |
void |
DoTaskBeforeStore()
That method contains the code that should be executed just before the object is stored in the DB. |
void |
Finish()
Implement some code to execute when the user clicks on "Finish". |
java.lang.String |
GetName()
Returns the Class name. |
java.lang.String |
GetPackageDescription()
Get package description |
java.lang.String |
GetPackageFileName()
Returns filename (no path) of loaded package. |
java.lang.String |
GetPackageName()
Get package name |
java.lang.String |
GetPublisherName()
Get package publisher |
void |
Init(AActivitySpace parent)
Inits member variables |
boolean |
IsPackageLoaded()
True if a package has been successfully loaded. |
void |
LoadPackage(XPHashtable _htFormData)
|
int |
SavePage(java.lang.String _sPageName,
XPHashtable _htFormData)
Calls the right save function according to the page name passed in argument. |
Methods inherited from class com.plumtree.uiinfrastructure.editor.EditorModel |
---|
Cancel, CleanupAllData, CleanupTempData, DoTaskAfterStore, DoTaskOnChangePage, DoTaskOnComeBackFromSubEditor, DoTaskOnStartEditor, GetAccessToEditorPriviledges, GetCloseOnDone, GetCurrentRepostAction, GetDeleteOnCancel, GetEditorType, GetEnableApplyButton, GetEnableCancelButton, GetHideLeftNav, GetIsEditorReadOnly, GetRedirectAfterFinish, GetUserHasAccessToEditor, SetCloseOnDone, SetDeleteOnCancel, SetEditorType, SetEnableApplyButton, SetHideLeftNav, SetPageStatus, SetUserHasAccessToEditor |
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.editor.IEditorModelRO |
---|
GetEditorType, GetEnableApplyButton, GetEnableCancelButton, GetHideLeftNav, GetIsEditorReadOnly |
Field Detail |
---|
public static final java.lang.String STR_MVC_CLASS_NAME
public static final java.lang.String strStorageLoadPackage
public static final java.lang.String PACKAGE_NAME
public static final java.lang.String PACKAGE_DESCRIPTION
public static final java.lang.String PUBLISHER_NAME
protected java.lang.String m_strPackagePath
Constructor Detail |
---|
public MigrationLoadPackageModel()
Method Detail |
---|
protected void ClearPackage()
public void Init(AActivitySpace parent)
Init
in interface IModel
Init
in class EditorModel
parent
- 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 DoTaskBeforeStore()
EditorModel
DoTaskBeforeStore
in class EditorModel
EditorModel.DoTaskBeforeStore()
public void Finish()
Finish
in interface IRepostModel
Finish
in class EditorModel
public java.lang.String GetName()
GetName
in interface IMVCObject
GetName
in class EditorModel
public int SavePage(java.lang.String _sPageName, XPHashtable _htFormData)
SavePage
in interface IRepostModel
SavePage
in class EditorModel
_sPageName
- _htFormData
-
public void LoadPackage(XPHashtable _htFormData)
xpRUpload
- _htFormData
- public java.lang.String GetPackageFileName()
GetPackageFileName
in interface IMigrationLoadPackageModelRO
public boolean IsPackageLoaded()
public java.lang.String GetPackageName()
public java.lang.String GetPackageDescription()
public java.lang.String GetPublisherName()
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |