|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Business interface of Parameter EJB: list of services for servicing ear : managamente of parameters (Session Stateful EJB)
Method Summary | |
java.util.ArrayList |
applyItemsParamLevel1Points(java.util.ArrayList items)
Applies a set of changes in the values of parameter level 1 of the current company. |
java.util.ArrayList |
applyItemsParamLevel2Points(java.util.ArrayList items)
Applies a set of changes in the values of parameter level 2 of the current company. |
CodeDescription[] |
listParamLevel1Points()
Loads all [code, value] of the values of parameter level 1 of the current company. |
CodeDescription[] |
listParamLevel2Points()
Loads all [code, value] of the values of parameter level 2 of the current company. |
java.util.ArrayList |
listParamRestrictions()
Loads the set parameters restrictions of the current company for each group parameter. |
ParameterModel |
listParamValues(java.lang.String codeParamater)
Loads the set parameters values of the current company for the parameter without warning colors. |
java.util.Hashtable |
loadLevel1Code()
Loads the value an code of level 1 point |
java.util.Hashtable |
loadLevel2Code()
Loads the value an code of level 2 point |
java.util.ArrayList |
loadParamLevelsName()
Loads parameters levels names of the current company. |
java.util.ArrayList |
loadParamSearchValues()
Loads parameters search order of the current company. |
java.util.ArrayList |
updateParamLevelsName(java.util.ArrayList items)
Applies a set of updates in the parameters levels names of the current company. |
java.util.ArrayList |
updateParamRestrictions(java.util.Hashtable items)
Applies a set of updates in the parameters restrictions in the current company. |
java.util.ArrayList |
updateParamSearchValues(java.util.ArrayList items)
Applies a set of updates in the parameters search order of the current company. |
java.lang.String |
updateParamValues(ParameterValue items,
java.util.Hashtable level1Code,
java.util.Hashtable level2Code)
Applies a set of updates in the parameters values in the current company. |
ParameterModel |
verifyParamValues(ParameterValue items)
Check the parameters values and set warning colors to ParameterModel object of the current company for the parameter. |
Methods inherited from interface javax.ejb.EJBObject |
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove |
Method Detail |
public java.util.ArrayList loadParamLevelsName() throws java.rmi.RemoteException, DAOException
java.rmi.RemoteException
- Description of the ExceptionDAOException
- Description of the Exceptionpublic java.util.ArrayList updateParamLevelsName(java.util.ArrayList items) throws java.rmi.RemoteException, DAOException
items
- ArrayList with 2 elements of type String
representing the attributes of items to apply param name of
level 1 and level 2.java.rmi.RemoteException
- Description of the ExceptionDAOException
- Description of the Exceptionpublic CodeDescription[] listParamLevel1Points() throws java.rmi.RemoteException, DAOException
java.rmi.RemoteException
- Description of the ExceptionDAOException
- Description of the Exceptionpublic java.util.ArrayList applyItemsParamLevel1Points(java.util.ArrayList items) throws java.rmi.RemoteException, DAOException
items
- ArrayList with 3 elements of
type String[] representing the attributes of items to apply code,
value and status. Status indicates if the item is for inserting,
deleting or updating (ServicingGlobals.INSERT,
ServicingGlobals.DELETE, ServicingGlobals.UPDATE)java.rmi.RemoteException
- Description of the ExceptionDAOException
- Description of the Exceptionpublic CodeDescription[] listParamLevel2Points() throws java.rmi.RemoteException, DAOException
java.rmi.RemoteException
- Description of the ExceptionDAOException
- Description of the Exceptionpublic java.util.ArrayList applyItemsParamLevel2Points(java.util.ArrayList items) throws java.rmi.RemoteException, DAOException
items
- ArrayList with 3 elements of
type String[] representing the attributes of items to apply code,
value and status. Status indicates if the item is for inserting,
deleting or updating (ServicingGlobals.INSERT,
ServicingGlobals.DELETE, ServicingGlobals.UPDATE)java.rmi.RemoteException
- Description of the ExceptionDAOException
- Description of the Exceptionpublic java.util.ArrayList loadParamSearchValues() throws java.rmi.RemoteException, DAOException
java.rmi.RemoteException
- Description of the ExceptionDAOException
- Description of the Exceptionpublic java.util.ArrayList updateParamSearchValues(java.util.ArrayList items) throws java.rmi.RemoteException, DAOException
items
- ArrayList with 2 elements of type String
representing the attributes of items to apply
parameters search order.java.rmi.RemoteException
- Description of the ExceptionDAOException
- Description of the Exceptionpublic java.util.ArrayList listParamRestrictions() throws java.rmi.RemoteException, DAOException
java.rmi.RemoteException
- Description of the ExceptionDAOException
- Description of the Exceptionpublic java.util.ArrayList updateParamRestrictions(java.util.Hashtable items) throws java.rmi.RemoteException, DAOException
items
- Hashtable with (n) elements of type ParmRestrictionUpdate.
When each element is representing the attributes of parameter
restrictions.java.rmi.RemoteException
- Description of the ExceptionDAOException
- Description of the Exceptionpublic ParameterModel listParamValues(java.lang.String codeParamater) throws java.rmi.RemoteException, DAOException
codeParamater
- Description of the Parameterjava.rmi.RemoteException
- Description of the ExceptionDAOException
- Description of the Exceptionpublic java.util.Hashtable loadLevel1Code() throws java.rmi.RemoteException, DAOException
java.rmi.RemoteException
- Description of the ExceptionDAOException
- Description of the Exceptionpublic java.util.Hashtable loadLevel2Code() throws java.rmi.RemoteException, DAOException
java.rmi.RemoteException
- Description of the ExceptionDAOException
- Description of the Exceptionpublic java.lang.String updateParamValues(ParameterValue items, java.util.Hashtable level1Code, java.util.Hashtable level2Code) throws java.rmi.RemoteException, DAOException
items
- ParameterValue object with the value of code parameter,
type of parameter and a Hashtable with the point1+"|"+point2 as
the Key and the value of parameter as the Value.level1Code
- The Hashtable object with value of level 1 point as
the key and the code of point 1 as value.level2Code
- The Hashtable object with value of level 2 point as
the key and the code of point 2 as value.java.rmi.RemoteException
- Description of the ExceptionDAOException
- Description of the Exceptionpublic ParameterModel verifyParamValues(ParameterValue items) throws java.rmi.RemoteException, DAOException
items
- ParameterValue object with the value of code parameter,
type of parameter and a Hashtable with the point1+"|"+point2 as
the Key and the value of parameter as the Value.java.rmi.RemoteException
- Description of the ExceptionDAOException
- Description of the Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |