asit.moa.moazs.notifier
Class BaseAppIdUserDAO

java.lang.Object
  extended byasit.moa.moazs.notifier._BaseRootDAO
      extended byasit.moa.moazs.notifier.dao._RootDAO
          extended byasit.moa.moazs.notifier.BaseAppIdUserDAO
Direct Known Subclasses:
AppIdUserDAO

public abstract class BaseAppIdUserDAO
extends _RootDAO

This is an automatically generated DAO class which should not be edited.


Field Summary
static AppIdUserDAO instance
           
 
Fields inherited from class asit.moa.moazs.notifier._BaseRootDAO
mappedSessions, sessionFactory, sessionFactoryMap, sessions
 
Constructor Summary
BaseAppIdUserDAO()
           
 
Method Summary
 AppIdUser cast(Object object)
          Cast the object as a asit.moa.moazs.notifier.AppIdUser
 void delete(AppIdUser appIdUser)
          Remove a persistent instance from the datastore.
 void delete(AppIdUser appIdUser, net.sf.hibernate.Session s)
          Remove a persistent instance from the datastore.
 void delete(long id)
          Remove a persistent instance from the datastore.
 void delete(long id, net.sf.hibernate.Session s)
          Remove a persistent instance from the datastore.
 AppIdUser get(long key)
           
 AppIdUser get(long key, net.sf.hibernate.Session s)
           
 net.sf.hibernate.expression.Order getDefaultOrder()
           
static AppIdUserDAO getInstance()
          Return a singleton of the DAO
 Class getReferenceClass()
          Return the specific Object class that will be used for class-specific implementation of this DAO.
 AppIdUser load(long key)
           
 AppIdUser load(long key, net.sf.hibernate.Session s)
           
 AppIdUser loadInitialize(long key, net.sf.hibernate.Session s)
           
 void refresh(AppIdUser appIdUser, net.sf.hibernate.Session s)
          Re-read the state of the given instance from the underlying database.
 Long save(AppIdUser appIdUser)
          Persist the given transient instance, first assigning a generated identifier.
 Long save(AppIdUser appIdUser, net.sf.hibernate.Session s)
          Persist the given transient instance, first assigning a generated identifier.
 void saveOrUpdate(AppIdUser appIdUser)
          Either save() or update() the given instance, depending upon the value of its identifier property.
 void saveOrUpdate(AppIdUser appIdUser, net.sf.hibernate.Session s)
          Either save() or update() the given instance, depending upon the value of its identifier property.
 void update(AppIdUser appIdUser)
          Update the persistent state associated with the given identifier.
 void update(AppIdUser appIdUser, net.sf.hibernate.Session s)
          Update the persistent state associated with the given identifier.
 
Methods inherited from class asit.moa.moazs.notifier._BaseRootDAO
beginTransaction, closeCurrentThreadSessions, closeSession, commitTransaction, createNewSession, delete, delete, delete, delete, findAll, findAll, findAll, findAll, findFiltered, findFiltered, findFiltered, get, get, getConfigurationFileName, getNamedQuery, getNamedQuery, getNamedQuery, getNamedQuery, getNamedQuery, getNamedQuery, getNamedQuery, getNamedQuery, getNewConfiguration, getQuery, getQuery, getQuery, getQuery, getQuery, getQuery, getQuery, getQuery, getSession, getSessionFactory, getSessionFactory, initialize, initialize, initialize, load, load, refresh, save, save, saveOrUpdate, saveOrUpdate, setSessionFactory, setSessionFactory, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instance

public static AppIdUserDAO instance
Constructor Detail

BaseAppIdUserDAO

public BaseAppIdUserDAO()
Method Detail

getInstance

public static AppIdUserDAO getInstance()
Return a singleton of the DAO


getReferenceClass

public Class getReferenceClass()
Description copied from class: _BaseRootDAO
Return the specific Object class that will be used for class-specific implementation of this DAO.

Specified by:
getReferenceClass in class _BaseRootDAO
Returns:
the reference Class

getDefaultOrder

public net.sf.hibernate.expression.Order getDefaultOrder()
Overrides:
getDefaultOrder in class _BaseRootDAO

cast

public AppIdUser cast(Object object)
Cast the object as a asit.moa.moazs.notifier.AppIdUser


get

public AppIdUser get(long key)
              throws net.sf.hibernate.HibernateException
Throws:
net.sf.hibernate.HibernateException

get

public AppIdUser get(long key,
                     net.sf.hibernate.Session s)
              throws net.sf.hibernate.HibernateException
Throws:
net.sf.hibernate.HibernateException

load

public AppIdUser load(long key)
               throws net.sf.hibernate.HibernateException
Throws:
net.sf.hibernate.HibernateException

load

public AppIdUser load(long key,
                      net.sf.hibernate.Session s)
               throws net.sf.hibernate.HibernateException
Throws:
net.sf.hibernate.HibernateException

loadInitialize

public AppIdUser loadInitialize(long key,
                                net.sf.hibernate.Session s)
                         throws net.sf.hibernate.HibernateException
Throws:
net.sf.hibernate.HibernateException

save

public Long save(AppIdUser appIdUser)
          throws net.sf.hibernate.HibernateException
Persist the given transient instance, first assigning a generated identifier. (Or using the current value of the identifier property if the assigned generator is used.)

Parameters:
appIdUser - a transient instance of a persistent class
Returns:
the class identifier
Throws:
net.sf.hibernate.HibernateException

save

public Long save(AppIdUser appIdUser,
                 net.sf.hibernate.Session s)
          throws net.sf.hibernate.HibernateException
Persist the given transient instance, first assigning a generated identifier. (Or using the current value of the identifier property if the assigned generator is used.) Use the Session given.

Parameters:
appIdUser - a transient instance of a persistent class
s - the Session
Returns:
the class identifier
Throws:
net.sf.hibernate.HibernateException

saveOrUpdate

public void saveOrUpdate(AppIdUser appIdUser)
                  throws net.sf.hibernate.HibernateException
Either save() or update() the given instance, depending upon the value of its identifier property. By default the instance is always saved. This behaviour may be adjusted by specifying an unsaved-value attribute of the identifier property mapping.

Parameters:
appIdUser - a transient instance containing new or updated state
Throws:
net.sf.hibernate.HibernateException

saveOrUpdate

public void saveOrUpdate(AppIdUser appIdUser,
                         net.sf.hibernate.Session s)
                  throws net.sf.hibernate.HibernateException
Either save() or update() the given instance, depending upon the value of its identifier property. By default the instance is always saved. This behaviour may be adjusted by specifying an unsaved-value attribute of the identifier property mapping. Use the Session given.

Parameters:
appIdUser - a transient instance containing new or updated state.
s - the Session.
Throws:
net.sf.hibernate.HibernateException

update

public void update(AppIdUser appIdUser)
            throws net.sf.hibernate.HibernateException
Update the persistent state associated with the given identifier. An exception is thrown if there is a persistent instance with the same identifier in the current session.

Parameters:
appIdUser - a transient instance containing updated state
Throws:
net.sf.hibernate.HibernateException

update

public void update(AppIdUser appIdUser,
                   net.sf.hibernate.Session s)
            throws net.sf.hibernate.HibernateException
Update the persistent state associated with the given identifier. An exception is thrown if there is a persistent instance with the same identifier in the current session. Use the Session given.

Parameters:
appIdUser - a transient instance containing updated state
Throws:
net.sf.hibernate.HibernateException

delete

public void delete(long id)
            throws net.sf.hibernate.HibernateException
Remove a persistent instance from the datastore. The argument may be an instance associated with the receiving Session or a transient instance with an identifier associated with existing persistent state.

Parameters:
id - the instance ID to be removed
Throws:
net.sf.hibernate.HibernateException

delete

public void delete(long id,
                   net.sf.hibernate.Session s)
            throws net.sf.hibernate.HibernateException
Remove a persistent instance from the datastore. The argument may be an instance associated with the receiving Session or a transient instance with an identifier associated with existing persistent state. Use the Session given.

Parameters:
id - the instance ID to be removed
s - the Session
Throws:
net.sf.hibernate.HibernateException

delete

public void delete(AppIdUser appIdUser)
            throws net.sf.hibernate.HibernateException
Remove a persistent instance from the datastore. The argument may be an instance associated with the receiving Session or a transient instance with an identifier associated with existing persistent state.

Parameters:
appIdUser - the instance to be removed
Throws:
net.sf.hibernate.HibernateException

delete

public void delete(AppIdUser appIdUser,
                   net.sf.hibernate.Session s)
            throws net.sf.hibernate.HibernateException
Remove a persistent instance from the datastore. The argument may be an instance associated with the receiving Session or a transient instance with an identifier associated with existing persistent state. Use the Session given.

Parameters:
appIdUser - the instance to be removed
s - the Session
Throws:
net.sf.hibernate.HibernateException

refresh

public void refresh(AppIdUser appIdUser,
                    net.sf.hibernate.Session s)
             throws net.sf.hibernate.HibernateException
Re-read the state of the given instance from the underlying database. It is inadvisable to use this to implement long-running sessions that span many business tasks. This method is, however, useful in certain special circumstances. For example

Throws:
net.sf.hibernate.HibernateException


Copyright 2007 Institut fuer Angewandte Informationsverarbeitung und Kommunikationstechnologie. All Rights Reserved.