2.17.2: 2011-06-17

net.sf.basedb.core
Class RawDataUtil

java.lang.Object
  extended by net.sf.basedb.core.RawDataUtil

public class RawDataUtil
extends Object

Utiltity class for getting and setting non-public properties of raw data objects.

Version:
2.0
Author:
Nicklas
Last modified
$Date: 2009-04-06 14:52:39 +0200 (Mon, 06 Apr 2009) $

Field Summary
private static Method getRawBioAssayData
          Method for calling RawData.getRawBioAssay()
private static boolean isInitialised
           
 
Constructor Summary
RawDataUtil()
           
 
Method Summary
static RawBioAssay getRawBioAssay(DbControl dc, RawData rawData)
          Get the raw bioassay the raw data belongs to.
(package private) static void init()
          Initialise the class.
(package private) static void unload()
          Unload all settings.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

getRawBioAssayData

private static Method getRawBioAssayData
Method for calling RawData.getRawBioAssay()


isInitialised

private static boolean isInitialised
Constructor Detail

RawDataUtil

public RawDataUtil()
Method Detail

init

static void init()
          throws BaseException
Initialise the class.

Throws:
BaseException

unload

static void unload()
Unload all settings.


getRawBioAssay

public static RawBioAssay getRawBioAssay(DbControl dc,
                                         RawData rawData)
                                  throws PermissionDeniedException,
                                         BaseException
Get the raw bioassay the raw data belongs to.

Parameters:
dc - The DbControl object used for permission checking and database access
rawData - The raw data object
Returns:
A RawBioAssay object
Throws:
PermissionDeniedException - If the logged in user doesn't have read permission
BaseException - If there is another error

2.17.2: 2011-06-17