|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorca.manage.extensions.api.ManagerObject
orca.manage.extensions.standard.actors.ActorManagerObject
orca.manage.extensions.standard.actors.AuthorityManagerObject
public class AuthorityManagerObject
| Field Summary | |
|---|---|
protected IAuthority |
authority
The authority represented by this wrapper |
| Fields inherited from class orca.manage.extensions.standard.actors.ActorManagerObject |
|---|
actor, db |
| Fields inherited from class orca.manage.extensions.api.ManagerObject |
|---|
id, logger, manager, PropertyActorName, PropertyClassName, PropertyID, PropertyProxiesClass, PropertyProxiesLength, PropertyProxiesPrefix, PropertyProxiesProtocol, PropertyTypeID, proxies, serial, typeID |
| Constructor Summary | |
|---|---|
AuthorityManagerObject()
Create a new instance |
|
AuthorityManagerObject(IAuthority authority)
Create a new instance |
|
| Method Summary | |
|---|---|
ResultSliceMng |
addClientSlice(SliceMng slice,
AuthToken caller)
Create a client slice |
int |
addConfigMapping(java.lang.String key,
ConfigMappingMng map)
|
ResultReservationMng |
exportResources(SliceID clientSliceID,
SliceID poolID,
java.lang.String ticketId,
java.lang.String start,
java.lang.String end,
int units,
AuthToken caller)
|
ResultReservationMng |
getAgentReservations(AuthToken caller)
Retrieves all reservations for which this actor is the agent |
ResultReservationMng |
getAuthorityReservations(AuthToken caller)
Retrieves all reservations for which this actor is the authority |
ResultReservationMng |
getClientReservations(AuthToken caller)
Retrieves all client reservations |
ResultSliceMng |
getClientSlices(AuthToken caller)
Retrieves all client slices |
ConfigMappingMng |
getConfigMapping(java.lang.String key)
|
ConfigMappingMng[] |
getConfigMappings()
|
ResultSliceMng |
getInventorySlices(AuthToken caller)
Retrieves the inventory slices of this actor |
ResultSliceMng |
getResourcePools(AuthToken caller)
Retrieves all resource pools |
protected void |
registerProtocols()
Register all communication protocols this object supports |
int |
removeConfigMapping(java.lang.String key)
|
void |
setActor(IActor actor)
Attach the actor to this wrapper. |
int |
updateConfigMapping(java.lang.String key,
ConfigMappingMng map)
|
| Methods inherited from class orca.manage.extensions.standard.actors.ActorManagerObject |
|---|
addReservation, addSlice, closeReservation, extendReservation, getActor, getActorName, getHoldings, getPolicyClass, getReservation, getReservationFromDatabase, getReservationID, getReservations, getReservations, getSlice, getSlices, recover, removeReservation, removeSlice, updateSlice |
| Methods inherited from class orca.manage.extensions.api.ManagerObject |
|---|
getID, getProxies, getStackTraceString, getTypeID, initialize, loadProtocols, reset, save, save, saveProtocols, setExceptionDetails |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected IAuthority authority
| Constructor Detail |
|---|
public AuthorityManagerObject()
public AuthorityManagerObject(IAuthority authority)
authority - Authority to represent| Method Detail |
|---|
protected void registerProtocols()
registerProtocols in class ActorManagerObjectpublic void setActor(IActor actor)
ActorManagerObject
setActor in class ActorManagerObjectpublic ResultSliceMng getInventorySlices(AuthToken caller)
ActorManagerObject
getInventorySlices in class ActorManagerObjectpublic ResultSliceMng getResourcePools(AuthToken caller)
public ResultSliceMng getClientSlices(AuthToken caller)
public ResultSliceMng addClientSlice(SliceMng slice,
AuthToken caller)
slice - Slice Descriptionpublic ResultReservationMng getAgentReservations(AuthToken caller)
public ResultReservationMng getAuthorityReservations(AuthToken caller)
public ResultReservationMng getClientReservations(AuthToken caller)
public ResultReservationMng exportResources(SliceID clientSliceID,
SliceID poolID,
java.lang.String ticketId,
java.lang.String start,
java.lang.String end,
int units,
AuthToken caller)
clientSliceName - poolName - ticketId - start - end - units -
public ConfigMappingMng[] getConfigMappings()
public ConfigMappingMng getConfigMapping(java.lang.String key)
public int addConfigMapping(java.lang.String key,
ConfigMappingMng map)
public int removeConfigMapping(java.lang.String key)
public int updateConfigMapping(java.lang.String key,
ConfigMappingMng map)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||