|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.portaluiinfrastructure.classtypedescriptors.APTClassTypeDesc com.plumtree.portaluiinfrastructure.classtypedescriptors.APTNonExtClassTypeDesc com.plumtree.portaluiinfrastructure.classtypedescriptors.classtypes.PTPortlets
public class PTPortlets
Common Opener Mode Description: 1) Create - Portlet editor in create mode (PTPortlets). 2) Edit - Portlet editor in edit mode (APTNonExtClassTypeDesc). 3) View - Portlet preview page (PTPortlets). 4) Meta - View object properties page (APTClassTypeDesc). This ClassType supports implements several extensible methods so that it can bring up the required objects tree before opening the editor in the admin page. Since it doesn't need a provider, we treat it as non extensible.
Field Summary | |
---|---|
static java.lang.String |
PORTLET_EDITOR_QS_BOOL_FOR_COMMUNITY
Statics used to pass information to the editor through Query String arguments. |
static java.lang.String |
PORTLET_EDITOR_QS_INT_CREATOR_CLASSID
|
static java.lang.String |
PORTLET_EDITOR_QS_INT_CREATOR_ID
|
Fields inherited from class com.plumtree.portaluiinfrastructure.classtypedescriptors.APTClassTypeDesc |
---|
hasObjectLockManager, objectLockManagerMsgFileName, objectLockManagerMsgID |
Constructor Summary | |
---|---|
PTPortlets()
|
Method Summary | |
---|---|
boolean |
AppearsInMainCreateNewClassMenu()
Returns a boolean that tells the client if this class type should appear in the main create new object menu. |
java.lang.String |
GetASNameForEditor()
Returns the name of the Activity Space that is used to edit this class type. |
java.lang.String |
GetASNameForEditor(java.lang.String _strProvEnglishName)
Returns the name of the Activity Space that is used to edit this class type. |
int |
GetClassID()
Returns the class ID of the class type. |
java.lang.String |
GetClassTypeLocalizedName(java.lang.String _strLangID)
Returns the localized name for the class type. |
java.lang.String |
GetCLSIDForExistingObject(int _nObjectID,
IPTSession _ptSession)
Returns the CLSID for this object. |
int |
GetCreateActivityID()
This method returns the Activity Rights ID that the user needs to have in order to have access to make changes to this class type. |
HTMLImg |
GetDefaultIcon()
Returns the default icon for items of this class type. |
Redirect |
GetRedirectCreateNew(XPHashtable _htArguments,
AActivitySpace _asParent,
java.lang.Object _userSession)
This method is called by the Common Opener in the create mode. |
Redirect |
GetRedirectViewObject(XPHashtable _htArguments,
AActivitySpace _asParent,
java.lang.Object _userSession)
This method is called by the Common Opener in the view mode. |
int[] |
GetRelatedClassTypeIDs()
This method lets you associate the class ID for this PTClassType with other class IDs. |
boolean |
HasGlobalClassTypeMap()
Returns a boolean that tells the client if this class type is on the global class type map. |
Methods inherited from class com.plumtree.portaluiinfrastructure.classtypedescriptors.APTNonExtClassTypeDesc |
---|
GetRedirectOpenObject, IsExtensible |
Methods inherited from class com.plumtree.portaluiinfrastructure.classtypedescriptors.APTClassTypeDesc |
---|
AppearsInGlobalObjPropMap, ConstructFriendlyURL, GetClassKey, GetClassType, GetDefaultOpenerMode, GetDependentClassTypeIDs, GetObjectLockManagerLocalizedName, GetRedirectSearchBrowse, GetRedirectSearchEdit, GetRedirectViewObjectMetaData, HasCreateActivityRight, HasObjectLockManager |
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 PORTLET_EDITOR_QS_BOOL_FOR_COMMUNITY
public static final java.lang.String PORTLET_EDITOR_QS_INT_CREATOR_CLASSID
public static final java.lang.String PORTLET_EDITOR_QS_INT_CREATOR_ID
Constructor Detail |
---|
public PTPortlets()
Method Detail |
---|
public boolean AppearsInMainCreateNewClassMenu()
IPTClassTypeDesc
AppearsInMainCreateNewClassMenu
in interface IPTClassTypeDesc
AppearsInMainCreateNewClassMenu
in class APTClassTypeDesc
public java.lang.String GetASNameForEditor()
APTNonExtClassTypeDesc
GetASNameForEditor
in class APTNonExtClassTypeDesc
public java.lang.String GetASNameForEditor(java.lang.String _strProvEnglishName)
_strProvEnglishName
- The english name of the
provider that is being used for this class type.
public int GetClassID()
IPTClassTypeDesc
GetClassID
in interface IPTClassTypeDesc
GetClassID
in class APTClassTypeDesc
public java.lang.String GetClassTypeLocalizedName(java.lang.String _strLangID)
IPTClassTypeDesc
GetClassTypeLocalizedName
in interface IPTClassTypeDesc
GetClassTypeLocalizedName
in class APTClassTypeDesc
_strLangID
- The language to retrieve the name for.
public java.lang.String GetCLSIDForExistingObject(int _nObjectID, IPTSession _ptSession)
_nObjectID
- The object ID._ptSession
- The current session.
public int GetCreateActivityID()
APTClassTypeDesc
GetCreateActivityID
in class APTClassTypeDesc
public HTMLImg GetDefaultIcon()
IPTClassTypeDesc
GetDefaultIcon
in interface IPTClassTypeDesc
GetDefaultIcon
in class APTClassTypeDesc
public Redirect GetRedirectCreateNew(XPHashtable _htArguments, AActivitySpace _asParent, java.lang.Object _userSession)
IClassTypeDesc
GetRedirectCreateNew
in interface IClassTypeDesc
GetRedirectCreateNew
in class APTNonExtClassTypeDesc
_htArguments
- Arguments to reach the new space._asParent
- The parent activity space._userSession
- The current session.
public Redirect GetRedirectViewObject(XPHashtable _htArguments, AActivitySpace _asParent, java.lang.Object _userSession)
IPTClassTypeDesc
GetRedirectViewObject
in interface IPTClassTypeDesc
GetRedirectViewObject
in interface IClassTypeDesc
GetRedirectViewObject
in class APTClassTypeDesc
_htArguments
- contains the URL path._asParent
- The parent activity space._userSession
- The current session.
public int[] GetRelatedClassTypeIDs()
IPTClassTypeDesc
GetRelatedClassTypeIDs
in interface IPTClassTypeDesc
GetRelatedClassTypeIDs
in class APTClassTypeDesc
public boolean HasGlobalClassTypeMap()
IPTClassTypeDesc
HasGlobalClassTypeMap
in interface IPTClassTypeDesc
HasGlobalClassTypeMap
in class APTClassTypeDesc
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |