|
SAP NetWeaver 7.31 Enterprise Portal (SP 16) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IFavorite
Represents a direct link to a portal object in the portal list of favorites.
A Favorite can represent either an object persisted in the portal, or an object from an external
data source, such as KM, that exposes its favorites with the help of an implementation of IFavoritesProvider.
| Nested Class Summary | |
|---|---|
static class |
IFavorite.Position
Defines the constants indicating where to move a favorite Relevant for favorites whose provider supports ordering (isOrdered() = true) |
static class |
IFavorite.Type
Defines the constants indicating the navigation type of the favorite Important: this value is not passed to the function IFavoritesProvider.addFavorite(com.sap.security.api.IUser, java.lang.String, java.lang.String, java.lang.String, boolean),
it is decided by the provider |
| Method Summary | |
|---|---|
boolean |
capabilitySupported(Capability capability)
Indicates whether this favorites supports the specified capability |
Map<String,Object> |
getAditionalProperties()
Returns a map of additional properties that you can define |
List<IFavorite> |
getChildren()
Returns A list of children of this favorite, if the favorite is a folder |
Date |
getCreationDate()
Returns the creation date of the favorite |
String |
getDescription()
Returns the description of the favorite (displayed as a tooltip) |
String |
getID()
Returns the unique ID of the favorite |
boolean |
getIsFolder()
Indicates whether this favorites is a folder |
String |
getNavigationTarget()
Returns the navigation target URL of the favorite |
String |
getTitle()
Returns the title of the favorite |
int |
getType()
Returns the navigation type of the favorite |
| Method Detail |
|---|
String getID()
String getTitle()
String getNavigationTarget()
int getType()
IFavorite.TypeDate getCreationDate()
List<IFavorite> getChildren()
IFavorite objectsString getDescription()
boolean getIsFolder()
Map<String,Object> getAditionalProperties()
boolean capabilitySupported(Capability capability)
capability - the capability constant defined by Capability
Capability| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] EP-RUNTIME
|
[sap.com] tc/ep/navigation/api
|
api
|
EP-PIN
|
|
SAP NetWeaver 7.31 Enterprise Portal (SP 16) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||