Copyright© 2008-2022 Sitevision AB, all rights reserved.
@Requireable(value="VersionUtil") public interface VersionUtil extends VelocityAccess.VersionUtilConstants
An instance of the Sitevision class implementing this interface can be obtained via
Utils.getVersionUtil().
See Utils for how to obtain an instance of the Utils interface.
| Modifier and Type | Field and Description |
|---|---|
static int |
OFFLINE_VERSION
The offline version (i.e. the version used when editing in the Sitevision editor) marker
|
static int |
ONLINE_VERSION
The online version (i.e. the published version that visitors can access) marker
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCurrentVersion()
Gets current version
|
getOFFLINE_VERSION, getONLINE_VERSIONstatic final int OFFLINE_VERSION
static final int ONLINE_VERSION
int getCurrentVersion()
OFFLINE_VERSION or ONLINE_VERSION. If current version is undeterminable, -1 is returned.Sitevision - Portal and Content Management Made Easy
Sitevision is an advanced Java enterprise portal product and a portlet container (JSR 286) that implements Java Content Repository (JSR 283).
Copyright© 2008-2022 Sitevision AB, all rights reserved.