|
|||||||||
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.MigrationDependencyListModel
public class MigrationDependencyListModel
Field Summary | |
---|---|
static int |
EXPLIST_COL_CLASSID
Expandable list column for class ID |
static int |
EXPLIST_COL_MAX
Number total of columns |
static int |
EXPLIST_COL_NAME
Expandable list column for missing name |
static int |
EXPLIST_COL_NEW_NAME
Expandable list column for new object name |
static int |
EXPLIST_COL_NEW_UUID
Expandable list column for new object ID |
static int |
EXPLIST_COL_UUID
Expandable list column for UUID |
protected XPHashtable |
m_htAllMissingDependencies
Table of unresolved dependencies. |
protected XPHashtable |
m_htObjectsWithMissingDependencies
Table of all objects that depend on objects in this list. |
protected XPArrayList[] |
m_xparObjectsInPackage
Array of XPArrayLists of objects loaded, indexed by classID. |
static java.lang.String |
STR_MVC_CLASS_NAME
|
static java.lang.String |
SUBSPACE_KEY_SELECTDEPENDENCYTREE
Key name used by the Activity Space to store the tree. |
Fields inherited from class com.plumtree.uiinfrastructure.editor.EditorHelperModel |
---|
m_asOwner |
Constructor Summary | |
---|---|
MigrationDependencyListModel()
|
Method Summary | |
---|---|
void |
AddRowsOnRepost(XPHashtable _htFormData)
Will be called each time the add action is performed. |
java.lang.Object |
Create()
This method is used by the ASManager to return new instances of managed objects. |
void |
DoEditDependency(XPHashtable _htFormData)
Reads the selected item from dependency tree and sets the replacement on the unresolved dependency. |
ASURL |
DoOpenDependencyTree(XPHashtable _htFormData)
|
XPHashtable |
GetAllUnresolvedDependencies()
Gets XPHashtable of all missing dependencies. |
java.lang.String |
GetName()
Returns the Class name. |
CPTMigrationDependency |
GetUnresolvedDependency(int _intRowIndex)
Gets the CPTMigrationDependency object for the given row. |
void |
Init(AActivitySpace parent)
Init |
void |
InitializeDependencies()
Initializes columns and list |
void |
InitializeSortedArray(PTGrowableSortedArrayWrapper _saData)
Will be called when this class is initalized. |
void |
LoadObjectsAndDependencies()
Loads Dependencies into expandable list. |
void |
MarkReadyToImportIfResolved(IPTMigrationElement ptME)
Checks if the resolved object has any further missing dependencies, and removes it from the hashtable of objects with missing dependencies, if the object is ready to be imported. |
void |
RemoveAllUnresolvedDependenciesForObject(java.lang.String _strUUID)
Removes all unresolved dependencies in the list for the given object with UUID. |
protected int |
SaveRow(PTGrowableSortedArrayWrapper _saData,
int _nRowIndex,
XPHashtable _htFormData)
Will be called each ime there is a repost to save the data on the list. |
boolean |
UnresolvedDependenciesExist()
True if unresolved dependencies exist |
void |
UpdateMissingDependencyList(CPTMigrationDependency cptmd,
java.lang.String strMappedUUID)
DOCUMENT ME! |
Methods inherited from class com.plumtree.uiinfrastructure.editor.EditorHelperModel |
---|
CleanupAllData, CleanupTempData |
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.expandablelist.IExpListModelRO |
---|
GetAddIcon, GetAddIconAlt, GetAddLabel, GetAlertMessageForEmptyList, GetArrExpListColInfo, GetDeleteIcon, GetDeleteIconAlt, GetDelRowConfirmMsg, GetEmptyListInstructions, GetEmptyListMainMessage, GetEnableMoveRowActions, GetIsListReadOnly, GetListKey, GetMainColumnSort, GetMainColumnSortDirection, GetModelStorageName, GetReadOnlyItems, GetSectionTitle, GetTableInstructions, GetUniqueInt, GetUniqueString, GetUnusedProperties, GetWrapColumnHeaders, IsAddButtonDisabled, IsCheckBoxesDisabled, IsPaginationEnabled |
Methods inherited from interface com.plumtree.uiinfrastructure.form.pagination.IPaginationModelRO |
---|
GetCurrentLowerObjectCount, GetCurrentUpperObjectCount, GetNumObjects, GetPaginationSize |
Methods inherited from interface com.plumtree.uiinfrastructure.activityspace.IModel |
---|
CleanupAllData, CleanupTempData |
Field Detail |
---|
public static final java.lang.String STR_MVC_CLASS_NAME
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_NEW_UUID
public static final int EXPLIST_COL_NEW_NAME
public static final int EXPLIST_COL_MAX
public static final java.lang.String SUBSPACE_KEY_SELECTDEPENDENCYTREE
protected XPHashtable m_htAllMissingDependencies
protected XPHashtable m_htObjectsWithMissingDependencies
protected XPArrayList[] m_xparObjectsInPackage
Constructor Detail |
---|
public MigrationDependencyListModel()
Method Detail |
---|
public void Init(AActivitySpace parent)
Init
in interface IModel
Init
in class EditorHelperModel
parent
- the parent Activity Spacepublic java.lang.String GetName()
EditorHelperModel
GetName
in interface IMVCObject
GetName
in class EditorHelperModel
IMVCObject.GetName()
public void InitializeDependencies()
public void AddRowsOnRepost(XPHashtable _htFormData)
ExpListModel
AddRowsOnRepost
in class ExpListModel
_htFormData
- Form datapublic void InitializeSortedArray(PTGrowableSortedArrayWrapper _saData)
ExpListModel
InitializeSortedArray
in class ExpListModel
protected int SaveRow(PTGrowableSortedArrayWrapper _saData, int _nRowIndex, XPHashtable _htFormData)
ExpListModel
SaveRow
in class ExpListModel
public java.lang.Object Create()
EditorHelperModel
Create
in interface IManagedObject
Create
in class EditorHelperModel
public void LoadObjectsAndDependencies()
public boolean UnresolvedDependenciesExist()
public void DoEditDependency(XPHashtable _htFormData)
_htFormData
- public ASURL DoOpenDependencyTree(XPHashtable _htFormData)
public void RemoveAllUnresolvedDependenciesForObject(java.lang.String _strUUID)
_strUUID
- public CPTMigrationDependency GetUnresolvedDependency(int _intRowIndex)
_intRowIndex
-
public void UpdateMissingDependencyList(CPTMigrationDependency cptmd, java.lang.String strMappedUUID)
public void MarkReadyToImportIfResolved(IPTMigrationElement ptME)
public XPHashtable GetAllUnresolvedDependencies()
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |