|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.exoplatform.commons.info.ProductInformations
public class ProductInformations
| Field Summary | |
|---|---|
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 Summary | |
|---|---|
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)
|
|
| Method Summary | |
|---|---|
String |
getBuildNumber()
|
String |
getCurrentProductGroupId()
|
String |
getDateOfLicence()
|
String |
getDuration()
|
String |
getEdition()
|
String |
getNumberOfUsers()
|
String |
getPreviousBuildNumber()
|
String |
getPreviousRevision()
|
String |
getPreviousVersion()
|
String |
getPreviousVersion(String productGroupId)
|
String |
getProductCode()
|
String |
getProductKey()
|
String |
getProductVersionDeclarationNodePath()
|
String |
getRevision()
|
String |
getVersion()
|
String |
getVersion(String productGroupId)
|
String |
getWorkspaceName()
|
boolean |
isFirstRun()
|
void |
setPreviousVersionsIfFirstRun(String defaultVersion)
|
void |
setUnlockInformation(Properties unlockInformation)
|
void |
start()
This method loads from the JCR the stored products versions. |
void |
stop()
This method is called by eXo Kernel when stopping the parent ExoContainer |
void |
storeProductsInformationsInJCR()
|
void |
storeUnlockInformation()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
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
| Constructor Detail |
|---|
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)
| Method Detail |
|---|
public String getEdition()
throws MissingProductInformationException
MissingProductInformationException
public String getNumberOfUsers()
throws MissingProductInformationException
MissingProductInformationException
public String getDateOfLicence()
throws MissingProductInformationException
MissingProductInformationException
public String getDuration()
throws MissingProductInformationException
MissingProductInformationException
public String getProductCode()
throws MissingProductInformationException
MissingProductInformationException
public String getProductKey()
throws MissingProductInformationException
MissingProductInformationException
public String getVersion()
throws MissingProductInformationException
MissingProductInformationException
public String getVersion(String productGroupId)
throws MissingProductInformationException
MissingProductInformationException
public String getBuildNumber()
throws MissingProductInformationException
MissingProductInformationException
public String getRevision()
throws MissingProductInformationException
MissingProductInformationException
public String getCurrentProductGroupId()
throws MissingProductInformationException
MissingProductInformationException
public String getPreviousVersion()
throws MissingProductInformationException
MissingProductInformationException
public String getPreviousVersion(String productGroupId)
throws MissingProductInformationException
MissingProductInformationException
public String getPreviousBuildNumber()
throws MissingProductInformationException
MissingProductInformationException
public 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)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||