public class VersionHelper
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
FEP2_BOD_VERSION
BOD version used in WebSphere Commerce 6, feature pack 2.
|
static java.lang.String |
FEP3_BOD_VERSION
BOD version used WebSphere Commerce 6, feature pack 3.
|
static java.lang.String |
FEP4_BOD_VERSION
BOD version used in WebSphere Commerce 6, feature pack 4.
|
static java.lang.String |
FEP5_BOD_VERSION
BOD version used in WebSphere Commerce 6, feature pack 5.
|
static int |
HIGHER_VERSION
The source version is higher than the target version
|
static int |
LOWER_VERSION
The source version is lower than the target version
|
static int |
SAME_VERSION
The source version is same the target version
|
static java.lang.String |
V7_FEP1_BOD_VERSION
BOD version used in WebSphere Commerce 7, feature pack 1.
|
static java.lang.String |
V7_GA_BOD_VERSION
BOD version used in WebSphere Commerce 7.
|
Modifier and Type | Method and Description |
---|---|
static int |
compareRequestVersion(java.lang.String astrVersion)
Compares the the version found in the request against the specified version.
|
public static final int LOWER_VERSION
public static final int SAME_VERSION
public static final int HIGHER_VERSION
public static final java.lang.String FEP2_BOD_VERSION
public static final java.lang.String FEP3_BOD_VERSION
public static final java.lang.String FEP4_BOD_VERSION
public static final java.lang.String FEP5_BOD_VERSION
public static final java.lang.String V7_GA_BOD_VERSION
public static final java.lang.String V7_FEP1_BOD_VERSION
public static int compareRequestVersion(java.lang.String astrVersion)
astrVersion
- the base version to compare the request version against.LOWER_VERSION
if target version is lower than base version.
SAME_VERSION
if target version is the same as the base version.
HIGHER_VERSION
if target version is higher than base version.