Portlet Factory, Version 6.1.2


 

Profile retrieval

A new interface is available that supports the retrieval of a potentially larger number of profiles. This interface is the description of the profile and not all of its data. The different storage handlers implement this class.

/**
* Interface that describes information about a Profile
*
*/
public interface ProfileDescription
/**
* Gets the name of this Profile.
*
* If using qualified profile names the name returned will be the fully qualified name of the Profile (e.g. "acme.hr.gold").
* If not using qualified profile names the name returned will be the non-qualified name (e.g. "gold").
*
* @return The name of this Profile.
*/
 public String getName();
/**
* Gets the non-qualified name of this Profile.
*
* @return The non-qualified Profile name (e.g. "gold").
*/ public String getShortName();
/**
* Gets the name of the parent Profile.
*
* If using qualified profile names the name returned will be the fully qualified name of the Profile (e.g. "acme.hr.gold").
* If not using qualified profile names the name returned will be the non-qualified name (e.g. "gold").
*
* @return The parent name.
*/ public String getParent();
/**
* Gets if this Profile is specified to be a container, which means that it can have children Profile nodes.
*
* @return true if this Profile is a container, else false.
*/ public boolean isContainer();
}

Parent topic: Profiles


Library | Support |