|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IPTCommunity
Method Summary | |
---|---|
void |
AddMandatoryGroupMember(int nGroupID,
int nMemberType)
Doesn't actually add a group as mandatory member since groups are always mandatory. |
int |
AddPage(java.lang.String strPageName,
int nPageType,
int nPageTemplateID,
int nFromCommunityTemplate)
Deprecated. Method AddPage(String, int, int, int) is deprecated. Use IPTPageContainer.AddPage(int) instead. |
int |
GetCommunityTemplateID()
Get the community template ID assigned to this community. |
int |
GetFooterID()
Gets the footer ID assigned to this community. |
int |
GetHeaderID()
Gets the header ID assigned to this community. |
boolean |
GetInheritCommunityTemplate()
|
int |
GetMandatoryTabOrder()
Get the mandatory community tab priority assigned for this community. |
java.lang.String |
GetOwnerInfo()
Get the owner info for this community. |
boolean |
GetSiteMapDisabled()
Checks if the community sitemap is disabled for this community. |
IPTSiteMapFolder |
GetSiteMapRoot()
Get the root sitemap folder for this community |
IPTMyPortal |
OpenPage(int nPageID)
Deprecated. Method OpenPage is deprecated. Use IPTPageContainer.GetPage instead. IPTCommunity extends IPTPageContainer. |
IPTQueryResult |
QueryMembers(int nMemberType)
Get either the users or groups who are members of this community. |
IPTQueryResult |
QuerySubcommunities()
Queries for Subcommunities in the current community that the current user has at least READ access to. |
void |
RemoveMandatoryGroupMember(int nGroupID)
Removes a group from this community's membership list, note that the group's ACL will still remain unchanged. |
void |
RemovePage(int nPageID)
Deprecated. RemovePage is deprecated. Use IPTPageManager.Delete(nPageID) instead. |
void |
ResetPageName(int nPageID,
java.lang.String strPageName)
Deprecated. Method ResetPageName is deprecated. Use IPTPage.SetName instead. |
void |
ResetPagePageTemplateID(int nPageID,
int nPageTemplateID)
Deprecated. Method ResetPagePageTemplateID is deprecated. Use IPTPage.SetPageTemplateID instead. |
void |
ResetPageType(int nPageID,
int nPageType)
Deprecated. Method ResetPageType is deprecated. Use IPTPage.SetPageType instead. |
void |
ResetPageURL(int nPageID,
java.lang.String strURL)
Deprecated. - URL can no longer be set on Pages |
void |
SetCommunityTemplateID(int nCommunityTemplateID)
Assigns a community template to this community. |
void |
SetFooterID(int nFooterID)
Assigns new Footer ID to this community. |
void |
SetHeaderID(int nHeaderID)
Assigns new Header ID to this community. |
void |
SetInheritCommunityTemplate(boolean bInheritCommunityTemplate)
Set whether the Community should inherit the settings of the Community Template. |
void |
SetMandatoryTabOrder(int nMandatoryTabOrder)
Assigns new mandatory community tab priority for this community. |
void |
SetOwnerInfo(java.lang.String strOwnerInfo)
Assigns new owner info for this community. |
void |
SetSiteMapDisabled(boolean bValue)
Sets flag to disable sitemap. |
Methods inherited from interface com.plumtree.server.IPTPageContainer |
---|
AssignPages, AssignPages, GetPage, QueryPages |
Methods inherited from interface com.plumtree.server.IPTPreferencesContext |
---|
AddPreference, AddPreference, AddPreference, AddPreference, AddPreference, AssignPreferences, LookupPreference, LookupPreferences, RemovePreference, RemovePreferences |
Methods inherited from interface com.plumtree.server.IPTObject |
---|
GetAdminFolderID, GetClassID, GetCreated, GetImageUUID, GetLastModified, GetObjectProperties, SetAdminFolderID, SetImageUUID, SetLastModified |
Methods inherited from interface com.plumtree.server.IPTLocalizable |
---|
GetDescription, GetIsLocalized, GetLocalizedDescription, GetLocalizedDescriptions, GetLocalizedName, GetLocalizedNames, GetName, GetPrimaryLang, GetSupportsLocalization, SetDescription, SetIsLocalized, SetLocalizedDescriptions, SetLocalizedNames, SetName, SetPrimaryLang |
Methods inherited from interface com.plumtree.server.IPTUnknown |
---|
GetInterfaces |
Methods inherited from interface com.plumtree.server.IPTServerContext |
---|
GetAccessLevel, GetACL, GetLastModifiedBy, GetLockState, GetObjectID, GetOwnerID, GetServerContextSettings, GetSession, GetSettings, LockObject, SetLastModifiedBy, SetObjectID, SetOwnerID, SetServerContextSettings, SetSettings, UnlockObject |
Methods inherited from interface com.plumtree.server.IPTStorable |
---|
Store |
Method Detail |
---|
int AddPage(java.lang.String strPageName, int nPageType, int nPageTemplateID, int nFromCommunityTemplate)
strPageName
- Name of pagenPageType
- One of the constants defined in PT_PAGE_TYPES, right now only PT_PAGETYPE_REGULARnPageTemplateID
- PageTemplateIDnFromCommunityTemplate
- 1 if the pagetemplate is in a communitytemplate, 0 or less otherwisePT_PAGE_TYPES
void RemovePage(int nPageID)
nPageID
- ID of the page to remove
java.lang.Exception
- with PT_RESULTCODES.PT_E_INSUFFICIENTROLEACCESS errorcode if the user has insufficient
access to the communityIPTMyPortal OpenPage(int nPageID)
nPageID
- Page ID
java.lang.Exception
- with PT_RESULTCODES.PT_E_INSUFFICIENTROLEACCESS errorcode if the user has insufficient
access to the communityIPTQueryResult QueryMembers(int nMemberType)
nMemberType
- Either PT_CLASSIDS.PT_USER_ID or PT_CLASSIDS.PT_USERGROUP_ID
PT_CLASSIDS
IPTQueryResult QuerySubcommunities()
void AddMandatoryGroupMember(int nGroupID, int nMemberType)
nGroupID
- Only positive IDs, i.e. negative IDs for users are not accepted.nMemberType
- Either PT_COMMUNITY_MEMBERSHIPTYPE.PT_COMMUNITYMEMBER_TAB or
PT_COMMUNITY_MEMBERSHIPTYPE.PT_COMMUNITYMEMBER_MANDATORY.
Groups cannot be set to PT_COMMUNITY_MEMBERSHIPTYPE.PT_COMMUNITYMEMBER_FREE.PT_COMMUNITY_MEMBERSHIPTYPE
void RemoveMandatoryGroupMember(int nGroupID)
nGroupID
- ID of the group to remove, users (negative IDs) are not accepted.
java.lang.Exception
- with PT_RESULTCODES.PT_E_INSUFFICIENTROLEACCESS errorcode if the user has insufficient
access to the communityjava.lang.String GetOwnerInfo()
void SetOwnerInfo(java.lang.String strOwnerInfo)
strOwnerInfo
- New owner infoint GetMandatoryTabOrder()
void SetMandatoryTabOrder(int nMandatoryTabOrder)
nMandatoryTabOrder
- One of the mandatory community tab priority defined in PT_MANDATORYORDERINGPT_MANDATORYORDERING
void ResetPageName(int nPageID, java.lang.String strPageName)
nPageID
- ID of the page to renamestrPageName
- New page name
java.lang.Exception
- with PT_RESULTCODES.PT_E_INSUFFICIENTROLEACCESS errorcode if the user has insufficient
access to the communityPT_SERVERCONSTANTS.PT_MAX_PAGENAMELENGTH
void ResetPageURL(int nPageID, java.lang.String strURL)
void ResetPageType(int nPageID, int nPageType)
nPageID
- ID of page to assign new pagetype tonPageType
- New pagetype for the specified pageIPTSiteMapFolder GetSiteMapRoot()
void ResetPagePageTemplateID(int nPageID, int nPageTemplateID)
nPageID
- ID of Page to assign new pagetemplate tonPageTemplateID
- ID of new pagetemplate for the specified page
java.lang.Exception
- with PT_RESULTCODES.PT_E_INSUFFICIENTROLEACCESS if the user has insufficient
access to the communityint GetCommunityTemplateID()
void SetCommunityTemplateID(int nCommunityTemplateID)
nCommunityTemplateID
- ID of the new community template
java.lang.Exception
- with PT_RESULTCODES.PT_E_INSUFFICIENTROLEACCESS errorcode if the user has insufficient
access to the communityint GetHeaderID()
void SetHeaderID(int nHeaderID)
nHeaderID
- ID of a header gadget
java.lang.Exception
- with PT_RESULTCODES.PT_E_INSUFFICIENTROLEACCESS errorcode if the user has insufficient
access to the communityint GetFooterID()
void SetFooterID(int nFooterID)
nFooterID
- ID of a footer gadget
java.lang.Exception
- with PT_RESULTCODES.PT_E_INSUFFICIENTROLEACCESS errorcode if the user has insufficient
access to the communityboolean GetSiteMapDisabled()
void SetSiteMapDisabled(boolean bValue)
bValue
- true to disable sitemap in this community, false to enableboolean GetInheritCommunityTemplate()
void SetInheritCommunityTemplate(boolean bInheritCommunityTemplate)
bInheritCommunityTemplate
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |