Package com.adito.applications.forms

Examples of com.adito.applications.forms.ApplicationShortcutForm


    /* (non-Javadoc)
   * @see com.adito.policyframework.actions.AbstractResourceDispatchAction#commitCreatedResource(org.apache.struts.action.ActionMapping, com.adito.policyframework.forms.AbstractResourceForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
   */
  protected Resource commitCreatedResource(ActionMapping mapping, AbstractResourceForm form, HttpServletRequest request, HttpServletResponse response) throws Exception {
    ApplicationShortcutForm asf = (ApplicationShortcutForm)form;
    ApplicationShortcut as = (ApplicationShortcut)asf.getResource();
    int resourceId = ApplicationShortcutDatabaseFactory.getInstance().createApplicationShortcut(
      as.getApplication(), asf.getResourceName(), asf.getResourceDescription(),
      as.getParameters(), as.isAutoStart(), getSessionInfo(request).getRealmId());
    return as.getResourceType().getResourceById(resourceId);
   
  }
View Full Code Here

TOP

Related Classes of com.adito.applications.forms.ApplicationShortcutForm

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.