ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Show Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
com.adobe.ep.ux.content.managers 

IVersionManager  - AS3 ADEP Content

Packagecom.adobe.ep.ux.content.managers
Interfacepublic interface IVersionManager extends IEventDispatcher

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Content 10
Runtime Versions: Flash Player 10.2, AIR (unsupported)

Handles version history retrieval from the Experience Server. The default implementation supports asset version retrieval from the Adobe Digital Enterprise Platform Experience Services - Content Repository.



Public Properties
 PropertyDefined By
  lastVersionResults : ListCollectionView
[read-only] The latest scollection of versions for an asset that was retrieved for the server.
IVersionManager
  latestVersion : String
[read-only] Latest current version number out of all the version results.
IVersionManager
Public Methods
 MethodDefined By
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registers an event listener object with an EventDispatcher object so that the listener receives notification of an event.
IEventDispatcher
 Inherited
Dispatches an event into the event flow.
IEventDispatcher
  
Retrieves all the versions of of the specified assetVO parameter.
IVersionManager
 Inherited
Checks whether the EventDispatcher object has any listeners registered for a specific type of event.
IEventDispatcher
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Removes a listener from the EventDispatcher object.
IEventDispatcher
 Inherited
Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type.
IEventDispatcher
Property Detail

lastVersionResults

property
lastVersionResults:ListCollectionView  [read-only]

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Content 10
Runtime Versions: Flash Player 10.2, AIR (unsupported)

The latest scollection of versions for an asset that was retrieved for the server.



Implementation
    public function get lastVersionResults():ListCollectionView

latestVersion

property 
latestVersion:String  [read-only]

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Content 10
Runtime Versions: Flash Player 10.2, AIR (unsupported)

Latest current version number out of all the version results.



Implementation
    public function get latestVersion():String
Method Detail

getVersionHistory

()method
public function getVersionHistory(assetVO:Object, assetType:com.adobe.ep.ux.content.model.asset:AssetTypeDescriptor, resultCollection:ListCollectionView = null):void

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Content 10
Runtime Versions: Flash Player 10.2, AIR (unsupported)

Retrieves all the versions of of the specified assetVO parameter.

Parameters

assetVO:Object — Specifiees the asset from where version history is retrieved.
 
assetType:com.adobe.ep.ux.content.model.asset:AssetTypeDescriptor — Specifies the AssetTypeDescriptor of the asset object from the assetVO parameter.
 
resultCollection:ListCollectionView (default = null) — Specifies the version history of the asset.