Package com.adito.policyframework

Examples of com.adito.policyframework.PolicyDataSource


    public ActionForward unspecified(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)
                    throws Exception {
        MessageForm mf = (MessageForm)form;
        mf.setReferer(CoreUtil.getReferer(request));
        PropertyList selectedPolicies = new PropertyList();
        MultiSelectDataSource policies = new PolicyDataSource();
        SessionInfo session = LogonControllerFactory.getInstance().getSessionInfo(request);
     
        String users = request.getParameter("users");
       
        MultiSelectSelectionModel policyModel = initSelectModel(mf, selectedPolicies, mf.isShowPersonalPolicies(), users, session);
View Full Code Here


        return mapping.findForward("display");
    }

    protected MultiSelectPoliciesSelectionModel initSelectModel(MessageForm mf, PropertyList selectedPolicies, boolean isShowPersonalPolicies, String users, SessionInfo session) throws Exception {
       
        MultiSelectDataSource policies = new PolicyDataSource();
        MultiSelectDataSource personalPolicies = null;
        if (!isShowPersonalPolicies) {
            personalPolicies = policies;
            policies = new PolicyExcludePersonalDataSource();
        }
View Full Code Here

        Resource resource = form.getResource();
        return resource.getResourceType().createResource(resource, getSessionInfo(request));
    }

    protected MultiSelectDataSource createAvailablePoliciesDataSource() throws Exception {
        return new PolicyDataSource();
    }
View Full Code Here

  public MessageForm() {
    super();
    selectedAccounts = new PropertyList();
    selectedRoles = new PropertyList();
    selectedPolicies = new PropertyList();
    selectedPolicyDataSource = new PolicyDataSource();
  }
View Full Code Here

TOP

Related Classes of com.adito.policyframework.PolicyDataSource

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.