Skip navigation links
oracle.stellent.wcm.core.idc.impl
Class AdminApi
java.lang.Object
oracle.stellent.wcm.core.idc.AbstractIdcApi
oracle.stellent.wcm.core.idc.impl.AdminApi
-
public class AdminApi
- extends AbstractIdcApi
Constructor Summary |
AdminApi(oracle.stellent.ridc.IdcClient idcClient)
|
Method Summary |
static int |
csCompareVersions(java.lang.String info1, java.lang.String info2)
Compares two versions. |
oracle.stellent.ridc.model.DataBinder |
runTimeConnect(java.lang.String runTimeUser)
|
static boolean |
validComponentVersionForRunTimeSupport(oracle.stellent.ridc.model.DataBinder binder, java.lang.String requiredVersion)
Test if the component installed on the Content Server is up-to-date and valid. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AdminApi
public AdminApi(oracle.stellent.ridc.IdcClient idcClient)
runTimeConnect
public oracle.stellent.ridc.model.DataBinder runTimeConnect(java.lang.String runTimeUser)
throws oracle.stellent.ridc.IdcClientException
-
- Throws:
oracle.stellent.ridc.IdcClientException
validComponentVersionForRunTimeSupport
public static boolean validComponentVersionForRunTimeSupport(oracle.stellent.ridc.model.DataBinder binder,
java.lang.String requiredVersion)
- Test if the component installed on the Content Server is up-to-date and valid.
-
- Parameters:
binder
- binder to use to check the installed component version on the content server.
requiredVersion
- minimum version required for the component to be valid.
- Returns:
- true if is valid, false otherwise.
- See Also:
WCMConstants.SSXA_RUN_TIME_NEEDED
csCompareVersions
public static int csCompareVersions(java.lang.String info1,
java.lang.String info2)
- Compares two versions.
-
- Parameters:
info1
- The first version to test (the version).
info2
- The second version to test (my version).
- Returns:
- -1 if info1 before info2, 0 if they match on the part that is parseable, 1 if info1 after info2. A null or empty version is always before any other version.
Skip navigation links
Copyright © 2010, 2011, Oracle and/or its affiliates. All rights reserved.