|
|||||||||
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.portaluiinfrastructure.expandablelist.selectptobject.SelectPTObjectModel com.plumtree.portalpages.admin.ptutilities.migrationutility.exp.MigrationSelectForExportModel
public class MigrationSelectForExportModel
Field Summary | |
---|---|
static java.lang.String |
CONTENTS_COLUMN_WIDTH
|
static java.lang.String |
DEPENDENCIES_COLUMN_WIDTH
|
static int |
EXPLIST_COL_DEPENDENCIES
This column contains the Object Class IDs. |
static int |
EXPLIST_COL_DESCRIPTION
This column contains the description |
static int |
EXPLIST_COL_FOLDER_CONTENTS
This column contains the Object Class IDs. |
static int |
EXPLIST_COL_MAX
Number total of columns |
static int |
EXPLIST_COL_SUBMITTED_BY
This column contains the migration submitter. |
static int |
EXPLIST_COL_TYPE
This column contains the Object Class IDs. |
static java.lang.String |
ICON_COLUMN_WIDTH
Column widths for the various columns. |
protected XPHashtable |
m_htObjsToMigrate
Hashtable to keep track of which objects have already been added to the list of objects to migrate. |
protected java.lang.String |
m_sAdminTreeSpaceID
Tree Space ID. |
protected java.lang.String |
m_sCurrentUser
Current username. |
protected java.lang.String |
m_sDirTreeSpaceID
Tree Space ID. |
protected java.lang.String |
m_sGlobalTreeSpaceID
Tree Space ID. |
static java.lang.String |
NAME_COLUMN_WIDTH
|
static java.lang.String |
STR_MVC_CLASS_NAME
|
static java.lang.String |
SUBMITTED_BY_COLUMN_WIDTH
|
static java.lang.String |
SUBSPACE_KEY_ADMINTREE
Key name used by the Activity Space to store the tree. |
static java.lang.String |
SUBSPACE_KEY_DIRTREE
Key name used by the Activity Space to store the tree. |
static java.lang.String |
SUBSPACE_KEY_GLOBALTREE
Key name used by the Activity Space to store the tree. |
static int |
TYPE_ADMIN_OBJ
HTML dropdown value for filtering on all. |
static int |
TYPE_DIRECTORY
HTML dropdown value for filtering on admin disabled. |
static int |
TYPE_GLOBAL
HTML dropdown value for filtering on agent disabled. |
Fields inherited from class com.plumtree.uiinfrastructure.editor.EditorHelperModel |
---|
m_asOwner |
Constructor Summary | |
---|---|
MigrationSelectForExportModel()
Inits member variables |
Method Summary | |
---|---|
void |
AddAllApproved()
Adds all approved objects to list of resources to export. |
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 |
GetAdminObjectClassIDs()
Returns String of Class ID of the Objects displayed in the tree. |
java.lang.String |
GetAdminTreeSpaceID()
Returns tree AS ID. |
java.lang.String |
GetDirectoryClassIDs()
Returns String of Class ID of the Objects displayed in the tree. |
java.lang.String |
GetDirectoryTreeSpaceID()
Returns tree AS ID. |
java.lang.String |
GetGlobalTreeSpaceID()
Returns tree AS ID. |
java.lang.String |
GetName()
Returns the Class name. |
java.lang.String |
GetTreeMultiSelect()
Returns the selection type of the tree. |
java.lang.String |
GetTreeTitle()
"Resources to Export" |
void |
InitializeSelectForExport(java.lang.String _sSectionTitle,
java.lang.String _sSectionSubTitle,
PTImageType _imgAddIcon,
java.lang.String _sAddLabel,
int[] _arrObjectClassIDs,
int _nListKey)
Initializes the expandable list. |
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 export. |
boolean |
IsAdminObject(int _intClassID)
|
boolean |
IsDirObject(int _intClassID)
|
boolean |
IsGlobalObject(int _intClassID)
|
void |
LoadResources()
Loads the list with objects that get uploaded from the Add Existing Package feature. |
protected int |
SaveRow(PTGrowableSortedArrayWrapper _saData,
int _nRowIndex,
XPHashtable _htFormData)
Saves the data for columns other than the plumtree object select column on the row _nRowIndex. |
int |
SaveSection(XPHashtable _htFormData)
Saves the data when a repost occurs. |
protected void |
SaveTreeID(XPHashtable _htFormData)
Helper method to save the Tree ID on repost. |
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.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, 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_FOLDER_CONTENTS
public static final int EXPLIST_COL_DEPENDENCIES
public static final int EXPLIST_COL_TYPE
public static final int EXPLIST_COL_SUBMITTED_BY
public static final int EXPLIST_COL_DESCRIPTION
public static final java.lang.String ICON_COLUMN_WIDTH
public static final java.lang.String NAME_COLUMN_WIDTH
public static final java.lang.String SUBMITTED_BY_COLUMN_WIDTH
public static final java.lang.String CONTENTS_COLUMN_WIDTH
public static final java.lang.String DEPENDENCIES_COLUMN_WIDTH
protected XPHashtable m_htObjsToMigrate
protected java.lang.String m_sAdminTreeSpaceID
protected java.lang.String m_sDirTreeSpaceID
protected java.lang.String m_sGlobalTreeSpaceID
protected java.lang.String m_sCurrentUser
public static final int TYPE_ADMIN_OBJ
public static final int TYPE_DIRECTORY
public static final int TYPE_GLOBAL
public static final java.lang.String SUBSPACE_KEY_ADMINTREE
public static final java.lang.String SUBSPACE_KEY_DIRTREE
public static final java.lang.String SUBSPACE_KEY_GLOBALTREE
Constructor Detail |
---|
public MigrationSelectForExportModel()
Method Detail |
---|
public java.lang.Object Create()
EditorHelperModel
Create
in interface IManagedObject
Create
in class SelectPTObjectModel
IManagedObject.Create()
public java.lang.String GetName()
SelectPTObjectModel
GetName
in interface IMVCObject
GetName
in class SelectPTObjectModel
IMVCObject.GetName()
public java.lang.String GetTreeMultiSelect()
SelectPTObjectModel
GetTreeMultiSelect
in interface ISelectPTObjectModelRO
GetTreeMultiSelect
in class SelectPTObjectModel
ISelectPTObjectModelRO.GetTreeMultiSelect()
public java.lang.String GetTreeTitle()
GetTreeTitle
in interface ISelectPTObjectModelRO
GetTreeTitle
in class SelectPTObjectModel
SelectPTObjectModel.GetTreeTitle()
public void InitSFE(IPTSession ptSession)
public void InitializeSelectForExport(java.lang.String _sSectionTitle, java.lang.String _sSectionSubTitle, PTImageType _imgAddIcon, java.lang.String _sAddLabel, int[] _arrObjectClassIDs, int _nListKey)
_sSectionTitle
- Main title._sSectionSubTitle
- Sub title_imgAddIcon
- Icon for the add action._sAddLabel
- Text to display next to the add icon._arrObjectClassIDs
- Class ID of the Objects displayed on the list._nListKey
- In case you have multiple Expandable Lists on
the same DP, they should have a different key (otherwise, just set it to 1).public void InitializeSortedArray(PTGrowableSortedArrayWrapper _saData)
InitializeSortedArray
in class SelectPTObjectModel
_saData
- public void LoadResources()
public int SaveSection(XPHashtable _htFormData)
ExpListModel
SaveSection
in class ExpListModel
_htFormData
- Form posted data.
EditorHelperModel.SaveSection(XPHashtable)
protected int SaveRow(PTGrowableSortedArrayWrapper _saData, int _nRowIndex, XPHashtable _htFormData)
SaveRow
in class SelectPTObjectModel
_saData
- List to update the data on row _nRowIndex_nRowIndex
- Index of the row to save._htFormData
- Data posted by the form.
public void AddRowsOnRepost(XPHashtable _htFormData)
AddRowsOnRepost
in class SelectPTObjectModel
_htFormData
- Form datapublic void DeleteRowsOnRepost(XPHashtable _htFormData)
DeleteRowsOnRepost
in class ExpListModel
_htFormData
- public void AddAllApproved()
public java.lang.String GetAdminObjectClassIDs()
public java.lang.String GetDirectoryClassIDs()
protected void SaveTreeID(XPHashtable _htFormData)
SaveTreeID
in class SelectPTObjectModel
_htFormData
- Form datapublic java.lang.String GetAdminTreeSpaceID()
public java.lang.String GetDirectoryTreeSpaceID()
public java.lang.String GetGlobalTreeSpaceID()
public boolean IsAdminObject(int _intClassID)
public boolean IsDirObject(int _intClassID)
public boolean IsGlobalObject(int _intClassID)
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |