com.bea.content.el.support
Class VersionByIdServiceImpl

java.lang.Object
  extended by com.bea.content.el.support.VersionByIdServiceImpl

public class VersionByIdServiceImpl
extends Object

Service to retreive a version by ID.

Here is a common example to retrieve version "3" of a node:

     ${myNode.versions.versionById['3'].propertyMap['myNamedProperty'].value.stringValue}
 

See Also
VersionServiceImpl, IVersionManager

Method Summary
 VersionWrapperImpl getById(String versionId)
          Returns a node version by version Id.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getById

public VersionWrapperImpl getById(String versionId)
Returns a node version by version Id.

Parameters
versionId - The version id to use.
Returns
The version of a particular node, or null if a version does not exist.


Copyright © 2011, Oracle. All rights reserved.