|
|||||||||
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.portalpages.browsing.editors.sitemap.sitemapfolderplugin.SiteMapFolderPlugInModel
public class SiteMapFolderPlugInModel
This Model contains the state of the plug-in section.
Field Summary | |
---|---|
static java.lang.String |
STR_MVC_CLASS_NAME
The unique identifier for the class |
Fields inherited from class com.plumtree.uiinfrastructure.editor.EditorHelperModel |
---|
m_asOwner |
Constructor Summary | |
---|---|
SiteMapFolderPlugInModel()
|
Method Summary | |
---|---|
void |
AddWebLink(XPHashtable _htFormData)
Repost action method for adding a link being edited to the array of links being actively worked on. |
boolean |
AreCommunitiesEnabled()
Are communities enabled for this subportal? |
void |
ClearDeletedLinks()
|
void |
ClearLinks()
This repost function clears the list of web links (in reverse order) |
void |
ClearNewlyAddedLinks()
|
void |
ClearUpdatedWebLinks()
|
void |
CopyLinks(IPTSiteMapFolder _siteMapFolderDest,
IPTSiteMapFolder _siteMapFolderSrc)
This function clones links from source site map folder to destination site map folder. |
java.lang.Object |
Create()
This method is used by the ASManager to return new instances of managed objects. |
void |
DeleteLinks()
Deletes the links selected in the tree |
void |
DetachLinks()
This function clones the site map folder that is attached to a subportal and replaces the working copy with the clone. |
void |
EditWebLink(XPHashtable _htFormData)
This repost method sets the m_strEditedID member variable, which is read by the view. |
java.lang.String |
GetCommPageSubSpaceID()
Returns the subspace ID used by the Community Page tree control. |
XPArrayList |
GetDeletedLinks()
|
java.lang.String |
GetDocumentSubSpaceID()
Returns the subspace ID used by the Document tree control. |
java.lang.String |
GetEditedID()
Returns the unique identifier for the web link that the user is currently editing (if any). |
java.lang.String |
GetExpertSubSpaceID()
Returns the subspace ID used by the Expert tree control. |
XPArrayList |
GetLinks()
Returns a queryresult wrapper with the list of links associated with the object being edited |
PTSortedArrayWrapper |
GetLinksAlphaSorted()
Returns the Links sorted alphabetically |
java.lang.String |
GetName()
Returns the Class name. |
XPArrayList |
GetNewlyAddedLinks()
|
int |
GetObjectID()
Returns the objectID for the site map folder being edited |
IPTSiteMapFolder |
GetPTObject()
Returns the IPTSiteMapFolder object being manipulated |
java.lang.String |
GetSelectedCommPagesAsString()
Get the selected community pages for the tree in "communityid,pageid;communityid,pageid" format (this is how the comm page tree is set to display the locations) |
java.lang.String |
GetSelectedDirItemsAsString()
Get the selected docs and folders for the tree in the "classid, objectid" format |
java.lang.String |
GetSelectedUsersString()
Get the selected users for the tree in the "classid, object format" |
XPArrayList |
GetUpdatedWebLinks()
|
int |
GetWebLinkCount()
Helper method to return the number of links currently cached in the working list |
java.lang.String |
GetWebLinkDesc()
Returns the description of the web link we are working on. |
java.lang.String |
GetWebLinkName()
Returns the name of the web link we are working on. |
java.lang.String[][] |
GetWebLinks()
Returns a 2D array of strings containing all of the web link information |
java.lang.String |
GetWebLinkURL()
Returns the URL of the web link we are working on. |
void |
InitializePlugIn(IPTSiteMapFolder _SiteMapFolder)
To initialize this plug-in you need to set the DP name and the default value of the plug-in setting. |
boolean |
IsDirectoryEnabled()
Is the directory enabled for this subportal? |
boolean |
IsDuplicated()
Returns true if the site map folder is used on multiple subportals |
void |
RefreshItemFromTree(int intObjectType,
java.lang.String strSubSpaceID)
This method gets the selected items from the tree, setting member variables for ObjectID and name of the object selected. |
void |
RemoveLinks(XPHashtable _htFormData)
This repost function removes links from the temporary working set. |
int |
SaveSection(XPHashtable _htFormData)
Saves the data on the Main page. |
void |
SaveWebLinks(XPHashtable _htFormData)
This method commits the current working set of web links to the Plumtree object |
void |
SetCommPageSubSpaceID(java.lang.String _strCommPageSubSpaceID)
Returns the subspace ID used by the Community Page tree control. |
void |
SetDocumentSubSpaceID(java.lang.String _strDocumentSubSpaceID)
Returns the subspace ID used by the Document tree control. |
void |
SetEditedID(java.lang.String editedID)
Sets the unique identifier for the web link that the user is currently editing (if any). |
void |
SetExpertSubSpaceID(java.lang.String _strExpertSubSpaceID)
Returns the subspace ID used by the Expert tree control. |
void |
SetWebLinkDesc(java.lang.String desc)
Sets the desccription of the URL we are working on. |
void |
SetWebLinkName(java.lang.String name)
Sets the name of the link we are working on. |
void |
SetWebLinkURL(java.lang.String webURL)
Sets the URL of the link we are working on. |
void |
StoreLinks()
|
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 |
Field Detail |
---|
public static final java.lang.String STR_MVC_CLASS_NAME
Constructor Detail |
---|
public SiteMapFolderPlugInModel()
Method Detail |
---|
public void DeleteLinks()
public void RefreshItemFromTree(int intObjectType, java.lang.String strSubSpaceID)
intObjectType
- intObjectType - equal to the corresponding repost
actionpublic void DetachLinks()
public void CopyLinks(IPTSiteMapFolder _siteMapFolderDest, IPTSiteMapFolder _siteMapFolderSrc)
public void AddWebLink(XPHashtable _htFormData)
public void SaveWebLinks(XPHashtable _htFormData)
public void RemoveLinks(XPHashtable _htFormData)
_htFormData
- public void EditWebLink(XPHashtable _htFormData)
_htFormData
- - The HTML data coming back from the viewpublic XPArrayList GetNewlyAddedLinks()
public void ClearNewlyAddedLinks()
public XPArrayList GetUpdatedWebLinks()
public void ClearUpdatedWebLinks()
public XPArrayList GetDeletedLinks()
public void ClearDeletedLinks()
public void ClearLinks()
public java.lang.Object Create()
EditorHelperModel
Create
in interface IManagedObject
Create
in class EditorHelperModel
IManagedObject.Create()
public java.lang.String GetName()
GetName
in interface IMVCObject
GetName
in class EditorHelperModel
public IPTSiteMapFolder GetPTObject()
GetPTObject
in interface ISiteMapFolderPlugInModelRO
public XPArrayList GetLinks()
GetLinks
in interface ISiteMapFolderPlugInModelRO
public PTSortedArrayWrapper GetLinksAlphaSorted()
ISiteMapFolderPlugInModelRO
GetLinksAlphaSorted
in interface ISiteMapFolderPlugInModelRO
public void InitializePlugIn(IPTSiteMapFolder _SiteMapFolder)
_sPlugInSetting
- public int SaveSection(XPHashtable _htFormData)
SaveSection
in class EditorHelperModel
_htFormData
-
public void StoreLinks()
public boolean IsDirectoryEnabled()
ISiteMapFolderPlugInModelRO
IsDirectoryEnabled
in interface ISiteMapFolderPlugInModelRO
ISiteMapFolderPlugInModelRO.IsDirectoryEnabled()
public boolean AreCommunitiesEnabled()
ISiteMapFolderPlugInModelRO
AreCommunitiesEnabled
in interface ISiteMapFolderPlugInModelRO
ISiteMapFolderPlugInModelRO.AreCommunitiesEnabled()
public int GetObjectID()
GetObjectID
in interface ISiteMapFolderPlugInModelRO
public java.lang.String GetSelectedUsersString()
ISiteMapFolderPlugInModelRO
GetSelectedUsersString
in interface ISiteMapFolderPlugInModelRO
public java.lang.String GetSelectedDirItemsAsString()
ISiteMapFolderPlugInModelRO
GetSelectedDirItemsAsString
in interface ISiteMapFolderPlugInModelRO
public java.lang.String GetSelectedCommPagesAsString()
ISiteMapFolderPlugInModelRO
GetSelectedCommPagesAsString
in interface ISiteMapFolderPlugInModelRO
public boolean IsDuplicated()
IsDuplicated
in interface ISiteMapFolderPlugInModelRO
public java.lang.String GetExpertSubSpaceID()
GetExpertSubSpaceID
in interface ISiteMapFolderPlugInModelRO
public void SetExpertSubSpaceID(java.lang.String _strExpertSubSpaceID)
__strExpertSubSpaceID
- The subspace id being setpublic java.lang.String GetDocumentSubSpaceID()
GetDocumentSubSpaceID
in interface ISiteMapFolderPlugInModelRO
public void SetDocumentSubSpaceID(java.lang.String _strDocumentSubSpaceID)
__strExpertSubSpaceID
- The subspace id being setpublic java.lang.String GetCommPageSubSpaceID()
GetCommPageSubSpaceID
in interface ISiteMapFolderPlugInModelRO
public void SetCommPageSubSpaceID(java.lang.String _strCommPageSubSpaceID)
__strCommPageSubSpaceID
- The subspace id being setpublic java.lang.String[][] GetWebLinks()
GetWebLinks
in interface ISiteMapFolderPlugInModelRO
public int GetWebLinkCount()
GetWebLinkCount
in interface ISiteMapFolderPlugInModelRO
public java.lang.String GetWebLinkDesc()
GetWebLinkDesc
in interface ISiteMapFolderPlugInModelRO
public java.lang.String GetWebLinkName()
GetWebLinkName
in interface ISiteMapFolderPlugInModelRO
public java.lang.String GetWebLinkURL()
GetWebLinkURL
in interface ISiteMapFolderPlugInModelRO
public void SetWebLinkDesc(java.lang.String desc)
desc
- The description to setpublic void SetWebLinkName(java.lang.String name)
name
- The name to Setpublic void SetWebLinkURL(java.lang.String webURL)
webURL
- The URL to Setpublic java.lang.String GetEditedID()
GetEditedID
in interface ISiteMapFolderPlugInModelRO
public void SetEditedID(java.lang.String editedID)
editedID
- The editedID to set
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |