| Package | lc.core |
| Class | public class FavoritesManager |
| Inheritance | FavoritesManager Object |
| Implements | IFavoritesManager |
FavoritesManager class is used to manage Favorites.
Favorites is a users' list of commonly used forms (represented by
Endpoint objects) to start process.
Use the FavoritesManager class to add, remove, load, retrieve,
and set the current favorite endpoints.
An Endpoint object can be marked as a favorite through the
FavoriteManager object, and then accessed by getting the
FavoriteManager object from the SessionMap object.
See also
| Property | Defined By | ||
|---|---|---|---|
![]() | constructor : Object
A reference to the class object or constructor function for a given object instance.
| Object | |
| favorites : ListCollectionView
The collection of favorites.
| FavoritesManager | ||
![]() | prototype : Object
[static]
A reference to the prototype object of a class or function object.
| Object | |
| Method | Defined By | ||
|---|---|---|---|
|
Constructor.
| FavoritesManager | ||
|
Adds an endpoint to the Favorites collection.
| FavoritesManager | ||
![]() |
Indicates whether an object has a specified property defined.
| Object | |
|
Returns whether the specified endpoints is a favorite.
| FavoritesManager | ||
![]() |
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter.
| Object | |
![]() |
Indicates whether the specified property exists and is enumerable.
| Object | |
|
Removes an endpoint from the Favorites collection.
| FavoritesManager | ||
![]() |
Sets the availability of a dynamic property for loop operations.
| Object | |
![]() |
Returns the string representation of the specified object.
| Object | |
![]() |
Returns the primitive value of the specified object.
| Object | |
| favorites | property |
favorites:ListCollectionView [read-write]
The collection of favorites.
public function get favorites():ListCollectionView
public function set favorites(value:ListCollectionView):void
| FavoritesManager | () | Constructor |
public function FavoritesManager(preferencesManager:IPreferencesManager, endpointManager:IEndpointManager)
Constructor.
ParameterspreferencesManager:IPreferencesManager — Specifies the preferences manager from the session.
|
|
endpointManager:IEndpointManager — Specifies the endpoint manager from the session.
|
| addToFavorites | () | method |
public function addToFavorites(endpoint:Endpoint):Token
Adds an endpoint to the Favorites collection.
Parameters
endpoint:Endpoint |
Token — A token used to set result and fault handlers to be called when the operation has completed.
|
| isFavorite | () | method |
public function isFavorite(endpoint:Endpoint):Boolean
Returns whether the specified endpoints is a favorite.
Parameters
endpoint:Endpoint — Specifies the endpoint to add as a favorite.
|
Boolean — A flag that indicates whether an endpoint is a favorite. A value of
true specifies that it is a favorite.
|
| removeFromFavorites | () | method |
public function removeFromFavorites(endpoint:Endpoint):Token
Removes an endpoint from the Favorites collection.
Parameters
endpoint:Endpoint — Specifies the endpoint to remove from the favorites.
|
Token — A token used to set result and fault handlers to be called when the operation has completed.
|
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/livecycle/es/sdkHelp/common/langref/lc/core/FavoritesManager.html