|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.crm.business.demand.DemandHome
public final class DemandHome
DemandHome
Method Summary | |
---|---|
static int |
create(Demand demand)
Insert a new record in the table. |
static java.util.List<Demand> |
findAll()
Find all demands |
static java.util.List<Demand> |
findByFilter(DemandFilter dFilter)
Find by filter |
static Demand |
findByPrimaryKey(int nIdDemand)
Load the data from the table |
static void |
remove(int nIdDemand)
Delete a record from the table |
static void |
update(Demand demand)
Update the record in the table |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static int create(Demand demand)
demand
- instance of the Demand object to insert
public static void update(Demand demand)
demand
- the reference of the Demandpublic static void remove(int nIdDemand)
nIdDemand
- int identifier of the demand to deletepublic static Demand findByPrimaryKey(int nIdDemand)
nIdDemand
- The identifier of the demand
public static java.util.List<Demand> findAll()
Demand
public static java.util.List<Demand> findByFilter(DemandFilter dFilter)
dFilter
- the filter
Demand
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |