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<String,com.atlassian.extras.api.confluence.ConfluenceLicense> install(String licenseString)
           
 com.atlassian.fugue.Either<String,com.atlassian.extras.api.confluence.ConfluenceLicense> retrieve()
           
 com.atlassian.fugue.Either<String,com.atlassian.extras.api.confluence.ConfluenceLicense> validate(String licenseString)
           
 

Method Detail

retrieve

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

validate

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

install

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


Copyright © 2003-2012 Atlassian. All Rights Reserved.