public interface AdministrationService
Modifier and Type | Method and Description |
---|---|
Category |
findCategory(com.google.common.base.Predicate<Category> filter)
Get the first categories that matches the given filter or
null if none is found. |
Datacenter |
findDatacenter(com.google.common.base.Predicate<Datacenter> filter)
Get the first datacenter that matches the given filter or
null if none is found. |
Enterprise |
findEnterprise(com.google.common.base.Predicate<Enterprise> filter)
Get the first enterprises that matches the given filter or
null if none is
found. |
License |
findLicense(com.google.common.base.Predicate<License> filter)
Get the first license that matches the given filter or
null if none is found. |
Machine |
findMachine(com.google.common.base.Predicate<Machine> filter)
Get the first machine in the infrastructure that matches the given filter.
|
Privilege |
findPrivilege(com.google.common.base.Predicate<Privilege> filter)
Get the first privilege that matches the given filter or
null if none is found. |
Role |
findRole(com.google.common.base.Predicate<Role> filter)
Get the first role that matches the given filter or
null if none is found. |
SystemProperty |
findSystemProperty(com.google.common.base.Predicate<SystemProperty> filter)
Get the first system property that matches the given filter or
null if none is
found. |
Enterprise |
getCurrentEnterprise()
Get the enterprise of the current user.
|
User |
getCurrentUser()
Get the current user.
|
Datacenter |
getDatacenter(Integer datacenterId)
Get the datacenter with the given id.
|
Iterable<Datacenter> |
getDatacenters(List<Integer> datacenterIds)
Get the list of datacenters with the given ids.
|
Enterprise |
getEnterprise(Integer enterpriseId)
Get the enterprise with the given id.
|
EnterpriseProperties |
getEnterpriseProperties(Enterprise enterprise)
Get the properties of an enterprise.
|
Role |
getRole(Integer roleId)
Get the role with the given id.
|
SystemProperty |
getSystemProperty(String name)
Get the system property with the give name or
null if none is found. |
Iterable<Category> |
listCategories()
Get the list of categories.
|
Iterable<Category> |
listCategories(com.google.common.base.Predicate<Category> filter)
Get the list of categories matching the given filter.
|
Iterable<Datacenter> |
listDatacenters()
Get the list of all datacenters.
|
Iterable<Datacenter> |
listDatacenters(com.google.common.base.Predicate<Datacenter> filter)
Get the list of datacenters matching the given filter.
|
Iterable<Enterprise> |
listEnterprises()
Get the list of all enterprises.
|
Iterable<Enterprise> |
listEnterprises(com.google.common.base.Predicate<Enterprise> filter)
Get the list of enterprises matching the given filter.
|
Iterable<License> |
listLicenses()
Get the list of all licenses.
|
Iterable<License> |
listLicenses(boolean active)
Get the list of all active/inactive licenses.
|
Iterable<License> |
listLicenses(com.google.common.base.Predicate<License> filter)
Get the list of licenses matching the given filter.
|
Iterable<Machine> |
listMachines()
Get the list of all machines in the infrastructure.
|
Iterable<Machine> |
listMachines(com.google.common.base.Predicate<Machine> filter)
Get the list of all machines in the infrastructure matching the given filter.
|
Iterable<Privilege> |
listPrivileges()
Get the list of global privileges.
|
Iterable<Privilege> |
listPrivileges(com.google.common.base.Predicate<Privilege> filter)
Get the list of privileges matching the given filter.
|
Iterable<Role> |
listRoles()
Get the list of global roles.
|
Iterable<Role> |
listRoles(com.google.common.base.Predicate<Role> filter)
Get the list of roles matching the given filter.
|
Iterable<SystemProperty> |
listSystemProperties()
Get the list of system properties.
|
Iterable<SystemProperty> |
listSystemProperties(com.google.common.base.Predicate<SystemProperty> filter)
Get the list of system properties matching the given filter.
|
Iterable<SystemProperty> |
listSystemProperties(String component)
Get the list of system properties with options.
|
Iterable<Datacenter> listDatacenters()
Iterable<Datacenter> listDatacenters(com.google.common.base.Predicate<Datacenter> filter)
Datacenter findDatacenter(com.google.common.base.Predicate<Datacenter> filter)
null
if none is found.Datacenter getDatacenter(Integer datacenterId)
Iterable<Datacenter> getDatacenters(List<Integer> datacenterIds)
Iterable<Machine> listMachines(com.google.common.base.Predicate<Machine> filter)
Machine findMachine(com.google.common.base.Predicate<Machine> filter)
Iterable<Enterprise> listEnterprises()
Iterable<Enterprise> listEnterprises(com.google.common.base.Predicate<Enterprise> filter)
Enterprise findEnterprise(com.google.common.base.Predicate<Enterprise> filter)
null
if none is
found.Enterprise getEnterprise(Integer enterpriseId)
EnterpriseProperties getEnterpriseProperties(Enterprise enterprise)
Iterable<Role> listRoles(com.google.common.base.Predicate<Role> filter)
Role findRole(com.google.common.base.Predicate<Role> filter)
null
if none is found.Iterable<Privilege> listPrivileges(com.google.common.base.Predicate<Privilege> filter)
Privilege findPrivilege(com.google.common.base.Predicate<Privilege> filter)
null
if none is found.User getCurrentUser()
Enterprise getCurrentEnterprise()
Iterable<License> listLicenses(boolean active)
active
- Defines if searching for active (true
) or inactive (
false
) licenses.Iterable<License> listLicenses(com.google.common.base.Predicate<License> filter)
License findLicense(com.google.common.base.Predicate<License> filter)
null
if none is found.Iterable<SystemProperty> listSystemProperties()
Iterable<SystemProperty> listSystemProperties(com.google.common.base.Predicate<SystemProperty> filter)
SystemProperty findSystemProperty(com.google.common.base.Predicate<SystemProperty> filter)
null
if none is
found.SystemProperty getSystemProperty(String name)
null
if none is found.Iterable<SystemProperty> listSystemProperties(String component)
Iterable<Category> listCategories(com.google.common.base.Predicate<Category> filter)
Copyright © 2009-2013 jclouds. All Rights Reserved.