Plumtree Portal UI  
 

FriendlyURL Methods

The methods of the FriendlyURL class are listed below. For a complete list of FriendlyURL class members, see the FriendlyURL Members topic.

Public Static Methods

DeNormalizeObjectName Reverses any character replacement performed in FriendlyURL#NormalizeObjectName, except for character casing. All characters will be lower case. NOTE: This method is duplicated on ObjectIdFromNameCache class in the server. Make sure to update both methods.
NormalizeObjectName Convert PTObject name into a format that is suitable for friendly Urls. Use FriendlyURL#DeNormalizeObjectName to convert the value back. The casing of the object name is not preserved through the conversion NOTE: This method is duplicated on ObjectIdFromNameCache class in the server. Make sure to update both methods.

Public Instance Methods

Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetChildId 
GetChildName 
GetClassId 
GetClassIdAsString 
GetFriendlyURL Constructs the Friendly URL and returns it as a string. Only the friendly url part is returned, no the application base url part or server.pt/ Note that any application base url used with friendly url cannot have a trailing question mark.
GetFullFriendlyURL Constructs the Friendly URL and returns it as a string. The application base url (without trailing question mark) is included.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetObjectId 
GetOjectName 
GetType (inherited from Object)Gets the Type of the current instance.
GetUseIdIfAvailable 
SetChildId 
SetChildName 
SetClassId 
SetObjectId 
SetObjectName 
SetUseIdIfAvailable 
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

FriendlyURL Class | com.plumtree.portaluiinfrastructure.friendlyurl Namespace