wt.epm
Class AuthoringAppVersionHelper

java.lang.Object
  extended bywt.epm.AuthoringAppVersionHelper

public class AuthoringAppVersionHelper
extends Object


Constructor Summary
AuthoringAppVersionHelper()
           
 
Method Summary
static EPMAuthoringAppVersion getAuthoringAppVersion(EPMAuthoringAppType authoringApplication, int versionNumber, String versionName)
          Returns the EPMAuthoringAppVersion for the given authoring app, version # and name.
static WTSet getAuthoringAppVersions(EPMAuthoringAppType authoringApplication)
          Returns a list of EPMAuthoringAppVersions for the given authoring application.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthoringAppVersionHelper

public AuthoringAppVersionHelper()
Method Detail

getAuthoringAppVersion

public static EPMAuthoringAppVersion getAuthoringAppVersion(EPMAuthoringAppType authoringApplication,
                                                            int versionNumber,
                                                            String versionName)
                                                     throws WTException
Returns the EPMAuthoringAppVersion for the given authoring app, version # and name. Returns null if such version does not exist.

Supported API: true

Parameters:
authoringApplication -
versionNumber -
versionName -
Returns:
EPMAuthoringAppVersion the version which matches the given authoringApplication, versionNumber and versionName. Otherwise, null is returned.
Throws:
WTException

getAuthoringAppVersions

public static WTSet getAuthoringAppVersions(EPMAuthoringAppType authoringApplication)
                                     throws WTException
Returns a list of EPMAuthoringAppVersions for the given authoring application.

Supported API: true

Parameters:
authoringApplication -
Returns:
WTSet a list of EPMAuthoringAppVersions which matches the given authoringApplication.
Throws:
WTException