org.modelsphere.jack.baseDb.db
Class DbServices

java.lang.Object
  extended by org.modelsphere.jack.baseDb.db.DbServices

public class DbServices
extends java.lang.Object

Provides services on DB that usually require package-level access.


Method Summary
static DbServices getSingleton()
           
 java.lang.Object getValueOfObject(DbObject obj, MetaField mf)
           
 void setDbOfObject(DbObject object, Db db)
           
 void setProject(DbObject obj, DbProject project)
           
 void setTransStatus(DbObject obj, int status)
           
 void setValueOfObject(DbObject obj, MetaField mf, java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getSingleton

public static DbServices getSingleton()

setDbOfObject

public void setDbOfObject(DbObject object,
                          Db db)

setTransStatus

public void setTransStatus(DbObject obj,
                           int status)

setValueOfObject

public void setValueOfObject(DbObject obj,
                             MetaField mf,
                             java.lang.Object value)
                      throws DbException
Throws:
DbException

getValueOfObject

public java.lang.Object getValueOfObject(DbObject obj,
                                         MetaField mf)
                                  throws DbException
Throws:
DbException

setProject

public void setProject(DbObject obj,
                       DbProject project)
                throws DbException
Throws:
DbException


Open ModelSphere 2007. All Rights Reserved.