|
Jive Forums API (5.5.8) Developer Javadocs | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.opensymphony.xwork.ActionSupport
com.jivesoftware.base.action.AbstractLicenseAction
com.jivesoftware.base.action.LicenseValidateAction
public class LicenseValidateAction
The first step of the license upgrade process.
The execute method will validate the field licenseString and determine if it is a valid license and provide diffs andLicenseContainer object to the next view.
To display the license upgrade view, you should access the doInput method.
| Field Summary |
|---|
| Fields inherited from class com.opensymphony.xwork.ActionSupport |
|---|
LOG |
| Fields inherited from interface com.opensymphony.xwork.Action |
|---|
ERROR, INPUT, LOGIN, NONE, SUCCESS |
| Constructor Summary | |
|---|---|
LicenseValidateAction()
|
|
| Method Summary | |
|---|---|
java.lang.String |
doInput()
|
java.lang.String |
execute()
|
java.util.Map |
getDiffs()
Contains the differences (added/changed properties) for all the licenses. |
com.jivesoftware.base.license.LicenseContainer |
getLicenseContainer()
|
java.lang.String |
getLicenseString()
|
com.jivesoftware.base.license.LicenseContainer |
getNewContainer()
|
com.jivesoftware.base.license.LicenseContainer |
getOldContainer()
|
int |
getUserCount()
|
void |
setLicenseString(java.lang.String licenseString)
|
void |
validate()
|
| Methods inherited from class com.jivesoftware.base.action.AbstractLicenseAction |
|---|
cleanLicense, getEditionDisplayName, getProductDisplayName, getPropertyDisplayName |
| Methods inherited from class com.opensymphony.xwork.ActionSupport |
|---|
addActionError, addActionMessage, addFieldError, clearErrorsAndMessages, clone, doDefault, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, pause, setActionErrors, setActionMessages, setFieldErrors |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LicenseValidateAction()
| Method Detail |
|---|
public com.jivesoftware.base.license.LicenseContainer getLicenseContainer()
public int getUserCount()
public java.util.Map getDiffs()
public java.lang.String getLicenseString()
public void setLicenseString(java.lang.String licenseString)
public com.jivesoftware.base.license.LicenseContainer getNewContainer()
public com.jivesoftware.base.license.LicenseContainer getOldContainer()
public void validate()
validate in interface com.opensymphony.xwork.Validateablevalidate in class com.opensymphony.xwork.ActionSupport
public java.lang.String doInput()
throws java.lang.Exception
doInput in class com.opensymphony.xwork.ActionSupportjava.lang.Exception
public java.lang.String execute()
throws java.lang.Exception
execute in interface com.opensymphony.xwork.Actionexecute in class com.opensymphony.xwork.ActionSupportjava.lang.Exception
|
Jive Forums Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||