Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

medi.base
Class Provider  view Provider download Provider.java

java.lang.Object
  extended bymedi.base.Provider

public class Provider
extends java.lang.Object

The main class to make simple operations on the database.

Version:
0.1.2

Field Summary
private  AnalyzerClass analyzerClass
           
private  Author author
           
private  AuthorTelephoneNo authorTelephoneNo
           
private  Container container
           
private  ContainerType containerType
           
private  javatools.util.ValidatorCluster containerVals
           
private  Contains contains
           
private  Data data
           
private  DataSet dataSet
           
private  javatools.db.DbDatabase db
           
private  Editor editor
           
private  EditorTelephoneNo editorTelephoneNo
           
private  FatherOf fatherOf
           
private  FileType fileType
           
private  java.text.SimpleDateFormat formatter
           
private  Genre genre
           
private  Includes includes
           
private  InstalledProgram installedProgram
           
private  Marks marks
           
private  long maxDataID
           
private  MountPoint mountPoint
           
private  NeedsExecutionOf needsExecutionOf
           
private  PreviewerClass previewerClass
           
private  Published published
           
private  Realized realized
           
private  Session session
           
private  javatools.util.ValidatorCluster vals
           
private  Volume volume
           
private  VolumeType volumeType
           
 
Constructor Summary
Provider(javatools.db.DbDatabase db)
          Creates new Provider
 
Method Summary
 void addAnalyzerClass(java.lang.String ac)
          Adds a new analyzer Java class.
 void addContainerType(java.lang.String ct)
          Adds a container type.
 void addContainerValidator(javatools.util.Validator val)
          Adds a new container validator.
 void addFileTypeValidator(javatools.util.Validator val)
          Adds a validator to control whether the table FILE_TYPE has been changed.
 void addMountPoint(java.lang.String mp)
          Adds a mount point.
 void addPreviewerClass(java.lang.String ac)
          Adds a new previewer class.
 void addVolumeType(java.lang.String vt)
          Adds a volume type.
 java.lang.String buildGenrePath(java.lang.Integer genreID)
          Builds a genre path for a given genre.
 java.lang.String buildPath(java.lang.String finalPath, java.lang.Integer volumeID, java.lang.Integer fatherSessionID)
          Creates a complete path for a given session.
private  void buildTables()
           
 void clearAnalyzerClasses()
          Deletes all analyzer Java classes.
 void clearContainerTypes()
          Clears all default volume types.
 void clearMountPoints()
          Clears all default mount points.
 void clearPreviewerClasses()
          Removes all previewer classes.
 void clearVolumeTypes()
          Clears all default volume types.
 void createAuthorTelephone(java.lang.Integer authorID, java.lang.String telephone)
          Creates a new author telephone number.
 void createEditorTelephone(java.lang.Integer editorID, java.lang.String telephone)
          Creates a new editor telephone number.
 int createEmptyAuthor()
          Creates a new empty author.
 int createEmptyContainer()
          Creates a new empty container.
 long createEmptyDataSet()
          Creates a new empty data.
 int createEmptyEditor()
          Creates a new empty editor.
 int createEmptyFileType()
          Creates a new empty file type.
 int createEmptyGenre(java.lang.Integer fatherGenreID)
          Creates a new empty genre.
 long createEmptyProgram()
          Creates an empty program.
 int createEmptySession(java.lang.Integer volumeID, java.lang.Integer fatherSessionID)
          Creates a new empty session.
 int createEmptyVolume(java.lang.Integer containerID)
          Creates a new empty volume.
 int createNewAuthor(java.lang.String name, java.lang.String minit, java.lang.String surname, java.lang.String address, java.lang.String eMail, java.lang.String homepage, java.lang.String description)
          Creates a new author.
 int createNewContainer(java.lang.String containerType, java.lang.String containerLocation)
          Creates a new container.
 long createNewData(java.lang.Integer fileTypeID, java.lang.String dataName, java.lang.String fileName, java.lang.String date, java.lang.Long dimension)
          Creates a new data.
 long createNewData(java.lang.Integer fileTypeID, java.lang.String dataName, java.lang.String fileName, java.lang.String date, java.lang.Long dimension, java.lang.String description, java.lang.Integer duration, java.lang.Integer samplingBits, java.lang.Integer frequency, java.lang.Integer stereo, java.lang.Integer bitrate, java.lang.Integer dimx, java.lang.Integer dimy)
          Creates a new data item.
 long createNewDataSet(java.lang.String name, java.lang.String description)
          Creates a new data set.
 int createNewFileType(java.lang.String fileTypeName, java.lang.String extension, java.lang.Integer sw, java.lang.String description)
          Creates a new file type.
 int createNewGenre(java.lang.Integer fatherGenreID, java.lang.String name, java.lang.String description)
          Creates a new Genre.
 int createNewSession(java.lang.Integer volumeID, java.lang.Integer fatherSessionID, java.lang.String sessionName, java.lang.String sessionType)
          Creates a new session.
 int createNewVolume(java.lang.Integer containerID, java.lang.String volumeName, java.lang.String volumeType)
          Creates a new volume.
private  void createReferences()
           
private  void createTables()
           
 java.lang.Integer findSessionID(java.lang.Integer volumeID, java.lang.String path)
          Finds a session ID by searching its path.
 javatools.db.DbTable getAnalyzerClasses()
          Returns the analyzer Java classes.
 javatools.db.DbTable getAuthors(java.lang.Integer authorID)
          Returns a list of authors.
 java.util.Iterator getAuthorsByData(java.lang.Long[] dataIDs)
          Returns a list of authors that realized the specific data.
 javatools.db.DbTable getAuthorsSorted(java.lang.Integer authorID)
          Returns a list of authors in a sorted way.
 javatools.db.DbTable getAuthorTelephone(java.lang.Integer authorID)
          Returns a list of telephone numbers of the specified author.
 boolean getAutomaticChecking()
          Gets the automatic checking flag.
 boolean getConstraintEmulation()
          Returns the value for the constraint emulation.
 javatools.db.DbTable getContainerAndVolumeByVolume(java.lang.Integer volumeID)
          Returns a joined-table with container and volume info.
 javatools.db.DbTable getContainers(java.lang.Integer containerID)
          Returns the containers.
 javatools.db.DbTable getContainersSorted(java.lang.Integer containerID)
          Returns a list of containers in a sorted way.
 javatools.db.DbTable getContainerTypes()
          Returns a list of default container types.
 javatools.db.DbTable getData(java.lang.Long dataID)
          Returns info about a specific row of Data.
 javatools.db.DbDatabase getDatabase()
          Returns the database that this object is using.
 javatools.db.DbTable getDataByAuthor(java.lang.Integer authorID)
          Returns data realized by an author.
 javatools.db.DbTable getDataByAuthorSorted(java.lang.Integer authorID)
          Returns data realized by a specified author (in a sorted way).
 javatools.db.DbTable getDataByDataSet(java.lang.Long dataSetID)
          Returns data contained in a data set.
 javatools.db.DbTable getDataByDataSetSorted(java.lang.Long dataSetID)
          Returns data contained in a specified data set (in a sorted way).
 javatools.db.DbTable getDataByEditor(java.lang.Integer editorID)
          Returns data published by an editor.
 javatools.db.DbTable getDataByEditorSorted(java.lang.Integer editorID)
          Returns a list of data published by a specified editor (in a sorted way).
 javatools.db.DbTable getDataByFileType(java.lang.Integer fileTypeID)
          Returns all data of a certain file type.
 javatools.db.DbTable getDataByFileTypeSorted(java.lang.Integer fileTypeID)
          Returns a list of data whose file type is the one specified (in a sorted way).
 javatools.db.DbTable getDataByGenre(java.lang.Integer genreID)
          Returns the data under a specific genre.
 javatools.db.DbTable getDataByGenreSorted(java.lang.Integer genreID)
          Returns a list of data whose genre is the one needed (in a sorted way).
 javatools.db.DbTable getDataBySession(java.lang.Integer volumeID, java.lang.Integer sessionID)
          Returns data contained in a session.
 javatools.db.DbTable getDataBySessionSorted(java.lang.Integer volumeID, java.lang.Integer sessionID)
          Returns data contained in a session in a sorted way.
 java.util.Iterator getDataSetByData(java.lang.Long[] dataIDs)
          Returns a list of data sets that contain the specified data IDs.
 javatools.db.DbTable getDataSets(java.lang.Long dataSetID)
          Returns a list of data sets.
 javatools.db.DbTable getDataSetsByName(java.lang.String name)
          Returns a list of data sets whose name is specified.
 javatools.db.DbTable getDataSetsSorted(java.lang.Long dataSetID)
          Returns a list of data sets in a sorted way.
 java.text.SimpleDateFormat getDateFormat()
          Returns the date formatter that the database uses.
 javatools.db.DbTable getDefaultProgram(java.lang.Integer fileTypeID)
          Returns the default programs for the specified file type.
 javatools.db.DbTable getDefaultProgramByData(java.lang.Long dataID)
          Returns the default program for the specified data.
 javatools.db.DbTable getEditors(java.lang.Integer editorID)
          Returns a list of editors.
 java.util.Iterator getEditorsByData(java.lang.Long[] dataIDs)
          Returns a list of editors that published the specified data.
 javatools.db.DbTable getEditorsSorted(java.lang.Integer editorID)
          Returns a list of editors in a sorted way.
 javatools.db.DbTable getEditorTelephone(java.lang.Integer editorID)
          Returns a list of telephone numbers of the specified editor.
 javatools.db.DbTable getFathers(java.lang.Long dataID)
          Returns the fathers of a specific data ID.
 javatools.db.DbTable getFileTypes(java.lang.Integer fileTypeID)
          Returns a list of file types.
 javatools.db.DbTable getFileTypesByExtension(java.lang.String extension)
          Retunrs a list of file types which accept the specified extension.
 javatools.db.DbTable getFileTypesByProgram(java.lang.Long programID)
          Returns the file types that are managed by the specified program.
 javatools.db.DbTable getFileTypesSorted(java.lang.Integer fileTypeID)
          Returns a list of file types in a sorted way.
 javatools.db.DbTable getGenres(java.lang.Integer genreID)
          Returns a list of genres, regardless of te super-genre.
 javatools.db.DbTable getGenres(java.lang.Integer genreID, java.lang.Integer superGenreID)
          Returns a list of genres.
 java.util.Iterator getGenresByData(java.lang.Long[] dataIDs)
          Returns a list of genres of a specific data.
 javatools.db.DbTable getGenresByName(java.lang.String name)
          Returns a list of genres whose name is specified.
 javatools.db.DbTable getGenresSorted(java.lang.Integer genreID, java.lang.Integer superGenreID)
          Returns a list of genres in a sorted way.
 java.util.Iterator getLocationsByData(java.lang.Long dataID)
          Returns a list of locations for the given data.
 int getMaxAuthorID()
          Returns the max author ID.
 int getMaxContainerID()
          Returns the max container ID.
 long getMaxDataID()
          Returns the max data ID.
 long getMaxDataSetID()
          Returns the max data set ID.
 int getMaxEditorID()
          Returns the max editor ID.
 int getMaxFileTypeID()
          Returns the max file type ID.
 int getMaxGenreID()
          Returns the max genre ID.
 long getMaxProgramID()
          Returns the maximum program ID.
 int getMaxSessionID(java.lang.Integer volumeID)
          Returns the max session ID for a given volume.
 int getMaxVolumeID()
          Returns the max volume ID.
 javatools.db.DbTable getMountPoints()
          Returns a list of default mount points.
 javatools.db.DbTable getOneVolume(java.lang.Integer volumeID)
          Returns info about ONE volume.
 javatools.db.DbTable getPreviewerClasses()
          Returns the previewer classes.
 javatools.db.DbTable getPrograms(java.lang.Long programID)
          Returns a list of programs.
 javatools.db.DbTable getProgramsByData(java.lang.Long dataID)
          Returns the programs that can manage the specified data.
 javatools.db.DbTable getProgramsByFileType(java.lang.Integer fileTypeID)
          Returns programs that manage the specified file type.
 javatools.db.DbTable getProgramsSorted(java.lang.Long programID)
          Returns a list of programs in a sorted way.
 javatools.db.DbTable getSessionByName(java.lang.Integer volumeID, java.lang.Integer fatherSessionID, java.lang.String sessionName)
          Returns the session whose name is specified.
 javatools.db.DbTable getSessions(java.lang.Integer volumeID, java.lang.Integer sessionID)
          Returns a list of session, without caring of super-session ID field.
 javatools.db.DbTable getSessions(java.lang.Integer volumeID, java.lang.Integer sessionID, java.lang.Integer superSession)
          Returns the session list.
 javatools.db.DbTable getSessionsByData(java.lang.Long dataID)
          Returns sessions that contain the specified data.
 javatools.db.DbTable getSessionsSorted(java.lang.Integer volumeID, java.lang.Integer sessionID, java.lang.Integer superSession)
          Returns the list of sessions in a sorted way.
 javatools.db.DbTable getSons(java.lang.Long dataID)
          Returns the sons of a specified data.
 javatools.db.DbTable getVolumeByName(java.lang.String volumeName)
          Returns a volume list as a DbTable by searching its name.
 javatools.db.DbTable getVolumeLocation(java.lang.Integer volumeID)
          Returns a volume's location.
 javatools.db.DbTable getVolumes(java.lang.Integer containerID, java.lang.Integer volumeID)
          Returns the volumes.
 javatools.db.DbTable getVolumesSorted(java.lang.Integer containerID, java.lang.Integer volumeID)
          Returns a list of volumes in a sorted way.
 javatools.db.DbTable getVolumeTypes()
          Returns a list of default volume types.
 boolean isGenreDescendent(java.lang.Integer genreID1, java.lang.Integer genreID2)
          Checks if a genre is a descendent of another genre.
 boolean isSessionDescendent(java.lang.Integer volumeID, java.lang.Integer sessionID1, java.lang.Integer sessionID2)
          Checks if a session is a descendent of an another session.
 void linkDataToAuthor(java.lang.Long dataID, java.lang.Integer authorID)
          Assigns a data to an author.
 void linkDataToDataSet(java.lang.Long dataID, java.lang.Long dataSetID)
          Assigns a data to a data set.
 void linkDataToEditor(java.lang.Long dataID, java.lang.Integer editorID)
          Assigns a data to an editor.
 void linkDataToFileType(java.lang.Long dataID, java.lang.Integer fileTypeID)
          Links a data item to a specified file type.
 void linkDataToGenre(java.lang.Long dataID, java.lang.Integer genreID)
          Assigns a data to a genre.
 void linkDataToSession(java.lang.Long dataID, java.lang.Integer volumeID, java.lang.Integer sessionID)
          Assigns a data to a session.
 void linkFileTypeToProgram(java.lang.Integer fileTypeID, java.lang.Long programID, java.lang.Integer isDefault)
          Links a file type to a program.
 void moveLinkDataToAuthor(java.lang.Long dataID, java.lang.Integer oldAuthorID, java.lang.Integer newAuthorID)
          Changes author assignment for a data item.
 void moveLinkDataToDataSet(java.lang.Long dataID, java.lang.Long oldDataSetID, java.lang.Long newDataSetID)
          Changes data set assignment for a data item.
 void moveLinkDataToEditor(java.lang.Long dataID, java.lang.Integer oldEditorID, java.lang.Integer newEditorID)
          Changes editor assignment for a data item.
 void moveLinkDataToGenre(java.lang.Long dataID, java.lang.Integer oldGenreID, java.lang.Integer newGenreID)
          Changes genre assignment for a data item.
 void moveLinkDataToSession(java.lang.Long dataID, java.lang.Integer oldVolumeID, java.lang.Integer oldSessionID, java.lang.Integer newVolumeID, java.lang.Integer newSessionID)
          Changes session assignment for a data item.
 void moveLinkFileTypeToProgram(java.lang.Integer fileTypeID, java.lang.Long oldProgramID, java.lang.Long newProgramID)
          Replaces a manager program for a specified file type.
 void moveLinkParentGenre(java.lang.Integer genreID, java.lang.Integer fatherGenreID)
          Changes parent genre for a genre.
 void moveLinkProgramToFileType(java.lang.Long programID, java.lang.Integer oldFileTypeID, java.lang.Integer newFileTypeID)
          Replaces a managed file type of a program with another one.
 java.lang.Integer moveLinkSessionToFatherSession(java.lang.Integer volumeID, java.lang.Integer sessionID, java.lang.Integer newVolumeID, java.lang.Integer fatherSessionID)
          Changes father session for a session, or puts it as a root session for a volume.
 void moveLinkVolumeToContainer(java.lang.Integer containerID, java.lang.Integer volumeID)
          Move a volume to another container (or to no container).
 void optimize()
          Optimizes the database.
 void removeAuthor(java.lang.Integer authorID)
          Deletes an author.
 void removeAuthorTelephones(java.lang.Integer authorID)
          Clears all author's telephones.
 void removeContainer(int containerID)
          Deletes a container.
 void removeData(java.lang.Long dataID)
          Deletes a data item.
 void removeDataSet(java.lang.Long dataSetID)
          Deletes a data set.
 void removeEditor(java.lang.Integer editorID)
          Deletes an editor.
 void removeEditorTelephones(java.lang.Integer editorID)
          Removes all editor's telephone numbers.
 void removeFileType(java.lang.Integer fileTypeID)
          Deletes a file type.
 void removeGenre(java.lang.Integer genreID)
          Deletes a genre.
 void removeProgram(java.lang.Long programID)
          Deletes a program.
 void removeSession(java.lang.Integer volumeID, java.lang.Integer sessionID)
          Deletes a session.
 void removeSessionClean(java.lang.Integer volumeID, java.lang.Integer sessionID)
          Removes a session in a clean way.
 void removeVolume(java.lang.Integer volumeID)
          Deletes a volume.
 void removeVolumeClean(java.lang.Integer volumeID)
          Removes a volume in a clean way.
 javatools.db.DbTable searchData(java.util.List dataName, java.util.List fileName, java.util.List authorList, java.util.List editorList, java.util.List genreList, java.util.List dataSetList, java.lang.Integer[] fileTypes)
          Searches the data with some criteria.
 void setAutomaticChecking(boolean value)
          Controls the automatic additional checking in performing database operations.
 void setConstraintEmulation(boolean value)
          Sets the constraint emulation value.
 void setDefaultProgram(java.lang.Integer fileTypeID, java.lang.Long programID)
          Sets the default program for a specified file type.
 void unlinkDataFromAuthor(java.lang.Long dataID, java.lang.Integer authorID)
          Un-assigns a data to an author.
 void unlinkDataFromDataSet(java.lang.Long dataID, java.lang.Long dataSetID)
          Un-assigns a data to a data set.
 void unlinkDataFromEditor(java.lang.Long dataID, java.lang.Integer editorID)
          Un-assigns a data to an editor.
 void unlinkDataFromGenre(java.lang.Long dataID, java.lang.Integer genreID)
          Un-assigns a data to a genre.
 void unlinkDataFromSession(java.lang.Long dataID, java.lang.Integer volumeID, java.lang.Integer sessionID)
          Un-assigns a data to a session.
 void unlinkFileTypeFromProgram(java.lang.Integer fileTypeID, java.lang.Long programID)
          Unlinks a file type from a program.
 void updateAuthor(java.lang.Integer authorID, java.lang.String authorName, java.lang.String authorMinit, java.lang.String authorSurname)
          Updates an author.
 void updateAuthor(java.lang.Integer authorID, java.lang.String authorName, java.lang.String authorMinit, java.lang.String authorSurname, java.lang.String address, java.lang.String eMail, java.lang.String homepage, java.lang.String description)
          Updates an author.
 void updateContainer(int containerID, java.lang.String type, java.lang.String position)
          Updates a container.
 void updateData(java.lang.Long dataID, java.lang.Integer fileTypeID, java.lang.String dataName, java.lang.String fileName, java.lang.String date, java.lang.Long dimension, java.lang.String description, java.lang.Integer duration, java.lang.Integer samplingBits, java.lang.Integer frequency, java.lang.Integer stereo, java.lang.Integer bitrate, java.lang.Integer dimx, java.lang.Integer dimy)
          Updates a data item.
 void updateDataFileType(java.lang.Long dataID, java.lang.Integer fileTypeID)
          Updates the file type of a data item.
 void updateDataSet(java.lang.Long dataSetID, java.lang.String dataSetName)
          Updates a data set.
 void updateDataSet(java.lang.Long dataSetID, java.lang.String dataSetName, java.lang.String description)
          Updates a data set.
 void updateEditor(java.lang.Integer editorID, java.lang.String firmName)
          Updates an editor.
 void updateEditor(java.lang.Integer editorID, java.lang.String firmName, java.lang.String address, java.lang.String eMail, java.lang.String homepage, java.lang.String description)
          Updates an editor.
 void updateFileType(java.lang.Integer fileTypeID, java.lang.String fileTypeName, java.lang.String extension, java.lang.Integer sw)
          Updates a file type.
 void updateFileType(java.lang.Integer fileTypeID, java.lang.String fileTypeName, java.lang.String extension, java.lang.Integer sw, java.lang.String description)
          Updates a file type.
 void updateGenre(java.lang.Integer genreID, java.lang.String genreName)
          Updates a genre.
 void updateGenre(java.lang.Integer genreID, java.lang.String genreName, java.lang.String description)
          Updates a genre.
 void updateProgram(java.lang.Long programID, java.lang.String programName, java.lang.String commandLine, java.lang.String finalOptions)
          Updates program data.
 void updateSession(java.lang.Integer volumeID, java.lang.Integer sessionID, java.lang.String sessionName, java.lang.String sessionType)
          Updates a session.
 void updateVolume(java.lang.Integer volumeID, java.lang.Integer containerID, java.lang.String name, java.lang.String type)
          Updates a volume, changing container assignment too.
 void updateVolume(java.lang.Integer volumeID, java.lang.String name, java.lang.String type)
          Updates a volume.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

db

private javatools.db.DbDatabase db

formatter

private java.text.SimpleDateFormat formatter

vals

private javatools.util.ValidatorCluster vals

containerVals

private javatools.util.ValidatorCluster containerVals

container

private Container container

volume

private Volume volume

session

private Session session

author

private Author author

authorTelephoneNo

private AuthorTelephoneNo authorTelephoneNo

editor

private Editor editor

editorTelephoneNo

private EditorTelephoneNo editorTelephoneNo

genre

private Genre genre

dataSet

private DataSet dataSet

fileType

private FileType fileType

data

private Data data

contains

private Contains contains

realized

private Realized realized

published

private Published published

marks

private Marks marks

includes

private Includes includes

installedProgram

private InstalledProgram installedProgram

needsExecutionOf

private NeedsExecutionOf needsExecutionOf

fatherOf

private FatherOf fatherOf

mountPoint

private MountPoint mountPoint

volumeType

private VolumeType volumeType

containerType

private ContainerType containerType

analyzerClass

private AnalyzerClass analyzerClass

previewerClass

private PreviewerClass previewerClass

maxDataID

private long maxDataID
Constructor Detail

Provider

public Provider(javatools.db.DbDatabase db)
         throws javatools.db.DbException
Creates new Provider

Method Detail

getDatabase

