|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jp.protection.priv.products.Product
public class Product
This class describes a product for which licenses can be generated
Nested Class Summary | |
---|---|
static class |
Product.DigestBuildConfigHashedListStrategy
|
(package private) static class |
Product.ProductEditionIDHashedListStrategy
|
static class |
Product.ProductFeatureIDHashedListStrategy
|
static class |
Product.ProductLink
This class defines properties of a product's link |
(package private) static class |
Product.ProductLinkIDHashedListStrategy
|
static class |
Product.ProtectionLauncherBuildConfigHashedListStrategy
|
Field Summary | |
---|---|
static java.lang.String |
DEFAULT_SECURITY_ALGORITHM
|
protected java.util.Map |
fAuditRuleEnabledMap
|
protected java.lang.String |
fCodeSnippetID
|
protected java.lang.String |
fCompany
|
protected dev.util.collections.ContainerListener |
fContainerListener
|
protected java.lang.String |
fCopyright
|
protected java.lang.String |
fCRCClassName
|
protected java.lang.String |
fCRCCodeSnippet
|
protected java.lang.String |
fCRCCodeSnippetFileName
|
protected java.util.List |
fCRCEntries
|
protected java.lang.String |
fCRCPackageName
|
protected java.lang.String |
fDefaultAlias
|
protected int |
fDefaultEvalPeriod
|
protected int |
fDefaultGracePeriod
|
protected int |
fDigestAlgorithm
|
protected dev.util.collections.HashedBoundList |
fDigestBuildConfigs
|
protected DigestRuntimeConfig |
fDigestRuntimeConfig
|
protected boolean |
fDisabled
|
protected java.lang.String |
fEmailSubject
|
protected java.lang.String |
fEmailText
|
protected java.lang.String |
fFeedbackText
|
protected java.lang.String |
fFeedbackTooltip
|
protected java.lang.String |
fFeedbackURL
|
protected java.lang.String |
fID
|
protected ProtectionLauncherConfigBase |
fLauncherConfig
|
protected java.lang.String |
fLicenseClassName
|
protected java.lang.String |
fLicenseCodeSnippet
|
protected java.lang.String |
fLicenseCodeSnippetFileName
|
protected java.lang.String |
fLicenseFileName
|
protected java.lang.String |
fLicenseFolder
|
protected java.lang.String |
fLicensePackageName
|
protected java.lang.String |
fLicenseResourceFolder
|
protected boolean |
fLicenseUserHomeRelative
|
protected int |
fMajorVersion
|
protected int |
fMinorVersion
|
protected java.lang.String |
fName
|
protected byte[] |
fPrivateKeyBytes
|
protected dev.util.collections.HashedBoundList |
fProductEditions
|
protected dev.util.collections.HashedBoundList |
fProductFeatures
|
protected dev.util.collections.HashedBoundList |
fProductLinks
|
protected dev.util.collections.ContainerListener |
fProductLinksListener
|
protected java.util.List |
fPropertyInfos
|
protected dev.util.collections.HashedBoundList |
fProtectionLauncherBuildConfigs
|
protected byte[] |
fPublicKeyBytes
|
protected java.lang.String |
fSecretStorageFileName
|
protected java.lang.String |
fSecretStorageFolder
|
protected boolean |
fSecretStorageUserHomeRelative
|
protected java.lang.String |
fSecurityAlgorithm
|
protected boolean |
fSecurityKeysConverted
|
protected int |
fShortID
|
protected java.util.HashMap |
fShortIDProductEditionMap
|
protected java.lang.String |
fSiteText
|
protected java.lang.String |
fSiteTooltip
|
protected java.lang.String |
fSiteURL
|
protected int |
fType
|
static int |
PRODUCT_LINK_INDEX_FEEDBACK
|
static int |
PRODUCT_LINK_INDEX_SITE
|
static long |
serialVersionUID
|
static int |
TYPE_CONSOLE_APPLICATION
|
static int |
TYPE_GUI_APPLICATION
|
static int |
TYPE_UNKNOWN
|
static int |
UNASSIGNED_SHORT_ID
|
Constructor Summary | |
---|---|
Product()
Creates a new instance of the Product |
|
Product(java.lang.String aID)
Creates a new instance of the Product |
Method Summary | |
---|---|
protected void |
assignProductEditionShortIDs()
|
Product |
cloneProduct()
Creates a "deep" copy of this product |
int |
compareTo(java.lang.Object o)
|
boolean |
convertSecurityKeys()
|
ProductEdition |
createProductEdition()
Creates a new product edition object |
boolean |
equals(java.lang.Object obj)
|
protected int |
generateProductEditionShortID()
|
java.util.Map |
getAuditRuleEnabledMap()
|
java.lang.String |
getCodeSnippetID()
|
java.lang.String |
getCompany()
Deprecated. use getLauncherConfig().getCompany() instead |
java.lang.String |
getCopyright()
Deprecated. use getLauncherConfig().getCopyright() instead |
byte[] |
getDecryptKeyBytes()
Returns bytes array that specifies key used to decrypt the license. |
java.lang.String |
getDecryptKeyBytesStr()
Returns textual representation of the decryption key bytes |
java.lang.String |
getDefaultAlias()
|
int |
getDefaultEvalPeriod()
Returns default evaluation period |
int |
getDefaultGracePeriod()
Returns default grace period |
int |
getDigestAlgorithm()
|
DigestBuildConfig |
getDigestBuildConfig(java.lang.String anID)
|
java.util.List |
getDigestBuildConfigs()
|
java.util.List |
getDigestEntries()
Return the list of the DigestEntry objects |
DigestRuntimeConfig |
getDigestRuntimeConfig()
|
java.lang.String |
getEmailSubject()
Returns the e-mail message subject |
java.lang.String |
getEmailText()
Returns the e-mail message text |
byte[] |
getEncryptKeyBytes()
Returns bytes array that specifies key used to encrypt the license. |
java.lang.String |
getEncryptKeyBytesStr()
Returns textual representation of the encryption key bytes |
java.lang.String |
getEnterpriseInstallFolder()
Returns a folder where Protection! Enterprise is installed |
java.lang.String |
getFeedbackText()
|
java.lang.String |
getFeedbackTooltip()
|
java.lang.String |
getFeedbackURL()
|
java.lang.String |
getID()
Returns product's identifier |
java.lang.String |
getIntegrityClassName()
Returns the name of the Integrity code snippet class |
java.lang.String |
getIntegrityCodeSnippet()
Returns text of the Integrity code snippet associated with the product |
java.lang.String |
getIntegrityCodeSnippetFileName()
Returns the name of the file to save the Integrity code snippet to |
java.lang.String |
getIntegrityPackageName()
Returns the name of the package for the Integrity code snippet class |
ProtectionLauncherConfigBase |
getLauncherConfig()
|
java.lang.String |
getLicenseClassName()
Returns the name of the license code snippet class |
java.lang.String |
getLicenseCodeSnippet()
Returns text of the license code snippet associated with the product |
java.lang.String |
getLicenseCodeSnippetFileName()
Returns the name of the file to save the license code snippet to |
java.lang.String |
getLicenseFileName()
Deprecated. use getLauncherConfig().getLicenseFileName()
instead |
java.lang.String |
getLicenseFolder()
Deprecated. use getLauncherConfig().getLicenseFolder()
instead |
java.lang.String |
getLicensePackageName()
Returns the name of the package for the license code snippet class |
java.lang.String |
getLicenseResourceFolder()
Deprecated. use getLauncherConfig().getLicenseResourceFolder() instead |
int |
getMajorVersion()
Returns major version of the product |
int |
getMinorVersion()
Returns minor version of the product |
java.lang.String |
getName()
Return product's name |
byte[] |
getPrivateKeyBytes()
Deprecated. use getDecryptKeyBytes() instead |
java.lang.String |
getPrivateKeyBytesStr()
Deprecated. use getDecryptKeyBytesStr() instead |
ProductEdition |
getProductEdition(int anIndex)
Find product's edition by its index |
ProductEdition |
getProductEdition(java.lang.String anID)
Finds product edition by its identifier |
ProductEdition |
getProductEditionByShortID(int aShortID)
Returns product edition by its short identifier |
java.util.List |
getProductEditions()
Return the list of product's editions |
int |
getProductEditionsSize()
Returns count of product's editions |
ProductFeature |
getProductFeature(int anIndex)
Find product's feature by its index |
ProductFeature |
getProductFeature(java.lang.String anID)
Finds product feature by its identifier |
java.util.List |
getProductFeatures()
Return the list of product's features |
int |
getProductFeaturesSize()
Returns count of product's features |
Product.ProductLink |
getProductLink(int anIndex)
Finds product's link by its index |
Product.ProductLink |
getProductLink(java.lang.String anID)
Finds product's link by its identifier |
java.util.List |
getProductLinks()
Returns the list of the ProductLink objects |
java.util.List |
getPropertyInfos()
|
ProtectionLauncherBuildConfig |
getProtectionLauncherBuildConfig(java.lang.String anID)
|
dev.util.collections.HashedBoundList |
getProtectionLauncherBuildConfigs()
|
byte[] |
getPublicKeyBytes()
Deprecated. use getEncryptKeyBytes() instead |
java.lang.String |
getSecretStorageFileName()
Deprecated. use getLauncherConfig().getSecretStorageProviders()
instead |
java.lang.String |
getSecretStorageFolder()
Deprecated. use getLauncherConfig().getSecretStorageProviders()
instead |
java.lang.String |
getSecurityAlgorithm()
Returns security algorithm to be used to encode and decode licenses |
int |
getShortID()
Returns product's short identifier |
java.util.HashMap |
getShortIDProductEditionMap()
Returns product edition by short identifier map |
java.lang.String |
getSiteText()
|
java.lang.String |
getSiteTooltip()
|
java.lang.String |
getSiteURL()
|
int |
getType()
|
static java.lang.String |
getTypeStr(int aType)
|
java.lang.String |
getVersionStr()
Compose product's version using major an minor version attributes |
boolean |
isAuditRuleEnabled(java.lang.String anID)
|
boolean |
isEnabled()
|
boolean |
isLicenseUserHomeRelative()
Deprecated. use getLauncherConfig().isLicenseUserHomeRelative() instead |
boolean |
isSecretStorageUserHomeRelative()
Deprecated. use getLauncherConfig().getSecretStorageProviders()
instead |
boolean |
isSecurityKeysConverted()
|
boolean |
isUseEnterpriseWSPlugin()
Returns whether Protection! Enterprise plug-in is used |
void |
move(ProductFeature aProductFeature,
int anInc)
Moves product's feature up/down movement in the features list |
void |
setAuditRuleEnabled(java.lang.String anID,
boolean isEnabled)
|
void |
setCodeSnippetID(java.lang.String aCodeSnippetID)
|
void |
setCompany(java.lang.String aCompany)
Deprecated. use getLauncherConfig().setCompany() instead |
void |
setCopyright(java.lang.String aCopyright)
Deprecated. use getLauncherConfig().setCopyright() instead |
void |
setDecryptKeyBytes(byte[] aDecryptKeyBytes)
Specifies bytes array that represents key used to decrypt the license. |
void |
setDefaultAlias(java.lang.String aDefaultAlias)
|
void |
setDefaultEvalPeriod(int aDefaultEvalPeriod)
Specifies default evaluation period |
void |
setDefaultGracePeriod(int aDefaultGracePeriod)
Specifies default grace period |
void |
setDigestAlgorithm(int aDigestAlgorithm)
|
protected void |
setDigestRuntimeConfig(DigestRuntimeConfig aDigestRuntimeConfig)
|
void |
setEmailSubject(java.lang.String aEmailSubject)
Specifies the e-mail message subject |
void |
setEmailText(java.lang.String aEmailText)
Specifies the e-mail message text |
void |
setEnabled(boolean anEnabled)
|
void |
setEncryptKeyBytes(byte[] aEncryptKeyBytes)
Specifies bytes array that represnts key used to encrypt the license. |
void |
setEnterpriseInstallFolder(java.lang.String enterpriseInstallFolder)
Specifies a folder where Protection! Enterprise is installed |
void |
setFeedbackText(java.lang.String aFeedbackText)
|
void |
setFeedbackTooltip(java.lang.String aFeedbackTooltip)
|
void |
setFeedbackURL(java.lang.String aFeedbackURL)
|
void |
setID(java.lang.String aID)
Specifies product's identifier |
void |
setIntegrityClassName(java.lang.String anIntegrityClassName)
Specifies the name of the Integrity code snippet class |
void |
setIntegrityCodeSnippet(java.lang.String anIntegrityCodeSnippet)
Specifies text of the Integrity code snippet associated with the product |
void |
setIntegrityCodeSnippetFileName(java.lang.String anIntegrityCodeSnippetFileName)
Specifies the name of the file to save the Integrity code snippet to |
void |
setIntegrityPackageName(java.lang.String anIntegrityPackageName)
Specifies the name of the package for the Integrity code snippet class |
void |
setLicenseClassName(java.lang.String aLicenseClassName)
Specifies the name of the license code snippet class |
void |
setLicenseCodeSnippet(java.lang.String aLicenseCodeSnippet)
Specifies text of the license code snippet associated with the product |
void |
setLicenseCodeSnippetFileName(java.lang.String aCodeSnippetFileName)
Specifies the name of the file to save the license code snippet to |
void |
setLicenseFileName(java.lang.String aLicenseFileName)
Deprecated. use getLauncherConfig().setLicenseFileName() instead |
void |
setLicenseFolder(java.lang.String aLicenseFolder)
Specifies the name of the folder to locate license in |
void |
setLicensePackageName(java.lang.String aPackageName)
Specifies the name of the package for the license code snippet class |
void |
setLicenseResourceFolder(java.lang.String aLicenseResourceFolder)
Deprecated. use getLauncherConfig().setLicenseResourceFolder() instead |
void |
setLicenseUserHomeRelative(boolean aLicenseUserHomeRelative)
Deprecated. use getLauncherConfig().setLicenseUserHomeRelative() instead |
void |
setMajorVersion(int aMajorVersion)
Specifies major version of the product |
void |
setMinorVersion(int aMinorVersion)
Specifies minor version of the product |
void |
setName(java.lang.String aName)
Specifies product's name |
void |
setPrivateKeyBytes(byte[] aPrivateKeyBytes)
Deprecated. use setDecryptKeyBytes(...) instead |
protected void |
setProtectionLauncherConfig(ProtectionLauncherConfigBase aConfig)
|
void |
setPublicKeyBytes(byte[] aPublicKeyBytes)
Deprecated. use setEncryptKeyBytes(...) instead |
void |
setSecretStorageFileName(java.lang.String aSecretStorageFileName)
Deprecated. use getLauncherConfig().getSecretStorageProviders()
instead |
void |
setSecretStorageFolder(java.lang.String aSecretStorageFolder)
Deprecated. use getLauncherConfig().getSecretStorageProviders()
instead |
void |
setSecretStorageUserHomeRelative(boolean aSecretStorageUserHomeRelative)
Deprecated. use getLauncherConfig().getSecretStorageProviders()
instead |
void |
setSecurityAlgorithm(java.lang.String aSecurityAlgorithm)
Specifies security algorithm to be used to encode and decode licenses |
void |
setSecurityKeysConverted(boolean aSecurityKeysConverted)
|
void |
setShortID(int aShortID)
Specifies product's short identifier |
void |
setSiteText(java.lang.String aSiteText)
|
void |
setSiteTooltip(java.lang.String aSiteTooltip)
|
void |
setSiteURL(java.lang.String aSiteURL)
|
void |
setType(int aType)
|
void |
setUseEnterpriseWSPlugin(boolean useEnterpriseWSPlugin)
Specifies whether Protection! Enterprise plug-in should be used |
java.lang.String |
toString()
|
Product |
update(Product aProduct)
Updates specified product |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int UNASSIGNED_SHORT_ID
public static final long serialVersionUID
protected java.lang.String fName
protected java.lang.String fID
protected int fShortID
protected int fMajorVersion
protected int fMinorVersion
protected java.lang.String fSiteText
protected java.lang.String fSiteURL
protected java.lang.String fSiteTooltip
protected java.lang.String fFeedbackText
protected java.lang.String fFeedbackURL
protected java.lang.String fFeedbackTooltip
protected java.lang.String fLicenseFileName
protected java.lang.String fLicenseFolder
protected boolean fLicenseUserHomeRelative
protected java.lang.String fLicenseResourceFolder
protected java.lang.String fSecretStorageFileName
protected java.lang.String fSecretStorageFolder
protected boolean fSecretStorageUserHomeRelative
protected java.lang.String fLicensePackageName
protected java.lang.String fLicenseClassName
protected java.lang.String fLicenseCodeSnippetFileName
protected java.lang.String fCRCPackageName
protected java.lang.String fCRCClassName
protected java.lang.String fCRCCodeSnippetFileName
protected java.lang.String fLicenseCodeSnippet
protected java.lang.String fCRCCodeSnippet
protected byte[] fPublicKeyBytes
protected byte[] fPrivateKeyBytes
protected java.lang.String fSecurityAlgorithm
protected boolean fSecurityKeysConverted
public static final java.lang.String DEFAULT_SECURITY_ALGORITHM
protected int fDefaultEvalPeriod
protected int fDefaultGracePeriod
protected java.lang.String fCopyright
protected java.lang.String fCompany
protected java.lang.String fEmailSubject
protected java.lang.String fEmailText
protected java.util.List fPropertyInfos
protected boolean fDisabled
protected transient java.util.HashMap fShortIDProductEditionMap
protected transient dev.util.collections.ContainerListener fProductLinksListener
protected dev.util.collections.HashedBoundList fProductFeatures
protected dev.util.collections.HashedBoundList fProductEditions
protected dev.util.collections.HashedBoundList fProductLinks
protected transient dev.util.collections.ContainerListener fContainerListener
protected java.util.List fCRCEntries
protected int fDigestAlgorithm
public static final int TYPE_UNKNOWN
public static final int TYPE_GUI_APPLICATION
public static final int TYPE_CONSOLE_APPLICATION
protected int fType
protected java.lang.String fCodeSnippetID
protected java.lang.String fDefaultAlias
public static final int PRODUCT_LINK_INDEX_SITE
public static final int PRODUCT_LINK_INDEX_FEEDBACK
protected dev.util.collections.HashedBoundList fDigestBuildConfigs
protected dev.util.collections.HashedBoundList fProtectionLauncherBuildConfigs
protected java.util.Map fAuditRuleEnabledMap
protected ProtectionLauncherConfigBase fLauncherConfig
protected DigestRuntimeConfig fDigestRuntimeConfig
Constructor Detail |
---|
public Product(java.lang.String aID)
Product
aID
- identifier to assignpublic Product()
Product
Method Detail |
---|
public ProductEdition getProductEditionByShortID(int aShortID)
aShortID
- short identifier
ProductEdition
public java.util.HashMap getShortIDProductEditionMap()
protected int generateProductEditionShortID()
protected void assignProductEditionShortIDs()
public int getDigestAlgorithm()
public void setDigestAlgorithm(int aDigestAlgorithm)
public java.lang.String getSecurityAlgorithm()
public void setSecurityAlgorithm(java.lang.String aSecurityAlgorithm)
aSecurityAlgorithm
- resurity algorithmpublic java.lang.String getIntegrityCodeSnippet()
public void setIntegrityCodeSnippet(java.lang.String anIntegrityCodeSnippet)
anIntegrityCodeSnippet
- text of the Integrity code snippetpublic java.lang.String getLicenseCodeSnippet()
public void setLicenseCodeSnippet(java.lang.String aLicenseCodeSnippet)
aLicenseCodeSnippet
- text of the license code snippetpublic java.lang.String getIntegrityCodeSnippetFileName()
public void setIntegrityCodeSnippetFileName(java.lang.String anIntegrityCodeSnippetFileName)
anIntegrityCodeSnippetFileName
- the name of the filepublic java.lang.String getIntegrityPackageName()
public void setIntegrityPackageName(java.lang.String anIntegrityPackageName)
anIntegrityPackageName
- name of the packagepublic java.lang.String getLicensePackageName()
public void setLicensePackageName(java.lang.String aPackageName)
aPackageName
- name of the packagepublic java.lang.String getLicenseResourceFolder()
getLauncherConfig().getLicenseResourceFolder()
instead
public void setLicenseResourceFolder(java.lang.String aLicenseResourceFolder)
getLauncherConfig().setLicenseResourceFolder()
instead
aLicenseResourceFolder
- resource folderpublic byte[] getDecryptKeyBytes()
public void setDecryptKeyBytes(byte[] aDecryptKeyBytes)
aDecryptKeyBytes
- key bytespublic java.lang.String getDecryptKeyBytesStr()
"1, 3, ..."
public java.lang.String getPrivateKeyBytesStr()
getDecryptKeyBytesStr()
instead
new byte[] {'1', '3', ...}
public byte[] getPrivateKeyBytes()
getDecryptKeyBytes()
instead
public void setPrivateKeyBytes(byte[] aPrivateKeyBytes)
setDecryptKeyBytes(...)
instead
aPrivateKeyBytes
- private key bytespublic byte[] getEncryptKeyBytes()
public java.lang.String getEncryptKeyBytesStr()
new byte[] {'1', '3', ...}
public void setEncryptKeyBytes(byte[] aEncryptKeyBytes)
aEncryptKeyBytes
- encryption key bytespublic byte[] getPublicKeyBytes()
getEncryptKeyBytes()
instead
public void setPublicKeyBytes(byte[] aPublicKeyBytes)
setEncryptKeyBytes(...)
instead
aPublicKeyBytes
- public key bytespublic boolean isSecurityKeysConverted()
public void setSecurityKeysConverted(boolean aSecurityKeysConverted)
public boolean convertSecurityKeys()
public java.lang.String getLicenseFileName()
getLauncherConfig().getLicenseFileName()
instead
public java.lang.String getSecretStorageFileName()
getLauncherConfig().getSecretStorageProviders()
instead
public void setSecretStorageFileName(java.lang.String aSecretStorageFileName)
getLauncherConfig().getSecretStorageProviders()
instead
aSecretStorageFileName
- file namepublic java.lang.String getSecretStorageFolder()
getLauncherConfig().getSecretStorageProviders()
instead
public void setSecretStorageFolder(java.lang.String aSecretStorageFolder)
getLauncherConfig().getSecretStorageProviders()
instead
aSecretStorageFolder
- folder namepublic boolean isSecretStorageUserHomeRelative()
getLauncherConfig().getSecretStorageProviders()
instead
true
if secret storage location is the user HOME relative; false
otherwisepublic void setSecretStorageUserHomeRelative(boolean aSecretStorageUserHomeRelative)
getLauncherConfig().getSecretStorageProviders()
instead
aSecretStorageUserHomeRelative
- true
if secret storage location should be
relative to user HOME; false
otherwisepublic void setLicenseFileName(java.lang.String aLicenseFileName)
getLauncherConfig().setLicenseFileName()
instead
aLicenseFileName
- file namepublic java.lang.String getLicenseFolder()
getLauncherConfig().getLicenseFolder()
instead
public void setLicenseFolder(java.lang.String aLicenseFolder)
aLicenseFolder
- folder namepublic boolean isLicenseUserHomeRelative()
getLauncherConfig().isLicenseUserHomeRelative()
instead
true
if license location is relative to the user HOME; false
otherwisepublic void setLicenseUserHomeRelative(boolean aLicenseUserHomeRelative)
getLauncherConfig().setLicenseUserHomeRelative()
instead
aLicenseUserHomeRelative
- true
if the license location is relative to the user HOME;
false
otherwisepublic java.lang.String getSiteText()
public void setSiteText(java.lang.String aSiteText)
public java.lang.String getSiteTooltip()
public void setSiteTooltip(java.lang.String aSiteTooltip)
public java.lang.String getSiteURL()
public void setSiteURL(java.lang.String aSiteURL)
public java.util.List getDigestEntries()
DigestEntry
objects
DigestEntry
objectspublic int getMajorVersion()
public void setMajorVersion(int aMajorVersion)
aMajorVersion
- major version of the productpublic int getMinorVersion()
public void setMinorVersion(int aMinorVersion)
aMinorVersion
- minor version of the productpublic java.lang.String getID()
public void setID(java.lang.String aID)
aID
- product's identifierpublic int getShortID()
public void setShortID(int aShortID)
aShortID
- product's short identifierpublic int getProductFeaturesSize()
public int getProductEditionsSize()
public ProductEdition createProductEdition()
ProductEdition
instancepublic java.util.List getProductEditions()
public java.lang.String getName()
public void setName(java.lang.String aName)
aName
- product's namepublic static java.lang.String getTypeStr(int aType)
public int getType()
public void setType(int aType)
public java.util.List getProductFeatures()
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
public java.lang.String getCodeSnippetID()
public void setCodeSnippetID(java.lang.String aCodeSnippetID)
public Product cloneProduct()
Product
instancepublic Product update(Product aProduct)
aProduct
- product to update
protected void setProtectionLauncherConfig(ProtectionLauncherConfigBase aConfig)
public ProductFeature getProductFeature(java.lang.String anID)
anID
- product feature's identifier
ProductFeature
; null
if product's feature is not foundpublic ProductEdition getProductEdition(java.lang.String anID)
anID
- product edition's identifier
ProductEdition
; null
if product's edition is not foundpublic java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getVersionStr()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String getFeedbackText()
public void setFeedbackText(java.lang.String aFeedbackText)
public java.lang.String getFeedbackTooltip()
public void setFeedbackTooltip(java.lang.String aFeedbackTooltip)
public java.lang.String getFeedbackURL()
public void setFeedbackURL(java.lang.String aFeedbackURL)
public java.lang.String getLicenseCodeSnippetFileName()
public void setLicenseCodeSnippetFileName(java.lang.String aCodeSnippetFileName)
aCodeSnippetFileName
- the name of the filepublic int getDefaultEvalPeriod()
public void setDefaultEvalPeriod(int aDefaultEvalPeriod)
aDefaultEvalPeriod
- default evaluation periodpublic int getDefaultGracePeriod()
public void setDefaultGracePeriod(int aDefaultGracePeriod)
aDefaultGracePeriod
- default grace periodpublic java.lang.String getDefaultAlias()
public void setDefaultAlias(java.lang.String aDefaultAlias)
public java.lang.String getIntegrityClassName()
public void setIntegrityClassName(java.lang.String anIntegrityClassName)
anIntegrityClassName
- name of the classpublic java.lang.String getLicenseClassName()
public void setLicenseClassName(java.lang.String aLicenseClassName)
aLicenseClassName
- name of the classpublic java.lang.String getCopyright()
getLauncherConfig().getCopyright()
instead
public void setCopyright(java.lang.String aCopyright)
getLauncherConfig().setCopyright()
instead
aCopyright
- copyright noticepublic java.lang.String getCompany()
getLauncherConfig().getCompany()
instead
public void setCompany(java.lang.String aCompany)
getLauncherConfig().setCompany()
instead
aCompany
- company namepublic java.lang.String getEmailSubject()
public void setEmailSubject(java.lang.String aEmailSubject)
aEmailSubject
- subject valuepublic java.lang.String getEmailText()
public void setEmailText(java.lang.String aEmailText)
aEmailText
- text valuepublic ProductFeature getProductFeature(int anIndex)
anIndex
- index to find
null
if no feature with such index existpublic ProductEdition getProductEdition(int anIndex)
anIndex
- index to find
null
if no edition with such index existpublic void move(ProductFeature aProductFeature, int anInc)
aProductFeature
- product feature to moveanInc
- index increment to movepublic java.util.List getProductLinks()
ProductLink
objects
public Product.ProductLink getProductLink(java.lang.String anID)
anID
- product feature's identifier
ProductLink
; null
if product link is not foundpublic Product.ProductLink getProductLink(int anIndex)
anIndex
- index to find product feature's
ProductLink
; null
if product link is not foundpublic ProtectionLauncherConfigBase getLauncherConfig()
public java.util.List getPropertyInfos()
public boolean isEnabled()
public void setEnabled(boolean anEnabled)
public DigestRuntimeConfig getDigestRuntimeConfig()
protected void setDigestRuntimeConfig(DigestRuntimeConfig aDigestRuntimeConfig)
public java.util.List getDigestBuildConfigs()
public DigestBuildConfig getDigestBuildConfig(java.lang.String anID)
public ProtectionLauncherBuildConfig getProtectionLauncherBuildConfig(java.lang.String anID)
public dev.util.collections.HashedBoundList getProtectionLauncherBuildConfigs()
public java.util.Map getAuditRuleEnabledMap()
public boolean isAuditRuleEnabled(java.lang.String anID)
public void setAuditRuleEnabled(java.lang.String anID, boolean isEnabled)
public boolean isUseEnterpriseWSPlugin()
true
if Protection! Enterprise plug-in is used; false
otherwisepublic void setUseEnterpriseWSPlugin(boolean useEnterpriseWSPlugin)
useEnterpriseWSPlugin
- true
if Protection! Enterprise plug-in should be used; false
otherwisepublic java.lang.String getEnterpriseInstallFolder()
public void setEnterpriseInstallFolder(java.lang.String enterpriseInstallFolder)
enterpriseInstallFolder
- folder where Protection! Enterprise is installed
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |