com.pnpconsult.zeiterfassung.helper
Class BillManager
java.lang.Object
com.pnpconsult.zeiterfassung.helper.AbstractObjectManager2
com.pnpconsult.zeiterfassung.helper.BillManager
- public class BillManager
- extends AbstractObjectManager2
- Version:
- $Id: BillManager.java,v 1.13 2004/08/02 20:36:08 powerpete Exp $
- Author:
- M. Petersen
| Methods inherited from class com.pnpconsult.zeiterfassung.helper.AbstractObjectManager2 |
delete, find, find, find, load, loadAll, loadAllNotArchived, save, save, sort, update |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BillManager
public BillManager()
load
public Bill load(long id)
throws net.sf.hibernate.HibernateException
- Throws:
net.sf.hibernate.HibernateException
loadAll
public java.util.List loadAll()
throws net.sf.hibernate.HibernateException
- Throws:
net.sf.hibernate.HibernateException
loadUserEntries
public java.util.List loadUserEntries(Bill bill)
throws net.sf.hibernate.HibernateException
- Throws:
net.sf.hibernate.HibernateException
delete
public void delete(long id)
throws net.sf.hibernate.HibernateException
- Throws:
net.sf.hibernate.HibernateException
save
public void save(Bill bill)
throws net.sf.hibernate.HibernateException
- Throws:
net.sf.hibernate.HibernateException
loadSame
public Bill loadSame(Bill bill)
throws net.sf.hibernate.HibernateException
- Returns a bill that is overlapped by the given bill object. Should be
used to prevent creating duplicate bills with the same entries.
- Parameters:
bill - The Billobject.
- Returns:
- One overlapping
Billobject or null if no
overlapping object exists.
- Throws:
net.sf.hibernate.HibernateException - On Hibernate error.
jface.util.factory.FactoryException - On configuration error.
loadNotPrinted
public java.util.Collection loadNotPrinted()
throws net.sf.hibernate.HibernateException
- Throws:
net.sf.hibernate.HibernateException
loadPrinted
public java.util.Collection loadPrinted()
throws net.sf.hibernate.HibernateException
- Throws:
net.sf.hibernate.HibernateException
update
public void update(Bill bill)
throws net.sf.hibernate.HibernateException
- Throws:
net.sf.hibernate.HibernateException
loadPrintedAndNotArchived
public java.util.Collection loadPrintedAndNotArchived()
throws net.sf.hibernate.HibernateException
- Throws:
net.sf.hibernate.HibernateException
reset
public void reset(long id)
throws net.sf.hibernate.HibernateException
- Throws:
net.sf.hibernate.HibernateException
Copyright © 2003-2004 PNP Unternehmensberatung. All Rights Reserved.