Plumtree Portal UI  
 

IPTClassTypeDesc Members

IPTClassTypeDesc overview

Public Instance Methods

AppearsInGlobalObjPropMap Returns a boolean that tells the client if this class type appears in the global object property map utility.
AppearsInMainCreateNewClassMenu Returns a boolean that tells the client if this class type should appear in the main create new object menu.
ConstructFriendlyURL Generates a friendly URL to the implementing class type. Ideally the object name is provided, otherwise if only the object id is provided, the method has to look up the object name. If both are provided, both the object name and object id is used in the friendly url.
GetClassID Returns the class ID of the class type. Use the PT_CLASSIDS constant to determine/reference IDs.
GetClassTypeLocalizedName Returns the localized name for the class type. For example, the name for users is "User" in English.
GetDefaultIcon Returns the default icon for items of this class type.
GetDependentClassTypeIDs This method lets you specify what kind of PTClassTypes depend on this PTClassType. One application for this is to make sure to try to delete dependent items before deleting the main item, otherwise the delete may fail because there are dependent items. This method should only return class types that are directly dependent on this class type. For example, Remote Servers should return Web Services, but not Portlets. Web Services should return Portlets. Return NULL if there are no related class types. NOTE: This does not support circular loops of dependencies (I.E. A -> B -> C -> A). This behavior is undefined, and will mostly likely cause deletes of those objects to fail.
GetObjectLockManagerLocalizedName Returns the localized name that will be displayed on the left navigation menu of "Admin UI->Release Item Locks" page.
GetRedirectViewObject This method is called by the Common Opener in the view 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.
GetRelatedClassTypeIDs This method lets you associate the class ID for this PTClassType with other class IDs. One application for this is at the end of the editor creation wizard, it provides shortcut links to create related objets. Return NULL if there are no related class types.
HasGlobalClassTypeMap Returns a boolean that tells the client if this class type is on the global class type map.
HasObjectLockManager Returns a boolean that tells the client if this class included/supported on the "Admin UI->Release Item Locks" page.
IsExtensible Returns a boolean that tells the client if this class type is extensible.

See Also

IPTClassTypeDesc Interface | com.plumtree.portaluiinfrastructure.classtypedescriptors Namespace