|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jp.protection.pub.pro.integration.LicensingFacadeResultBase
public class LicensingFacadeResultBase
This class represents the base class for result of execution of licensing facade methods
Field Summary | |
---|---|
static int |
DELIVERY_TYPE_EMAIL
Specifies delivery type of license as e-mail message |
static int |
DELIVERY_TYPE_ONLINE
Specifies delivery type of license as online |
protected int |
fDeliveryType
|
protected java.lang.String |
fMessage
|
protected int |
fResult
|
static int |
RESULT_ERROR
Specifies that result of execution is error |
static int |
RESULT_NONE
Specifies that result of execution is unknown |
static int |
RESULT_OK
Specifies that result of execution is OK |
Constructor Summary | |
---|---|
LicensingFacadeResultBase()
Creates a new instance of the LicensingFacadeResultBase |
|
LicensingFacadeResultBase(int aResult)
Creates a new instance of the LicensingFacadeResultBase |
|
LicensingFacadeResultBase(int aResult,
java.lang.String aMessage)
Creates a new instance of the LicensingFacadeResultBase |
|
LicensingFacadeResultBase(int aResult,
java.lang.String aMessage,
int aDeliveryType)
Creates a new instance of the LicensingFacadeResultBase |
Method Summary | |
---|---|
int |
getDeliveryType()
Returns delivery type |
java.lang.String |
getMessage()
Returns message text |
int |
getResult()
Returns result value |
void |
setDeliveryType(int aDeliveryType)
Specifies delivery type |
void |
setMessage(java.lang.String aMessage)
Specifies message test |
void |
setResult(int aResult)
Specifies result value |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String fMessage
protected int fResult
public static final int RESULT_NONE
public static final int RESULT_OK
public static final int RESULT_ERROR
public static final int DELIVERY_TYPE_ONLINE
public static final int DELIVERY_TYPE_EMAIL
protected int fDeliveryType
Constructor Detail |
---|
public LicensingFacadeResultBase()
LicensingFacadeResultBase
public LicensingFacadeResultBase(int aResult, java.lang.String aMessage)
LicensingFacadeResultBase
aResult
- method execution result; should be one of the RESULT_
constantsaMessage
- message text that could be shown to the userpublic LicensingFacadeResultBase(int aResult)
LicensingFacadeResultBase
aResult
- method execution result; should be one of the RESULT_
constantspublic LicensingFacadeResultBase(int aResult, java.lang.String aMessage, int aDeliveryType)
LicensingFacadeResultBase
aResult
- method execution result; should be one of the RESULT_
constantsaMessage
- message text that could be shown to the useraDeliveryType
- delivery type; should be one of the DELIVERY_TYPE_
constantsMethod Detail |
---|
public int getDeliveryType()
public void setDeliveryType(int aDeliveryType)
aDeliveryType
- delivery type; should be one of the DELIVERY_TYPE_
constantspublic java.lang.String getMessage()
public void setMessage(java.lang.String aMessage)
aMessage
- message text that could be shown to the userpublic int getResult()
public void setResult(int aResult)
aResult
- method execution result; should be one of the RESULT_
constants
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |