|
SAP NetWeaver 7.31 Enterprise Portal (SP 16) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@Deprecated public interface IFavoritesProvider
Provider of favorites from a specific data source. can be used for integration of external favorites with portal favorites. Implement the methods of this interface to organize and manage favorites
| Method Summary | |
|---|---|
IFavorite |
addFavorite(com.sap.security.api.IUser user,
String title,
String navigationTarget,
String parentFolder,
boolean isFolder)
Deprecated. Add a new Favorite to the container of Favorites represented by this Provider. |
void |
deleteFavorite(com.sap.security.api.IUser user,
String favoriteID)
Deprecated. Delete the specified favorite for the current user |
List<IFavorite> |
getFavoritesList(com.sap.security.api.IUser user,
Locale locale)
Deprecated. Adds the specified favorite to the list of favorites for the current user |
String |
getID()
Deprecated. Returns the ID of the provider of favorites |
IFavorite |
moveFavorite(com.sap.security.api.IUser user,
String favoriteID,
IFavorite.Position position)
Deprecated. Moves the specified favorite in it's current folder |
IFavorite |
moveFavoriteToFolder(com.sap.security.api.IUser user,
String favoriteID,
String folderID)
Deprecated. Moves the specified favorite to another folder |
IFavorite |
renameFavorite(com.sap.security.api.IUser user,
String favoriteID,
String newTitle)
Deprecated. Renames the specified favorite for the current user |
| Method Detail |
|---|
List<IFavorite> getFavoritesList(com.sap.security.api.IUser user,
Locale locale)
throws FavoriteOperationFailedException
user - the current userlocale - the user's locale
FavoriteOperationFailedException - If the list of favorites cannot be created
IFavorite addFavorite(com.sap.security.api.IUser user,
String title,
String navigationTarget,
String parentFolder,
boolean isFolder)
throws FavoriteOperationFailedException
user - the current usertitle - The title of the favoritenavigationTarget - the navigation target URL of the favoriteparentFolder - the folder to which to add the new favorite. null means the root folder.isFolder - A Boolaen whether to create a new folder or a new favorite
IFavorite
FavoriteOperationFailedException - indicates that adding the favorite failed
FavoriteExistsException - indicates that adding the favorite failed because such favorite already exists.
You can either throw this exception or add this favorite with a different title
void deleteFavorite(com.sap.security.api.IUser user,
String favoriteID)
throws FavoriteOperationFailedException
user - the current userfavoriteID - The ID of the favorite
FavoriteOperationFailedException - indicates that deleting the favorite failed
IFavorite renameFavorite(com.sap.security.api.IUser user,
String favoriteID,
String newTitle)
throws FavoriteOperationFailedException
user - the current userfavoriteID - The ID of the favoritenewTitle - The new title of the favorite
IFavorite
FavoriteOperationFailedException
IFavorite moveFavorite(com.sap.security.api.IUser user,
String favoriteID,
IFavorite.Position position)
throws FavoriteOperationFailedException
user - the current userfavoriteID - The ID of the favoriteposition - the IFavorite.Position to move to
IFavorite that has been moved
FavoriteOperationFailedException
IFavorite moveFavoriteToFolder(com.sap.security.api.IUser user,
String favoriteID,
String folderID)
throws FavoriteOperationFailedException
user - the current userfavoriteID - The ID of the favoritefolderID - The ID of the folder to which to move the favorite
IFavorite that has been moved
FavoriteOperationFailedExceptionString getID()
| 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 | |||||||||