com.plumtree.portaluiinfrastructure.classtypedescriptors
Class APTNonExtClassTypeDesc
java.lang.Object
com.plumtree.portaluiinfrastructure.classtypedescriptors.APTClassTypeDesc
com.plumtree.portaluiinfrastructure.classtypedescriptors.APTNonExtClassTypeDesc
- All Implemented Interfaces:
- IPTClassTypeDesc, IClassTypeDesc
- Direct Known Subclasses:
- APTNonExtClassTypeDesc, PTAdminFolders, PTCommunities, PTCommunityTemplates, PTDocFolders, PTDocTypes, PTExternalOperations, PTFilters, PTGlobalObjects, PTGroups, PTGuestLogins, PTInvitations, PTJobs, PTMyPages, PTPages, PTPageTemplates, PTPortletBundles, PTPortlets, PTPortletTemplates, PTProfilePages, PTProfileSections, PTProperties, PTRemoteServers, PTSavedSearches, PTSiteMapFolders, PTSubPortals, PTTaxonomist, PTUsers
public abstract class APTNonExtClassTypeDesc
- extends APTClassTypeDesc
This class provides the contract for non-extensible PTClassTypes.
It provides basic implementations for GetRedirectCreateNew and
GetRedirectOpenObject, two of the modes of the Common Opener.
- Author:
- John Osborne
Method Summary |
abstract java.lang.String |
GetASNameForEditor()
Returns the name of the Activity Space that is used
to edit 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 |
GetRedirectOpenObject(XPHashtable _htArguments,
AActivitySpace _asParent,
java.lang.Object _userSession)
This method is called by the Common Opener in the edit
mode. |
boolean |
IsExtensible()
Returns a boolean that tells the client if this class
type is extensible. |
Methods inherited from class com.plumtree.portaluiinfrastructure.classtypedescriptors.APTClassTypeDesc |
AppearsInGlobalObjPropMap, AppearsInMainCreateNewClassMenu, ConstructFriendlyURL, GetClassID, GetClassKey, GetClassType, GetClassTypeLocalizedName, GetCreateActivityID, GetDefaultIcon, GetDefaultOpenerMode, GetDependentClassTypeIDs, GetObjectLockManagerLocalizedName, GetRedirectSearchBrowse, GetRedirectSearchEdit, GetRedirectViewObject, GetRedirectViewObjectMetaData, GetRelatedClassTypeIDs, HasCreateActivityRight, HasGlobalClassTypeMap, HasObjectLockManager |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
APTNonExtClassTypeDesc
public APTNonExtClassTypeDesc()
GetASNameForEditor
public abstract java.lang.String GetASNameForEditor()
- Returns the name of the Activity Space that is used
to edit this class type.
- Returns:
- The name of the Activity Space that is used
to edit this class type.
GetRedirectCreateNew
public Redirect GetRedirectCreateNew(XPHashtable _htArguments,
AActivitySpace _asParent,
java.lang.Object _userSession)
- Description copied from interface:
IClassTypeDesc
- This method is called by the Common Opener in the create
mode. Depending on what class type you are dealing with,
the Common Opener will invoke the correct implemented
method. Some class types may need to override this so
that they can put additional control arguments in.
- Specified by:
GetRedirectCreateNew
in interface IClassTypeDesc
- Specified by:
GetRedirectCreateNew
in class APTClassTypeDesc
- Parameters:
_htArguments
- Arguments to reach the new space._asParent
- The parent activity space._userSession
- The current session.
- Returns:
- A redirect that will bring you to the create
activity space for the particular class/object.
GetRedirectOpenObject
public Redirect GetRedirectOpenObject(XPHashtable _htArguments,
AActivitySpace _asParent,
java.lang.Object _userSession)
- Description copied from interface:
IClassTypeDesc
- This method is called by the Common Opener in the edit
mode. Depending on what class type you are dealing with,
the Common Opener will invoke the correct implemented
method. Some class types may need to override this so
that they can put additional control arguments in.
- Specified by:
GetRedirectOpenObject
in interface IClassTypeDesc
- Specified by:
GetRedirectOpenObject
in class APTClassTypeDesc
- Parameters:
_htArguments
- Arguments to reach the new space._asParent
- The parent activity space._userSession
- The current session.
- Returns:
- A redirect that will bring you to the edit
activity space for the particular class/object.
IsExtensible
public boolean IsExtensible()
- Description copied from interface:
IPTClassTypeDesc
- Returns a boolean that tells the client if this class
type is extensible.
- Specified by:
IsExtensible
in interface IPTClassTypeDesc
- Specified by:
IsExtensible
in class APTClassTypeDesc
- Returns:
- A boolean that tells the client if this class
type is extensible.