|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.jp.protection.pub.pro.integration.LicensingFacadeResultBase
com.jp.protection.pub.pro.integration.LicensingFacadeResult
public class LicensingFacadeResult
This class represents result of execution of licensing facade methods
| Field Summary | |
|---|---|
protected byte[] |
fLicenseBytes
|
static java.lang.String[] |
PROPERTIES
|
static java.lang.String |
PROPERTY_DELIVERY_TYPE
|
static java.lang.String |
PROPERTY_LICENSE_BYTES
|
static java.lang.String |
PROPERTY_MESSAGE
|
static java.lang.String |
PROPERTY_RESULT
|
| Fields inherited from class com.jp.protection.pub.pro.integration.LicensingFacadeResultBase |
|---|
DELIVERY_TYPE_EMAIL, DELIVERY_TYPE_ONLINE, fDeliveryType, fMessage, fResult, RESULT_ERROR, RESULT_NONE, RESULT_OK |
| Constructor Summary | |
|---|---|
LicensingFacadeResult()
Creates a new instance of the LicensingFacadeResult |
|
LicensingFacadeResult(int aResult,
byte[] aLicenseBytes,
java.lang.String aMessage)
Creates a new instance of the LicensingFacadeResult |
|
LicensingFacadeResult(int aResult,
byte[] aLicenseBytes,
java.lang.String aMessage,
int aDeliveryType)
Creates a new instance of the LicensingFacadeResult |
|
LicensingFacadeResult(int aResult,
java.lang.String aMessage)
Creates a new instance of the LicensingFacadeResult |
|
LicensingFacadeResult(LicensingFacadeResultBase aResult)
Creates a new instance of the LicensingFacadeResult based on the provided information |
|
| Method Summary | |
|---|---|
byte[] |
getLicenseBytes()
Returns license as array of bytes |
void |
setLicenseBytes(byte[] aLicenseBytes)
Specifies license as array of bytes |
| Methods inherited from class com.jp.protection.pub.pro.integration.LicensingFacadeResultBase |
|---|
getDeliveryType, getMessage, getResult, setDeliveryType, setMessage, setResult |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String PROPERTY_RESULT
public static final java.lang.String PROPERTY_MESSAGE
public static final java.lang.String PROPERTY_LICENSE_BYTES
public static final java.lang.String PROPERTY_DELIVERY_TYPE
public static final java.lang.String[] PROPERTIES
protected byte[] fLicenseBytes
| Constructor Detail |
|---|
public LicensingFacadeResult(LicensingFacadeResultBase aResult)
LicensingFacadeResult based on the provided information
aResult - an object to copy attributes frompublic LicensingFacadeResult()
LicensingFacadeResult
public LicensingFacadeResult(int aResult,
byte[] aLicenseBytes,
java.lang.String aMessage,
int aDeliveryType)
LicensingFacadeResult
aResult - method execution result; should be one of the RESULT_ constantsaLicenseBytes - license to return as array of bytesaMessage - message text could be shown to the useraDeliveryType - delivery type
public LicensingFacadeResult(int aResult,
byte[] aLicenseBytes,
java.lang.String aMessage)
LicensingFacadeResult
aResult - method execution result; should be one of the RESULT_ constantsaLicenseBytes - license to return as array of bytesaMessage - message text could be shown to the user
public LicensingFacadeResult(int aResult,
java.lang.String aMessage)
LicensingFacadeResult
aResult - method execution result; should be one of the RESULT_ constantsaMessage - message text could be shown to the user| Method Detail |
|---|
public byte[] getLicenseBytes()
public void setLicenseBytes(byte[] aLicenseBytes)
aLicenseBytes - license as array of bytes
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||