|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.portalpages.browsing.objectselection.portlets.PortletSelectionModelHelper
public class PortletSelectionModelHelper
Field Summary | |
---|---|
static int |
COL_GADGET_ALIGNMENT
Selected Info Array: Portlet Alignment Column |
static int |
COL_GADGET_MAX
Selected Info Array: Number of Columns |
static int |
COL_HEADER_BUNDLE_MAX
Header Array: Number of Columns for bundle |
static int |
COL_HEADER_CB
Header Array: Checkbox Input Name |
static int |
COL_HEADER_INVITE
Header Array: Invites |
static int |
COL_HEADER_NAME
Header Array: Names |
static int |
COL_HEADER_PORTLET_MAX
Header Array: Number of Columns for gadget |
static int |
COL_HEADER_SIZE
Header Array: Portlet Size |
protected AActivitySpace |
m_asOwner
Activity Space |
static java.lang.String |
SUBSPACE_NAME_PORTLETSINBUNDLE
Subspace Key for Portlets in Portlet Bundle |
static int |
VIEW_INDEX_BUNDLE
Section Index: Bundle |
static int |
VIEW_INDEX_PORTLET
Section Index: Portlet |
Constructor Summary | |
---|---|
PortletSelectionModelHelper(AActivitySpace asOwner)
Creates a new PortletSelectionModelHelper object. |
Method Summary | |
---|---|
void |
AddFormInputsForEachObject(XPHashtable htFormData,
IASQueryResult asqr,
int nObjectViewIndex)
Add a unique input to the form input hash table. |
int |
Get508SearchStringMsgIndex(int nStringIndex)
|
XPSortedDictionary |
GetDoNotShowObjectIDs(ObjectSelectionModel model,
int nObjectViewIndex)
Get object IDs of object not to show in the object selection. |
java.lang.String[] |
GetHeaders(int nObjectViewIndex)
Returns the strings for the headers. |
int |
GetNumObjectViews()
Returns the number of object views this model must display. |
java.lang.String |
GetObjectBannerTitle(java.lang.String strCurrentFolderName,
int nObjectViewIndex)
Get the banner title for the object banner. |
java.lang.String |
GetObjectInputName(int nObjectViewIndex)
Gets the object input name |
IPTObjectManager |
GetObjectMan(IPTSession ptSession,
int nObjectViewIndex)
Gets the an object manager. |
IASQueryResult |
GetObjects(IPTSession ptSession,
IPTAdminFolder ptFolder)
Gets a queryresult of the objects to display. |
int |
GetObjectType(int nObjectViewIndex)
Gets the object type. |
java.lang.String |
GetPageName(ObjectSelectionModel model)
Method GetPageName. |
int |
GetPropIDsToQuery(int nObjectViewIndex)
Gets the property IDs to query for. |
java.lang.Object[][] |
GetQueryFilter(ObjectSelectionModel model,
int nObjectViewIndex)
Get query filter to use when query for selectable objects. |
Redirect |
GetRedirectAfterFinish(ObjectSelectionModel model)
Get the redirect for after the editor has finished. |
java.lang.String |
GetSearchHeaderTitle()
Get the title for the search header. |
java.lang.Object[] |
GetSelectedInfo(int nIndex,
IASQueryResult asqr)
Gets the information to store in the selected dictionary. |
java.lang.Object[][] |
GetSelectedObjects(ObjectSelectionModel model)
Get the selected objects |
boolean |
GetShouldSavePage()
Returns whether the model should save the page on repost. |
boolean |
GetStartInSearch()
Returns whether the object selection page should start in search mode. |
void |
InitializeFormInputs(XPHashtable htFormData)
Initialize the form input hash table. |
void |
SetSelectedObjects(ObjectSelectionModel model,
XPSortedDictionary xpsdOldSelectedObjects,
XPSortedDictionary xpsdNewSelectedObjects)
Set the selected objects. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String SUBSPACE_NAME_PORTLETSINBUNDLE
public static final int VIEW_INDEX_PORTLET
public static final int VIEW_INDEX_BUNDLE
public static final int COL_GADGET_MAX
public static final int COL_GADGET_ALIGNMENT
public static final int COL_HEADER_PORTLET_MAX
public static final int COL_HEADER_BUNDLE_MAX
public static final int COL_HEADER_CB
public static final int COL_HEADER_NAME
public static final int COL_HEADER_SIZE
public static final int COL_HEADER_INVITE
protected AActivitySpace m_asOwner
Constructor Detail |
---|
public PortletSelectionModelHelper(AActivitySpace asOwner)
asOwner
- Method Detail |
---|
public void AddFormInputsForEachObject(XPHashtable htFormData, IASQueryResult asqr, int nObjectViewIndex)
IObjectSelectionModelHelper
AddFormInputsForEachObject
in interface IObjectSelectionModelHelper
IObjectSelectionModelHelper.AddFormInputsForEachObject(XPHashtable, IASQueryResult, int)
public XPSortedDictionary GetDoNotShowObjectIDs(ObjectSelectionModel model, int nObjectViewIndex)
IObjectSelectionModelHelper
GetDoNotShowObjectIDs
in interface IObjectSelectionModelHelper
com.plumtree.portalpages.browsing.selection.IObjectSelectionModelHelper#GetDoNotShowObjectIDs(ObjectSelectionModel)
public java.lang.String[] GetHeaders(int nObjectViewIndex)
IObjectSelectionModelHelper
GetHeaders
in interface IObjectSelectionModelHelper
com.plumtree.portalpages.browsing.objectselection.IObjectSelectionModelHelper#GetHeaders()
public int GetNumObjectViews()
IObjectSelectionModelHelper
GetNumObjectViews
in interface IObjectSelectionModelHelper
IObjectSelectionModelHelper.GetNumObjectViews()
public java.lang.String GetObjectBannerTitle(java.lang.String strCurrentFolderName, int nObjectViewIndex)
IObjectSelectionModelHelper
GetObjectBannerTitle
in interface IObjectSelectionModelHelper
com.plumtree.portalpages.browsing.selection.IObjectSelectionModelHelper#GetObjectBannerTitle(String)
public java.lang.String GetObjectInputName(int nObjectViewIndex)
IObjectSelectionModelHelper
GetObjectInputName
in interface IObjectSelectionModelHelper
com.plumtree.portalpages.browsing.selection.IObjectSelectionModelHelper#GetObjectInputName(ObjectSelectionModel)
public IPTObjectManager GetObjectMan(IPTSession ptSession, int nObjectViewIndex)
IObjectSelectionModelHelper
GetObjectMan
in interface IObjectSelectionModelHelper
com.plumtree.portalpages.browsing.selection.IObjectSelectionModelHelper#GetObjects(IPTSession)
public int GetObjectType(int nObjectViewIndex)
IObjectSelectionModelHelper
GetObjectType
in interface IObjectSelectionModelHelper
com.plumtree.portalpages.browsing.selection.IObjectSelectionModelHelper#GetObjectType()
public IASQueryResult GetObjects(IPTSession ptSession, IPTAdminFolder ptFolder)
IObjectSelectionModelHelper
GetObjects
in interface IObjectSelectionModelHelper
ptSession
- ptFolder
-
public int GetPropIDsToQuery(int nObjectViewIndex)
IObjectSelectionModelHelper
GetPropIDsToQuery
in interface IObjectSelectionModelHelper
com.plumtree.portalpages.browsing.selection.IObjectSelectionModelHelper#GetPropIDsToQuery()
public java.lang.Object[][] GetQueryFilter(ObjectSelectionModel model, int nObjectViewIndex)
GetQueryFilter
in interface IObjectSelectionModelHelper
public Redirect GetRedirectAfterFinish(ObjectSelectionModel model)
IObjectSelectionModelHelper
GetRedirectAfterFinish
in interface IObjectSelectionModelHelper
com.plumtree.portalpages.browsing.selection.IObjectSelectionModelHelper#GetRedirectAfterFinish()
public java.lang.Object[] GetSelectedInfo(int nIndex, IASQueryResult asqr)
IObjectSelectionModelHelper
GetSelectedInfo
in interface IObjectSelectionModelHelper
IObjectSelectionModelHelper.GetSelectedInfo(int, IASQueryResult)
public java.lang.Object[][] GetSelectedObjects(ObjectSelectionModel model)
IObjectSelectionModelHelper
GetSelectedObjects
in interface IObjectSelectionModelHelper
com.plumtree.portalpages.browsing.selection.IObjectSelectionModelHelper#GetSelectedObjects(ObjectSelectionModel)
public boolean GetShouldSavePage()
IObjectSelectionModelHelper
GetShouldSavePage
in interface IObjectSelectionModelHelper
com.plumtree.portalpages.browsing.selection.IObjectSelectionModelHelper#GetShouldSavePage()
public void InitializeFormInputs(XPHashtable htFormData)
IObjectSelectionModelHelper
InitializeFormInputs
in interface IObjectSelectionModelHelper
IObjectSelectionModelHelper.InitializeFormInputs(XPHashtable)
public void SetSelectedObjects(ObjectSelectionModel model, XPSortedDictionary xpsdOldSelectedObjects, XPSortedDictionary xpsdNewSelectedObjects)
IObjectSelectionModelHelper
SetSelectedObjects
in interface IObjectSelectionModelHelper
xpsdOldSelectedObjects
- xpsdOldSelectedObjectsxpsdNewSelectedObjects
- xpsdNewSelectedObjectscom.plumtree.portalpages.browsing.selection.IObjectSelectionModelHelper#SetSelectedObjects(ObjectSelectionModel,
XPSortedDictionary, XPSortedDictionary)
public java.lang.String GetPageName(ObjectSelectionModel model)
model
-
public boolean GetStartInSearch()
IObjectSelectionModelHelper
GetStartInSearch
in interface IObjectSelectionModelHelper
public java.lang.String GetSearchHeaderTitle()
IObjectSelectionModelHelper
GetSearchHeaderTitle
in interface IObjectSelectionModelHelper
public int Get508SearchStringMsgIndex(int nStringIndex)
Get508SearchStringMsgIndex
in interface IObjectSelectionModelHelper
nStringIndex
- is the index of the message files index
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |