|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.unittree.service.unit.UnitAttributeManager
public final class UnitAttributeManager
UnitAttributeManager
| Method Summary | |
|---|---|
static boolean |
canCreateSubUnit(int nIdUnit)
Check if the given id unit can creabe sub units |
static void |
doCreateUnit(Unit unit,
javax.servlet.http.HttpServletRequest request)
Do create the additional attributes of the given unit |
static void |
doModifyUnit(Unit unit,
javax.servlet.http.HttpServletRequest request)
Do modify the additional attributes of the given unit |
static void |
doRemoveUnit(int nIdUnit,
javax.servlet.http.HttpServletRequest request)
Do remove the additional attributes |
static void |
fillModel(javax.servlet.http.HttpServletRequest request,
fr.paris.lutece.portal.business.user.AdminUser adminUser,
java.util.Map<java.lang.String,java.lang.Object> model,
java.lang.String strMark)
Fill the model for the unit user attribute component |
static java.util.List<IUnitAttributeComponent> |
getListUnitAttributeComponents()
Get the list of unit user attribute components |
static java.util.List<IUnitAttributeService> |
getListUnitAttributeService()
Get the list of unit user attribute services |
static void |
populate(Unit unit)
Populate an unit additionnal attributes with the data of the database |
static void |
populate(Unit unit,
javax.servlet.http.HttpServletRequest request)
Populate an unit with the data of the request |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static java.util.List<IUnitAttributeComponent> getListUnitAttributeComponents()
IUnitAttributeComponent
public static void fillModel(javax.servlet.http.HttpServletRequest request,
fr.paris.lutece.portal.business.user.AdminUser adminUser,
java.util.Map<java.lang.String,java.lang.Object> model,
java.lang.String strMark)
request - the HTTP requestadminUser - the current usermodel - the modelstrMark - the markerpublic static java.util.List<IUnitAttributeService> getListUnitAttributeService()
IUnitUserAttributeService
public static 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)public static void populate(Unit unit)
unit - the unit to populate
public static void doCreateUnit(Unit unit,
javax.servlet.http.HttpServletRequest request)
unit - the unitrequest - the HTTP request
public static void doModifyUnit(Unit unit,
javax.servlet.http.HttpServletRequest request)
unit - the unitrequest - the HTTP request
public static void doRemoveUnit(int nIdUnit,
javax.servlet.http.HttpServletRequest request)
nIdUnit - the id unitrequest - the HTTP requestpublic static boolean canCreateSubUnit(int nIdUnit)
nIdUnit - the id unit
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||