public javatools.db.DbDatabase getDatabase()
Returns the database that this object is using.


getDateFormat

public java.text.SimpleDateFormat getDateFormat()
Returns the date formatter that the database uses.


setAutomaticChecking

public void setAutomaticChecking(boolean value)
Controls the automatic additional checking in performing database operations.


getAutomaticChecking

public boolean getAutomaticChecking()
Gets the automatic checking flag.


setConstraintEmulation

public void setConstraintEmulation(boolean value)
Sets the constraint emulation value.


getConstraintEmulation

public boolean getConstraintEmulation()
Returns the value for the constraint emulation.


addFileTypeValidator

public void addFileTypeValidator(javatools.util.Validator val)
Adds a validator to control whether the table FILE_TYPE has been changed.


addContainerValidator

public void addContainerValidator(javatools.util.Validator val)
Adds a new container validator.


optimize

public void optimize()
              throws javatools.db.DbException
Optimizes the database.


getContainers

public javatools.db.DbTable getContainers(java.lang.Integer containerID)
                                   throws javatools.db.DbException
Returns the containers.


getContainersSorted

public javatools.db.DbTable getContainersSorted(java.lang.Integer containerID)
                                         throws javatools.db.DbException
Returns a list of containers in a sorted way.


getContainerAndVolumeByVolume

