com.atlassian.confluence.license
Interface LicenseWebFacade

All Known Implementing Classes:
LicenseWebFacadeTemplate

public interface LicenseWebFacade

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.fugue.Maybe<com.atlassian.extras.api.ProductLicense>> retrieve(com.atlassian.extras.api.Product product)
           
 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()

retrieve

com.atlassian.fugue.Either<String,com.atlassian.fugue.Maybe<com.atlassian.extras.api.ProductLicense>> retrieve(com.atlassian.extras.api.Product product)
See Also:
LicenseService.retrieve(Product)

validate

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

install

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


Copyright © 2003-2013 Atlassian. All Rights Reserved.