com.atlassian.confluence.license
Interface WebLicenseFacade


public interface WebLicenseFacade

Web frontend facade for the LicenseService. Promises to never escape, thus mapping every exception to an appropriate (HTML formatted) message.


Method Summary
 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.extras.api.confluence.ConfluenceLicense> validate(java.lang.String licenseString)
           
 

Method Detail

retrieve

com.atlassian.fugue.Either<java.lang.String,com.atlassian.extras.api.confluence.ConfluenceLicense> retrieve()
See Also:
LicenseService.retrieve()

validate

com.atlassian.fugue.Either<java.lang.String,com.atlassian.extras.api.confluence.ConfluenceLicense> validate(java.lang.String licenseString)
                                                                                                            throws LicenseException,
                                                                                                                   LicenseValidationException
Throws:
LicenseException
LicenseValidationException
See Also:
LicenseService.validate(String)

install

com.atlassian.fugue.Either<java.lang.String,com.atlassian.extras.api.confluence.ConfluenceLicense> install(java.lang.String licenseString)
                                                                                                           throws LicenseException,
                                                                                                                  LicenseValidationException
Throws:
LicenseException
LicenseValidationException
See Also:
LicenseService.install(String)


Copyright © 2003-2014 Atlassian. All Rights Reserved.