java.lang.Iterable<MarketPlaceApp>
public class MarketPlaceAppPool extends Pool implements java.lang.Iterable<MarketPlaceApp>
ALL, client, elementName, GROUP, infoMethod, MINE, MINE_GROUP, poolElements, xpath
Constructor | Description |
---|---|
MarketPlaceAppPool(Client client) |
Creates a new MarketPlaceApp pool with the default filter flag value
set to
Pool.MINE_GROUP (MarketPlaceApps belonging to the connected user,
and the ones in his group) |
MarketPlaceAppPool(Client client,
int filter) |
Creates a new MarketPlaceApp pool.
|
Modifier and Type | Method | Description |
---|---|---|
PoolElement |
factory(org.w3c.dom.Node node) |
The factory method returns a suitable PoolElement object from
an XML node.
|
MarketPlaceApp |
getById(int id) |
Returns the MarketPlaceApp with the given Id from the pool.
|
OneResponse |
info() |
Loads the xml representation of all or part of the
MarketPlaceApps in the pool.
|
OneResponse |
info(int filter,
int startId,
int endId) |
Retrieves all or part of the MarketPlaceApps in the pool.
|
static OneResponse |
info(Client client,
int filter) |
Retrieves all or part of the MarketPlaceApps in the pool.
|
static OneResponse |
info(Client client,
int filter,
int startId,
int endId) |
Retrieves all or part of the MarketPlaceApps in the pool.
|
OneResponse |
infoAll() |
Loads the xml representation of all the MarketPlaceApps in the pool.
|
static OneResponse |
infoAll(Client client) |
Retrieves all the MarketPlaceApps in the pool.
|
OneResponse |
infoGroup() |
Loads the xml representation of all the connected user's MarketPlaceApps and
the ones in his group.
|
static OneResponse |
infoGroup(Client client) |
Retrieves all the connected user's MarketPlaceApps and the ones in
his group.
|
OneResponse |
infoMine() |
Loads the xml representation of all the connected user's MarketPlaceApps.
|
static OneResponse |
infoMine(Client client) |
Retrieves all the connected user's MarketPlaceApps.
|
java.util.Iterator<MarketPlaceApp> |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getLength, info, info, infoAll, infoGroup, infoGroupPrimary, infoMine, item, processInfo, xmlrpcInfo
public MarketPlaceAppPool(Client client)
Pool.MINE_GROUP
(MarketPlaceApps belonging to the connected user,
and the ones in his group)client
- XML-RPC Client.MarketPlaceAppPool(Client, int)
public MarketPlaceAppPool(Client client, int filter)
client
- XML-RPC Client.filter
- Filter flag to use by default in the method
info()
. Possible values:
Pool.ALL
: All MarketPlaceAppsPool.MINE
: Connected user's MarketPlaceAppsPool.MINE_GROUP
: Connected user's MarketPlaceApps, and the ones in
his groupPool.GROUP
: User's primary group MarketPlaceAppspublic PoolElement factory(org.w3c.dom.Node node)
Pool
public static OneResponse info(Client client, int filter)
client
- XML-RPC Client.filter
- Filter flag to use. Possible values:
Pool.ALL
: All MarketPlaceAppsPool.MINE
: Connected user's MarketPlaceAppsPool.MINE_GROUP
: Connected user's MarketPlaceApps, and the ones in
his groupPool.GROUP
: User's primary group MarketPlaceAppspublic static OneResponse infoAll(Client client)
client
- XML-RPC Client.public static OneResponse infoMine(Client client)
client
- XML-RPC Client.public static OneResponse infoGroup(Client client)
client
- XML-RPC Client.public static OneResponse info(Client client, int filter, int startId, int endId)
client
- XML-RPC Client.filter
- Filter flag to use. Possible values:
Pool.ALL
: All MarketPlaceAppsPool.MINE
: Connected user's MarketPlaceAppsPool.MINE_GROUP
: Connected user's MarketPlaceApps, and the ones in
his groupPool.GROUP
: User's primary group MarketPlaceAppsstartId
- Lowest Id to retrieveendId
- Biggest Id to retrievepublic OneResponse info()
info
in class Pool
info(Client, int)
public OneResponse infoAll()
public OneResponse infoMine()
public OneResponse infoGroup()
public OneResponse info(int filter, int startId, int endId)
info
in class Pool
filter
- Filter flag to use. Possible values:
Pool.ALL
: All MarketPlaceAppsPool.MINE
: Connected user's MarketPlaceAppsPool.MINE_GROUP
: Connected user's MarketPlaceApps, and the ones in
his groupPool.GROUP
: User's primary group MarketPlaceAppsstartId
- Lowest Id to retrieveendId
- Biggest Id to retrievepublic java.util.Iterator<MarketPlaceApp> iterator()
iterator
in interface java.lang.Iterable<MarketPlaceApp>
public MarketPlaceApp getById(int id)
info()
must be called before.Visit OpenNebula.org
Copyright 2002-2019 ©
OpenNebula Project, OpenNebula Systems.