info.magnolia.ui.admincentral.shellapp.favorites
Interface FavoritesManager
- All Known Implementing Classes:
- FavoritesManagerImpl
public interface FavoritesManager
Manages the favorites for the current user.
Method Summary |
void |
addFavorite(JcrNewNodeAdapter newFavorite)
|
void |
addGroup(JcrNewNodeAdapter newGroup)
|
JcrNewNodeAdapter |
createFavoriteGroupSuggestion(String title)
|
JcrNewNodeAdapter |
createFavoriteSuggestion(String location,
String title,
String icon)
|
void |
editFavorite(String relPath,
String newTitle)
|
void |
editGroup(String relPath,
String newTitle)
|
AbstractJcrNodeAdapter |
getFavorites()
|
Map<String,String> |
getGroupsNames()
|
void |
moveFavorite(String relPath,
String group)
|
void |
orderFavoriteAfter(String relPath,
String sibling)
|
void |
orderFavoriteBefore(String relPath,
String sibling)
|
void |
orderGroupAfter(String relPath,
String sibling)
|
void |
orderGroupBefore(String relPath,
String sibling)
|
void |
removeFavorite(String relPath)
|
void |
removeGroup(String relPath)
|
getFavorites
AbstractJcrNodeAdapter getFavorites()
getGroupsNames
Map<String,String> getGroupsNames()
- Returns:
- A map whose key is the group jcr name and whose value is its title (human-readable) property. The map elements are sorted alphabetically (descending) by their value.
addFavorite
void addFavorite(JcrNewNodeAdapter newFavorite)
createFavoriteSuggestion
JcrNewNodeAdapter createFavoriteSuggestion(String location,
String title,
String icon)
removeFavorite
void removeFavorite(String relPath)
editFavorite
void editFavorite(String relPath,
String newTitle)
addGroup
void addGroup(JcrNewNodeAdapter newGroup)
editGroup
void editGroup(String relPath,
String newTitle)
removeGroup
void removeGroup(String relPath)
createFavoriteGroupSuggestion
JcrNewNodeAdapter createFavoriteGroupSuggestion(String title)
moveFavorite
void moveFavorite(String relPath,
String group)
orderFavoriteBefore
void orderFavoriteBefore(String relPath,
String sibling)
orderFavoriteAfter
void orderFavoriteAfter(String relPath,
String sibling)
orderGroupBefore
void orderGroupBefore(String relPath,
String sibling)
orderGroupAfter
void orderGroupAfter(String relPath,
String sibling)
Copyright © 2013 Magnolia International Ltd.. All Rights Reserved.