public interface ConfigApi
http://community.abiquo.com/display/ABI20/API+Reference
,
ConfigAsyncApi
Modifier and Type | Method and Description |
---|---|
com.abiquo.server.core.config.LicenseDto |
addLicense(com.abiquo.server.core.config.LicenseDto license)
Add a new license.
|
com.abiquo.server.core.appslibrary.CategoryDto |
createCategory(com.abiquo.server.core.appslibrary.CategoryDto category)
Create a new category.
|
void |
deleteCategory(com.abiquo.server.core.appslibrary.CategoryDto category)
Deletes an existing category.
|
com.abiquo.server.core.appslibrary.CategoryDto |
getCategory(Integer categoryId)
Get the given category.
|
com.abiquo.server.core.enterprise.PrivilegeDto |
getPrivilege(Integer privilegeId)
Get the given privilege.
|
com.abiquo.server.core.appslibrary.CategoriesDto |
listCategories()
List all categories.
|
com.abiquo.server.core.config.LicensesDto |
listLicenses()
List all licenses.
|
com.abiquo.server.core.config.LicensesDto |
listLicenses(LicenseOptions options)
List all active/inactive licenses.
|
com.abiquo.server.core.enterprise.PrivilegesDto |
listPrivileges()
List all privileges in the system.
|
com.abiquo.server.core.config.SystemPropertiesDto |
listSystemProperties()
List all system properties.
|
com.abiquo.server.core.config.SystemPropertiesDto |
listSystemProperties(PropertyOptions options)
List properties with options.
|
void |
removeLicense(com.abiquo.server.core.config.LicenseDto license)
Removes an existing license.
|
com.abiquo.server.core.appslibrary.CategoryDto |
updateCategory(com.abiquo.server.core.appslibrary.CategoryDto category)
Updates an existing category.
|
com.abiquo.server.core.config.SystemPropertyDto |
updateSystemProperty(com.abiquo.server.core.config.SystemPropertyDto property)
Updates a system property.
|
com.abiquo.server.core.config.LicensesDto listLicenses()
com.abiquo.server.core.config.LicensesDto listLicenses(LicenseOptions options)
options
- Optional query params.com.abiquo.server.core.config.LicenseDto addLicense(com.abiquo.server.core.config.LicenseDto license)
license
- The license to add.void removeLicense(com.abiquo.server.core.config.LicenseDto license)
license
- The license to delete.com.abiquo.server.core.enterprise.PrivilegesDto listPrivileges()
com.abiquo.server.core.enterprise.PrivilegeDto getPrivilege(Integer privilegeId)
privilegeId
- The id of the privilege.null
if it does not exist.com.abiquo.server.core.config.SystemPropertiesDto listSystemProperties()
com.abiquo.server.core.config.SystemPropertiesDto listSystemProperties(PropertyOptions options)
options
- Optional query params.com.abiquo.server.core.config.SystemPropertyDto updateSystemProperty(com.abiquo.server.core.config.SystemPropertyDto property)
property
- The new attributes for the system property.com.abiquo.server.core.appslibrary.CategoriesDto listCategories()
com.abiquo.server.core.appslibrary.CategoryDto getCategory(Integer categoryId)
categoryId
- The id of the category.null
if it does not exist.com.abiquo.server.core.appslibrary.CategoryDto createCategory(com.abiquo.server.core.appslibrary.CategoryDto category)
icon
- The category to be created.com.abiquo.server.core.appslibrary.CategoryDto updateCategory(com.abiquo.server.core.appslibrary.CategoryDto category)
category
- The new attributes for the category.void deleteCategory(com.abiquo.server.core.appslibrary.CategoryDto category)
icon
- The category to delete.Copyright © 2009-2013 jclouds. All Rights Reserved.