1 23 24 package org.infoglue.cms.applications.managementtool.actions; 25 26 import org.infoglue.cms.applications.common.actions.InfoGlueAbstractAction; 27 import org.infoglue.cms.controllers.kernel.impl.simple.InterceptorController; 28 import org.infoglue.cms.entities.management.InterceptorVO; 29 30 31 36 37 public class DeleteInterceptorAction extends InfoGlueAbstractAction 38 { 39 private static final long serialVersionUID = 1L; 40 41 private InterceptorVO interceptorVO = new InterceptorVO(); 42 43 protected String doExecute() throws Exception 44 { 45 InterceptorController.getController().delete(interceptorVO); 46 return "success"; 47 } 48 49 public void setInterceptorId(Integer interceptorId) 50 { 51 this.interceptorVO.setInterceptorId(interceptorId); 52 } 53 54 public Integer getInterceptorId() 55 { 56 return this.interceptorVO.getInterceptorId(); 57 } 58 59 60 } 61 | Popular Tags |