public class ProductInformations extends Object implements org.picocontainer.Startable
| Modifier and Type | Field and Description |
|---|---|
static String |
DELAY |
static String |
EDITION |
static String |
ENTERPRISE_EDITION |
static String |
EXO_APPLICATIONS_DATA_NODE_ALIAS
Constant that will be used in nodeHierarchyCreator.getJcrPath: it
represents the Application data root node Alias
|
static String |
EXPRESS_EDITION |
static String |
KEY_GENERATION_DATE |
static String |
MIX_VERSIONABLE
MixinType that will activate the versioning on a selected node
|
static String |
NB_USERS |
static String |
PROCEED_UPGRADE_FIRST_TIME_KEY |
static String |
PRODUCT_BUILD_NUMBER |
static String |
PRODUCT_CODE |
static String |
PRODUCT_GROUP_ID |
static String |
PRODUCT_KEY |
static String |
PRODUCT_REVISION |
static String |
PRODUCT_VERSION_DECLARATION_NODE_NAME
node name where the Product version declaration is
|
static String |
PRODUCT_VERSIONS_DECLARATION_FILE |
static String |
UPGRADE_PRODUCT_SERVICE_NODE_NAME
Service application data node name
|
static String |
WORKING_WORSPACE_NAME |
| Constructor and Description |
|---|
ProductInformations(org.exoplatform.services.jcr.RepositoryService repositoryService,
org.exoplatform.services.jcr.ext.app.SessionProviderService sessionProviderService,
org.exoplatform.services.jcr.ext.hierarchy.NodeHierarchyCreator nodeHierarchyCreator,
org.exoplatform.container.configuration.ConfigurationManager cmanager,
org.exoplatform.container.xml.InitParams initParams,
org.exoplatform.portal.config.UserACL userAcl) |
public static final String ENTERPRISE_EDITION
public static final String EXPRESS_EDITION
public static final String EDITION
public static final String KEY_GENERATION_DATE
public static final String DELAY
public static final String PRODUCT_CODE
public static final String PRODUCT_KEY
public static final String NB_USERS
public static final String PRODUCT_GROUP_ID
public static final String PRODUCT_REVISION
public static final String PRODUCT_BUILD_NUMBER
public static final String PRODUCT_VERSIONS_DECLARATION_FILE
public static final String PROCEED_UPGRADE_FIRST_TIME_KEY
public static final String WORKING_WORSPACE_NAME
public static final String EXO_APPLICATIONS_DATA_NODE_ALIAS
public static final String MIX_VERSIONABLE
public static final String UPGRADE_PRODUCT_SERVICE_NODE_NAME
public static final String PRODUCT_VERSION_DECLARATION_NODE_NAME
public ProductInformations(org.exoplatform.services.jcr.RepositoryService repositoryService,
org.exoplatform.services.jcr.ext.app.SessionProviderService sessionProviderService,
org.exoplatform.services.jcr.ext.hierarchy.NodeHierarchyCreator nodeHierarchyCreator,
org.exoplatform.container.configuration.ConfigurationManager cmanager,
org.exoplatform.container.xml.InitParams initParams,
org.exoplatform.portal.config.UserACL userAcl)
public String getEdition() throws MissingProductInformationException
public String getNumberOfUsers() throws MissingProductInformationException
public String getDateOfLicence() throws MissingProductInformationException
public String getDuration() throws MissingProductInformationException
public String getProductCode() throws MissingProductInformationException
public String getProductKey() throws MissingProductInformationException
public String getVersion() throws MissingProductInformationException
MissingProductInformationExceptionpublic String getVersion(String productGroupId) throws MissingProductInformationException
MissingProductInformationExceptionpublic String getBuildNumber() throws MissingProductInformationException
MissingProductInformationExceptionpublic String getRevision() throws MissingProductInformationException
MissingProductInformationExceptionpublic String getCurrentProductGroupId() throws MissingProductInformationException
MissingProductInformationExceptionpublic String getPreviousVersion() throws MissingProductInformationException
MissingProductInformationExceptionpublic String getPreviousVersion(String productGroupId) throws MissingProductInformationException
MissingProductInformationExceptionpublic String getPreviousBuildNumber() throws MissingProductInformationException
MissingProductInformationExceptionpublic String getPreviousRevision() throws MissingProductInformationException
MissingProductInformationExceptionpublic boolean isFirstRun()
public void start()
start in interface org.picocontainer.Startablepublic void stop()
stop in interface org.picocontainer.Startablepublic void storeUnlockInformation()
public void storeProductsInformationsInJCR()
public void setUnlockInformation(Properties unlockInformation)
public String getWorkspaceName()
public String getProductVersionDeclarationNodePath()
public void setPreviousVersionsIfFirstRun(String defaultVersion)
public void setPreviousProductInformationProperties(Properties previousProductInformationProperties)
public void setProductInformationProperties(Properties productInformationProperties)
public void setFirstRun(boolean firstRun)
Copyright © 2003–2019 eXo Platform SAS. All rights reserved.