orca.manage.extensions.standard.container.db
Interface IManagerObjectDatabase

All Superinterfaces:
IInitialize
All Known Subinterfaces:
ICodManagerObjectDatabase
All Known Implementing Classes:
MySqlCodContainerManagerObjectDatabase, MySqlContainerManagerObjectDatabase

public interface IManagerObjectDatabase
extends IInitialize


Method Summary
 void addConfiguration(java.lang.String actorName, java.lang.String key, java.util.Properties p)
          Adds a new configuration record
 void addSlice(java.lang.String actorName, Slice slice)
          Creates a new slice record
 java.util.Vector<java.util.Properties> getClientSlices(java.lang.String actorName)
          Retrieves all client slices for the specified actor
 java.util.Vector<java.util.Properties> getConfiguration(java.lang.String actorName, java.lang.String key)
          Retrieves the specified configuration record
 java.util.Vector<java.util.Properties> getConfigurations(java.lang.String actorName)
          Retrieves all XML configuration files for the specified actor
 java.util.Vector<java.util.Properties> getInventorySlices(java.lang.String actorName)
          Retrieves all inventory slices for the specified actor
 java.util.Vector<java.util.Properties> getReservations(java.lang.String actorName, SliceID sliceID)
          Retrieves all reservations for the specified actor in the specified slice
 java.util.Vector getSlice(java.lang.String actorName, SliceID sliceID)
          Retrieves the specified slice
 java.util.Vector<java.util.Properties> getSlices(java.lang.String actorName)
          Retrieves all slices for the specified actor
 void removeConfiguration(java.lang.String actorName, java.lang.String key)
          Removes the specified configuration record
 void removeReservation(java.lang.String actorName, ReservationID rid)
          Removes the specified reservation record
 void removeSlice(java.lang.String actorName, SliceID sliceID)
          Removes the specified slice
 void updateReservation(java.lang.String actorName, ResourceReservation reservation)
          Updates the specified reservation record
 void updateSlice(java.lang.String actorName, Slice slice)
          Updates the specified slice record
 
Methods inherited from interface orca.shirako.api.IInitialize
initialize
 

Method Detail

getConfigurations

java.util.Vector<java.util.Properties> getConfigurations(java.lang.String actorName)
                                                         throws java.lang.Exception
Retrieves all XML configuration files for the specified actor

Parameters:
actorName - actor name
Throws:
java.lang.Exception

getConfiguration

java.util.Vector<java.util.Properties> getConfiguration(java.lang.String actorName,
                                                        java.lang.String key)
                                                        throws java.lang.Exception
Retrieves the specified configuration record

Parameters:
actorName - actor name
key - configuration file key
Returns:
Throws:
java.lang.Exception

addConfiguration

void addConfiguration(java.lang.String actorName,
                      java.lang.String key,
                      java.util.Properties p)
                      throws java.lang.Exception
Adds a new configuration record

Parameters:
actorName - actor name
key - configuration file key
p - serialized configuration
Throws:
java.lang.Exception

removeConfiguration

void removeConfiguration(java.lang.String actorName,
                         java.lang.String key)
                         throws java.lang.Exception
Removes the specified configuration record

Parameters:
actorName - actor name
key - configuration key
Throws:
java.lang.Exception

addSlice

void addSlice(java.lang.String actorName,
              Slice slice)
              throws java.lang.Exception
Creates a new slice record

Parameters:
actorName - actor name
slice - slice
Throws:
java.lang.Exception

updateSlice

void updateSlice(java.lang.String actorName,
                 Slice slice)
                 throws java.lang.Exception
Updates the specified slice record

Parameters:
actorName - actor name
slice - slice
Throws:
java.lang.Exception

getSlices

java.util.Vector<java.util.Properties> getSlices(java.lang.String actorName)
                                                 throws java.lang.Exception
Retrieves all slices for the specified actor

Parameters:
actorName -
Returns:
Throws:
java.lang.Exception

getInventorySlices

java.util.Vector<java.util.Properties> getInventorySlices(java.lang.String actorName)
                                                          throws java.lang.Exception
Retrieves all inventory slices for the specified actor

Parameters:
actorName - actor name
Returns:
Throws:
java.lang.Exception

getClientSlices

java.util.Vector<java.util.Properties> getClientSlices(java.lang.String actorName)
                                                       throws java.lang.Exception
Retrieves all client slices for the specified actor

Parameters:
actorName - actor name
Returns:
Throws:
java.lang.Exception

getSlice

java.util.Vector getSlice(java.lang.String actorName,
                          SliceID sliceID)
                          throws java.lang.Exception
Retrieves the specified slice

Parameters:
actorName - actor name
sliceID - slice identifier
Returns:
Throws:
java.lang.Exception

removeSlice

void removeSlice(java.lang.String actorName,
                 SliceID sliceID)
                 throws java.lang.Exception
Removes the specified slice

Parameters:
actorName -
sliceID - slice identifier
Throws:
java.lang.Exception

getReservations

java.util.Vector<java.util.Properties> getReservations(java.lang.String actorName,
                                                       SliceID sliceID)
                                                       throws java.lang.Exception
Retrieves all reservations for the specified actor in the specified slice

Parameters:
actorName - actor name
sliceID - slice name
Throws:
java.lang.Exception

removeReservation

void removeReservation(java.lang.String actorName,
                       ReservationID rid)
                       throws java.lang.Exception
Removes the specified reservation record

Parameters:
actorName - actor name
rid - reservation id
Throws:
java.lang.Exception

updateReservation

void updateReservation(java.lang.String actorName,
                       ResourceReservation reservation)
                       throws java.lang.Exception
Updates the specified reservation record

Parameters:
actorName - actor name
reservation - reservation
Throws:
java.lang.Exception


Copyright © 2007 Network/Internet Computing Lab. All Rights Reserved.