public javatools.db.DbTable getContainerAndVolumeByVolume(java.lang.Integer volumeID)
                                                   throws javatools.db.DbException
Returns a joined-table with container and volume info.


getVolumeLocation

public javatools.db.DbTable getVolumeLocation(java.lang.Integer volumeID)
                                       throws javatools.db.DbException
Returns a volume's location.


getVolumes

public javatools.db.DbTable getVolumes(java.lang.Integer containerID,
                                       java.lang.Integer volumeID)
                                throws javatools.db.DbException
Returns the volumes.


getVolumesSorted

public javatools.db.DbTable getVolumesSorted(java.lang.Integer containerID,
                                             java.lang.Integer volumeID)
                                      throws javatools.db.DbException
Returns a list of volumes in a sorted way.


getOneVolume

public javatools.db.DbTable getOneVolume(java.lang.Integer volumeID)
                                  throws javatools.db.DbException
Returns info about ONE volume.


getVolumeByName

public javatools.db.DbTable getVolumeByName(java.lang.String volumeName)
                                     throws javatools.db.DbException
Returns a volume list as a DbTable by searching its name.


getSessions

public javatools.db.DbTable getSessions(java.lang.Integer volumeID,
                                        java.lang.Integer sessionID,
                                        java.lang.Integer superSession)
                                 throws javatools.db.DbException
Returns the session list.


getSessionsSorted

public javatools.db.DbTable getSessionsSorted(java.lang.Integer volumeID,
                                              java.lang.Integer sessionID,
                                              java.lang.Integer&n