Changeset 3922
- Timestamp:
- Oct 29, 2010, 9:44:37 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/api/waf/src/se/lu/thep/waf/AbstractAction.java
r2444 r3922 33 33 import se.lu.thep.waf.constraints.VString; 34 34 import java.security.Principal; 35 import java.util.List; 35 36 import javax.servlet.http.HttpServletRequest; 36 37 import javax.servlet.http.HttpServletResponse; … … 218 219 219 220 221 /** 222 * Adapter method for getRequest().getSession().getAttribute(name) 223 * when retrieving a list of Integer values. The name of the 224 * VInteger parameter argument is used as name for the session attribute, 225 * while the type of the argument indicates that the list will 226 * contain Integer values. 227 * 228 * @param param VInteger The valid parameter coupled to the session attribute. 229 * @return List<Integer> The list of Integer values obtained from the session attribute. 230 */ 231 protected List<Integer> getSessionAttributeList(VInteger param) 232 { 233 return (List<Integer>) request.getSession().getAttribute(param.getName()); 234 } 235 236 220 237 @Override 221 238 public Object clone()
Note: See TracChangeset
for help on using the changeset viewer.