Search Results
OK to copy?
Examples 1 through 10 of
292 (0.0010 seconds)
Class:
com.technoetic.xplanner.actions.DeleteObjectAction
©,
Rating:
0% of 0,
C1
Class: com.technoetic.xplanner.actions.ExportAction ©, Rating: 0% of 0, C1
Class: com.technoetic.xplanner.actions.IdSearchAction ©, Rating: 0% of 0, C1
Class: com.technoetic.xplanner.actions.ViewObjectAction ©, Rating: 0% of 0, C2
Class: com.technoetic.xplanner.actions.EditNoteAction ©, Rating: 0% of 0, C2
Class: num.NumberGuessBean ©, Rating: 100% of 1, C2
Class: num.NumberGuessBean ©, Rating: 0% of 0, C2
Class: org.apache.jmeter.gui.util.NumberFieldErrorListener ©, Rating: 0% of 0, C1
Class: org.apache.tools.ant.taskdefs.TimeProcess ©, Rating: 0% of 0, C1
Class: com.technoetic.xplanner.tags.PersonOptionsTag ©, Rating: 0% of 0, C2
15 Class objectClass = getObjectType(actionMapping, request);
16 ObjectRepository repository = getRepository(objectClass);
17 repository.delete(Integer.parseInt(request.getParameter("oid")));
18 String returnto = request.getParameter("returnto");
19 return returnto != null ?
Class: com.technoetic.xplanner.actions.ExportAction ©, Rating: 0% of 0, C1
19 try {
20 Class objectClass = getObjectType(mapping, request);
21 Object object = getRepository(objectClass).load(Integer.parseInt(request.getParameter("oid")));
22 byte[] data = exporter.export(session, object);
23 exporter.initializeHeaders(response);
Class: com.technoetic.xplanner.actions.IdSearchAction ©, Rating: 0% of 0, C1
21 return createErrorForward(request, mapping, "missing ID");
22 }
23 int oid = Integer.parseInt(request.getParameter("searchedId").trim());
24 Object object = new IdSearchHelper(oid).search();
25 return new ActionForward("/do/view/"+HistorySupport.classToName(object.getClass())+"?oid="+oid, true);
Class: com.technoetic.xplanner.actions.ViewObjectAction ©, Rating: 0% of 0, C2
21 String forwardPath = null;
22 if (isSecure(actionMapping)) {
23 Object object = objectRepository.load(Integer.parseInt(request.getParameter("oid")));
24 setDomainContext(request, object);
25 }
Class: com.technoetic.xplanner.actions.EditNoteAction ©, Rating: 0% of 0, C2
31 InputStream input = formFile.getInputStream();
32 int fileSize = formFile.getFileSize();
33 int projectId = request.getParameter("projectId") != null ?
34 Integer.parseInt(request.getParameter("projectId")) : 0;
35 Directory directory = fileSystem.getDirectory("/attachments/project/"+projectId);
Class: num.NumberGuessBean ©, Rating: 100% of 1, C2
Class: num.NumberGuessBean ©, Rating: 0% of 0, C2
Class: org.apache.jmeter.gui.util.NumberFieldErrorListener ©, Rating: 0% of 0, C1
Class: org.apache.tools.ant.taskdefs.TimeProcess ©, Rating: 0% of 0, C1
25 public class TimeProcess {
26 public static void main(String[] args) throws Exception {
27 int time = Integer.parseInt(args[0]);
28 if (time < 1) {
29 throw new IllegalArgumentException("Invalid time: " + time);
Class: com.technoetic.xplanner.tags.PersonOptionsTag ©, Rating: 0% of 0, C2
75 String id = pageContext.getRequest().getParameter("projectId");
76 if (projectId == 0 && !StringUtils.isEmpty(id)) {
77 projectId = Integer.parseInt(id);
78 }
79 return projectId;