Package com.adito.networkplaces.forms

Examples of com.adito.networkplaces.forms.NetworkPlaceForm


    /* (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 {
    NetworkPlaceForm npf = (NetworkPlaceForm)form;
       
    return NetworkPlaceDatabaseFactory.getInstance().createNetworkPlace(
      npf.getScheme(), npf.getResourceName(), npf.getResourceDescription(),
      npf.getHost(), npf.getPath(), npf.getPort(), npf.getUsername(),
      npf.getPassword(), npf.getReadOnly(), npf.isAllowRecursive(),
      npf.isNoDelete(), npf.isShowHidden(), npf.isAutoStart(), getSessionInfo(request).getRealmId());
  }
View Full Code Here

TOP

Related Classes of com.adito.networkplaces.forms.NetworkPlaceForm

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.