|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IUnitAttributeService
IUnitAttributeService
| Method Summary | |
|---|---|
boolean |
canCreateSubUnit(int nIdUnit)
Check if the given id unit can creabe sub units |
void |
doCreateUnit(Unit unit,
javax.servlet.http.HttpServletRequest request)
Do create the additional attributes of the given unit |
void |
doModifyUnit(Unit unit,
javax.servlet.http.HttpServletRequest request)
Do modify the additional attributes of the given unit |
void |
doRemoveUnit(int nIdUnit,
javax.servlet.http.HttpServletRequest request)
Do remove the additional attributes |
void |
moveSubTree(Unit unitToMove,
Unit newUnitParent)
Update attributes to change the parent of a unit. |
void |
populate(Unit unit)
Populate an unit additionnal attributes with the data of the database |
void |
populate(Unit unit,
javax.servlet.http.HttpServletRequest request)
Populate an unit additionnal attributes with the data of the request |
| Method Detail |
|---|
void doCreateUnit(Unit unit,
javax.servlet.http.HttpServletRequest request)
unit - the unitrequest - the HTTP request
void doModifyUnit(Unit unit,
javax.servlet.http.HttpServletRequest request)
unit - the unitrequest - the HTTP request
void doRemoveUnit(int nIdUnit,
javax.servlet.http.HttpServletRequest request)
nIdUnit - the id unitrequest - the HTTP requestvoid populate(Unit unit)
unit - the unit to populate
void populate(Unit unit,
javax.servlet.http.HttpServletRequest request)
throws UnitErrorException
unit - the unit to populaterequest - the HTTP request
UnitErrorException - exception if there is an error (ex: mandatory field)boolean canCreateSubUnit(int nIdUnit)
nIdUnit - the id unit
void moveSubTree(Unit unitToMove,
Unit newUnitParent)
unitToMove - The unit to change the parent of.newUnitParent - The new parent of the unit
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||