|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.unittree.business.sector.SectorDAO
public class SectorDAO
SectorDAO
| Constructor Summary | |
|---|---|
SectorDAO()
|
|
| Method Summary | |
|---|---|
void |
addSectorToUnit(int nIdUnit,
int nIdSector,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Add a sector to an unit |
boolean |
hasSector(int nIdUnit,
int nIdSector,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Check if the given id unit has the given sector |
boolean |
hasSectors(int nIdUnit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Check if the given id unit has the given sector |
Sector |
load(int nIdSector,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load a sector |
java.util.List<Sector> |
loadAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load all sectors |
java.util.List<Sector> |
loadByIdUnit(int nIdUnit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load sectors from a given id unit |
void |
removeSector(int nIdUnit,
int nIdSector,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove sectors from a given id unit |
void |
removeSectorsFromUnit(int nIdUnit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove sectors from a given id unit |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SectorDAO()
| Method Detail |
|---|
public Sector load(int nIdSector,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface ISectorDAOnIdSector - the id sectorplugin - the plugin
Sectorpublic java.util.List<Sector> loadAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
loadAll in interface ISectorDAOplugin - the plugin
Sector
public java.util.List<Sector> loadByIdUnit(int nIdUnit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
loadByIdUnit in interface ISectorDAOnIdUnit - the id unitplugin - the plugin
Sector
public void addSectorToUnit(int nIdUnit,
int nIdSector,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
addSectorToUnit in interface ISectorDAOnIdUnit - the id unitnIdSector - the id sectorplugin - the plugin
public boolean hasSector(int nIdUnit,
int nIdSector,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
hasSector in interface ISectorDAOnIdUnit - the id unitnIdSector - the id sectorplugin - the plugin
public boolean hasSectors(int nIdUnit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
hasSectors in interface ISectorDAOnIdUnit - the id unitplugin - the plugin
public void removeSectorsFromUnit(int nIdUnit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
removeSectorsFromUnit in interface ISectorDAOnIdUnit - the id unitplugin - the plugin
public void removeSector(int nIdUnit,
int nIdSector,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
removeSector in interface ISectorDAOnIdUnit - the id unitnIdSector - the id sectorplugin - the plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||