com.atlassian.confluence.license
Class LicenseWebFacadeTemplate
java.lang.Object
com.atlassian.confluence.license.LicenseWebFacadeTemplate
- All Implemented Interfaces:
- LicenseWebFacade
public abstract class LicenseWebFacadeTemplate
- extends java.lang.Object
- implements LicenseWebFacade
Method Summary |
protected abstract LicenseExceptionHandler<java.lang.Exception> |
createExceptionHandler()
|
com.atlassian.fugue.Either<java.lang.String,com.atlassian.extras.api.confluence.ConfluenceLicense> |
install(java.lang.String licenseString)
|
com.atlassian.fugue.Either<java.lang.String,com.atlassian.extras.api.confluence.ConfluenceLicense> |
retrieve()
|
com.atlassian.fugue.Either<java.lang.String,com.atlassian.fugue.Maybe<com.atlassian.extras.api.ProductLicense>> |
retrieve(com.atlassian.extras.api.Product product)
|
com.atlassian.fugue.Either<java.lang.String,com.atlassian.extras.api.confluence.ConfluenceLicense> |
validate(java.lang.String licenseString)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LicenseWebFacadeTemplate
public LicenseWebFacadeTemplate(LicenseService delegate)
retrieve
public com.atlassian.fugue.Either<java.lang.String,com.atlassian.extras.api.confluence.ConfluenceLicense> retrieve()
- Specified by:
retrieve
in interface LicenseWebFacade
- See Also:
LicenseService.retrieve()
retrieve
public com.atlassian.fugue.Either<java.lang.String,com.atlassian.fugue.Maybe<com.atlassian.extras.api.ProductLicense>> retrieve(com.atlassian.extras.api.Product product)
- Specified by:
retrieve
in interface LicenseWebFacade
- See Also:
LicenseService.retrieve(Product)
validate
public com.atlassian.fugue.Either<java.lang.String,com.atlassian.extras.api.confluence.ConfluenceLicense> validate(java.lang.String licenseString)
throws LicenseException,
KnownConfluenceLicenseValidationException
- Specified by:
validate
in interface LicenseWebFacade
- Throws:
LicenseException
KnownConfluenceLicenseValidationException
- See Also:
LicenseService.validate(String)
install
public com.atlassian.fugue.Either<java.lang.String,com.atlassian.extras.api.confluence.ConfluenceLicense> install(java.lang.String licenseString)
throws LicenseException,
KnownConfluenceLicenseValidationException
- Specified by:
install
in interface LicenseWebFacade
- Throws:
LicenseException
KnownConfluenceLicenseValidationException
- See Also:
LicenseService.install(String)
createExceptionHandler
protected abstract LicenseExceptionHandler<java.lang.Exception> createExceptionHandler()
Copyright © 2003-2014 Atlassian. All Rights Reserved.