com.jp.protection.gui.dialogs.pro
Class DefaultLicenseReaderIssueResolverPro

java.lang.Object
  extended by com.jp.protection.gui.dialogs.DefaultLicenseReaderIssueResolver
      extended by com.jp.protection.gui.dialogs.pro.DefaultLicenseReaderIssueResolverPro
All Implemented Interfaces:
LicenseReaderIssueResolver

public class DefaultLicenseReaderIssueResolverPro
extends DefaultLicenseReaderIssueResolver

Default implementation of "resolver" interface which introduces methods responsible for the resolving of the issues and conflicts occurring during the license locating and reading. It shows Licensing Wizard which provides ways to find or obtain licenses. It extends base implementation with ability to request licenses using Licensing Facade.


Field Summary
protected  LicenseHostPro fLicenseHost
           
protected  java.lang.String fLogin
           
protected  java.lang.String fPassword
           
 
Fields inherited from class com.jp.protection.gui.dialogs.DefaultLicenseReaderIssueResolver
fLicenseReader, fLicensingWizard, fOwner, fProductInfo
 
Constructor Summary
DefaultLicenseReaderIssueResolverPro(LicenseReader aLicenseReader)
          Creates a new instance of Issue Resolver with no owner
DefaultLicenseReaderIssueResolverPro(LicenseReader aLicenseReader, java.awt.Component anOwner)
          Creates a new instance of Issue Resolver
 
Method Summary
protected  LicensingWizard createLicensingWizard()
           
 LicenseHostPro getLicenseHost()
           
 java.lang.String getLicensingFacadeProviderName()
          Returns name of LicensingFacadeProvider is used by Licensing Wizard to get access to the licensing functionality
protected  LicensingWizardPro getLicensingWizardPro()
           
 java.lang.String getLogin()
          Returns login name should be passed to the Licensing Facade
 java.lang.String getPassword()
          Returns password should be passed to the Licensing Facade
 boolean isRequestEvalEnabled()
          Deprecated. since v2.0. Use setLicensingWizardOptions() instead.
 boolean isSkipCustomerInfoForSerialNumbers()
          Deprecated. since v2.0. Use setLicensingWizardOptions() instead.
 void setLicenseHost(LicenseHostPro aLicenseHost)
           
 void setLicensingFacadeProviderName(java.lang.String aName)
          Specifies name of LicensingFacadeProvider should be used by Licensing Wizard to get access to the licensing functionality
 void setLogin(java.lang.String aLogin)
          Specifies login name should be passed to the Licensing Facade
 void setPassword(java.lang.String aPassword)
          Specifies password should be passed to the Licensing Facade
 void setRequestEvalEnabled(boolean aValue)
          Deprecated. since v2.0. Use setLicensingWizardOptions() instead.
 void setSkipCustomerInfoForSerialNumbers(boolean aSkipCustomerInfoForSerialNumbers)
          Deprecated. since v2.0. Use setLicensingWizardOptions() instead.
 
Methods inherited from class com.jp.protection.gui.dialogs.DefaultLicenseReaderIssueResolver
getLicensingWizard, getLicensingWizardOptions, getProductInfo, resolveLicenseCorrupted, resolveLicenseMissing, setLicensingWizardLogo, setLicensingWizardOptions, setProductInfo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fLicenseHost

protected LicenseHostPro fLicenseHost

fLogin

protected java.lang.String fLogin

fPassword

protected java.lang.String fPassword
Constructor Detail

DefaultLicenseReaderIssueResolverPro

public DefaultLicenseReaderIssueResolverPro(LicenseReader aLicenseReader,
                                            java.awt.Component anOwner)
Creates a new instance of Issue Resolver

Parameters:
aLicenseReader - License Reader instance used to properly find license location
anOwner - a component from which Licensing Wizard should be displayed

DefaultLicenseReaderIssueResolverPro

public DefaultLicenseReaderIssueResolverPro(LicenseReader aLicenseReader)
Creates a new instance of Issue Resolver with no owner

Parameters:
aLicenseReader - License Reader instance used to properly find license location
Method Detail

getLicenseHost

public LicenseHostPro getLicenseHost()

setLicenseHost

public void setLicenseHost(LicenseHostPro aLicenseHost)

createLicensingWizard

protected LicensingWizard createLicensingWizard()
Overrides:
createLicensingWizard in class DefaultLicenseReaderIssueResolver

isRequestEvalEnabled

public boolean isRequestEvalEnabled()
Deprecated. since v2.0. Use setLicensingWizardOptions() instead.

Returns whether getting evaluation licenses is enabled

Returns:
true if getting evaluation licenses is enabled; false otherwise.

setRequestEvalEnabled

public void setRequestEvalEnabled(boolean aValue)
Deprecated. since v2.0. Use setLicensingWizardOptions() instead.

Specifies that getting evaluation licenses is enabled.

Parameters:
aValue - true if getting evaluation licenses should be enabled; false otherwise.

getLicensingWizardPro

protected LicensingWizardPro getLicensingWizardPro()

getLicensingFacadeProviderName

public java.lang.String getLicensingFacadeProviderName()
Returns name of LicensingFacadeProvider is used by Licensing Wizard to get access to the licensing functionality

Returns:
name of LicensingFacadeProvider

setLicensingFacadeProviderName

public void setLicensingFacadeProviderName(java.lang.String aName)
Specifies name of LicensingFacadeProvider should be used by Licensing Wizard to get access to the licensing functionality

Parameters:
aName - name of LicensingFacadeProvider

getLogin

public java.lang.String getLogin()
Returns login name should be passed to the Licensing Facade

Returns:
login name

setLogin

public void setLogin(java.lang.String aLogin)
Specifies login name should be passed to the Licensing Facade

Parameters:
aLogin - login name

getPassword

public java.lang.String getPassword()
Returns password should be passed to the Licensing Facade

Returns:
password

setPassword

public void setPassword(java.lang.String aPassword)
Specifies password should be passed to the Licensing Facade

Parameters:
aPassword - password

isSkipCustomerInfoForSerialNumbers

public boolean isSkipCustomerInfoForSerialNumbers()
Deprecated. since v2.0. Use setLicensingWizardOptions() instead.

Returns whether entering customer information should be skipped during getting licenses for Serial Numbers

Returns:
true if entering customer information should be skipped during getting licenses for Serial Numbers; false otherwise.

setSkipCustomerInfoForSerialNumbers

public void setSkipCustomerInfoForSerialNumbers(boolean aSkipCustomerInfoForSerialNumbers)
Deprecated. since v2.0. Use setLicensingWizardOptions() instead.

Specifies that entering customer information should be skipped during getting licenses for Serial Numbers

Parameters:
aSkipCustomerInfoForSerialNumbers - true if entering customer information should be skipped during getting licenses for Serial Numbers; false otherwise.