|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.uiinfrastructure.editor.EditorHelperModel com.plumtree.uiinfrastructure.expandablelist.ExpListModel com.plumtree.portalpages.admin.ptutilities.migrationutility.imp.MigrationSelectForImportModel
public class MigrationSelectForImportModel
Field Summary | |
---|---|
static int |
EXPLIST_COL_CLASSID
This column contains the Object Class IDs. |
static int |
EXPLIST_COL_DESCRIPTION
This column contains the description |
static int |
EXPLIST_COL_MAX
Number total of columns |
static int |
EXPLIST_COL_NAME
This column contains the name |
static int |
EXPLIST_COL_PTME
This column contains the IPTMigrationElement |
static int |
EXPLIST_COL_UUID
This column contains the UUIDs. |
static int |
EXPLIST_DEFAULT_INITIAL_SIZE
Default initial size for the sorted array. |
protected XPHashtable |
m_htSubexpressions
An Hashtable to keep track of all the subexpression rules. |
protected XPArrayList[] |
m_xparObjsToMigrate
array of XPArrayLists containing IPTMigrationElements to migrate, indexed by classID. |
static java.lang.String |
STR_MVC_CLASS_NAME
|
Fields inherited from class com.plumtree.uiinfrastructure.editor.EditorHelperModel |
---|
m_asOwner |
Constructor Summary | |
---|---|
MigrationSelectForImportModel()
Inits member variables |
Method Summary | |
---|---|
void |
AddRowsOnRepost(XPHashtable _htFormData)
Clear the list and add all the values from the tree. |
java.lang.Object |
Create()
This method is used by the ASManager to return new instances of managed objects. |
void |
DeleteRowsOnRepost(XPHashtable _htFormData)
Gets the array of checked rows and delete them from the list. |
java.lang.String |
GetName()
Returns the Class name. |
XPArrayList[] |
GetObjectsToMigrate()
array of XPArrayLists containing IPTMigrationElements to migrate, indexed by classID. |
void |
InitializeSortedArray(PTGrowableSortedArrayWrapper _saData)
Initalizes the list (PTGrowableSortedArrayWrapper) with a column mapping and an array of sort. |
void |
InitSFE(IPTSession ptSession)
Initializes and starts the list of objects to import. |
void |
LoadResources()
Loads the list with objects that get uploaded. |
protected int |
SaveRow(PTGrowableSortedArrayWrapper _saData,
int _nRowIndex,
XPHashtable _htFormData)
Saves the data on the row _nRowIndex. |
int |
SaveSection(XPHashtable _htFormData)
Saves the data when a repost occurs. |
Methods inherited from class com.plumtree.uiinfrastructure.editor.EditorHelperModel |
---|
CleanupAllData, CleanupTempData, Init |
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, Init |
Field Detail |
---|
public static final java.lang.String STR_MVC_CLASS_NAME
public static final int EXPLIST_COL_MAX
public static final int EXPLIST_COL_CLASSID
public static final int EXPLIST_COL_UUID
public static final int EXPLIST_COL_NAME
public static final int EXPLIST_COL_DESCRIPTION
public static final int EXPLIST_COL_PTME
public static final int EXPLIST_DEFAULT_INITIAL_SIZE
protected XPArrayList[] m_xparObjsToMigrate
protected XPHashtable m_htSubexpressions
Constructor Detail |
---|
public MigrationSelectForImportModel()
Method Detail |
---|
public java.lang.Object Create()
EditorHelperModel
Create
in interface IManagedObject
Create
in class EditorHelperModel
IManagedObject.Create()
public java.lang.String GetName()
EditorHelperModel
GetName
in interface IMVCObject
GetName
in class EditorHelperModel
IMVCObject.GetName()
public void InitSFE(IPTSession ptSession)
public void LoadResources()
public int SaveSection(XPHashtable _htFormData)
ExpListModel
SaveSection
in class ExpListModel
_htFormData
- Form posted data.
EditorHelperModel.SaveSection(XPHashtable)
public void AddRowsOnRepost(XPHashtable _htFormData)
AddRowsOnRepost
in class ExpListModel
_htFormData
- Form datapublic void DeleteRowsOnRepost(XPHashtable _htFormData)
DeleteRowsOnRepost
in class ExpListModel
_htFormData
- public void InitializeSortedArray(PTGrowableSortedArrayWrapper _saData)
InitializeSortedArray
in class ExpListModel
_saData
- protected int SaveRow(PTGrowableSortedArrayWrapper _saData, int _nRowIndex, XPHashtable _htFormData)
SaveRow
in class ExpListModel
_saData
- List to update the data on row _nRowIndex_nRowIndex
- Index of the row to save._htFormData
- Data posted by the form.
public XPArrayList[] GetObjectsToMigrate()
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |