Package org.efs.openreports.objects

Examples of org.efs.openreports.objects.ReportUser


 
  protected static Logger log = Logger.getLogger(JXLSReportAction.class);   
 
  public String execute()
  {   
    ReportUser user = (ReportUser) ActionContext.getContext().getSession().get(
        ORStatics.REPORT_USER);

    report = (Report) ActionContext.getContext().getSession().get(ORStatics.REPORT);

    Map<String,Object> parameters = getReportParameterMap(user);
View Full Code Here


                + "where user.name = ? and user.password = ?").setString(0, name).setString(1, password).list();         

        if (list.size() == 0)
          return null;

        ReportUser user = list.get(0);       

        return user;
      }
      catch (HibernateException he)
      {     
View Full Code Here

      if (submitValidate)
      {
        Map<String,Object> map = new HashMap<String,Object>();
        if (query.toUpperCase().indexOf("$P") > -1)
        {
          ReportUser reportUser = (ReportUser) ActionContext.getContext().getSession().get(ORStatics.REPORT_USER);
          map = ORUtil.buildQueryParameterMap(reportUser, query, parameterProvider);
        }
       
        ChartReportEngine chartReportEngine = new ChartReportEngine(
            dataSourceProvider, directoryProvider, propertiesProvider);       
View Full Code Here

  private DataSourceProvider dataSourceProvider;
  private PropertiesProvider propertiesProvider;   

  public String execute()
  {   
    ReportUser user =
      (ReportUser) ActionContext.getContext().getSession().get(ORStatics.REPORT_USER);

    Report report = (Report) ActionContext.getContext().getSession().get(ORStatics.REPORT);

    int exportTypeCode =
View Full Code Here

      List users = userProvider.getUsers();
     
      Iterator iterator = users.iterator();
      while(iterator.hasNext())
      {
        ReportUser user = (ReportUser) iterator.next();
       
        List<ReportSchedule> schedules = schedulerProvider.getScheduledReports(user);       
       
        scheduledReports.addAll(schedules);
      }       
View Full Code Here

  public String execute()
  {
    try
    {
      ReportUser reportUser = userProvider.getUser(new Integer(id));

      name = reportUser.getName();

      if (!submitDelete && !submitCancel)
      {
        return INPUT;
      }
View Full Code Here

  private Report report;
  private Map reportParameters; 

  public String execute()
  {
    ReportUser user = (ReportUser) ActionContext.getContext().getSession().get(
        ORStatics.REPORT_USER);

    report = (Report) ActionContext.getContext().getSession().get(ORStatics.REPORT);   
    reportParameters = getReportParameterMap(user);
   
View Full Code Here

 
  private int id;

  public String execute()
  {
    ReportUser user = (ReportUser) ActionContext.getContext().getSession().get("user");   

    reportGroups = user.getGroups();   
    Collections.sort(reportGroups);
   
    //if there is only one report group, bypass group select screen
    if (reportGroups != null && reportGroups.size() == 1)
    {
View Full Code Here

          (ReportGroup) ActionContext.getContext().getSession().get(
            ORStatics.REPORT_GROUP);
      }
      else
      {
        ReportUser reportUser =
          (ReportUser) ActionContext.getContext().getSession().get(
            ORStatics.REPORT_USER);

        reportGroup =
          groupProvider.getReportGroup(new Integer(groupId));

        if (reportUser.isValidGroup(reportGroup))
        {
          session.put(ORStatics.REPORT_GROUP,  reportGroup);
        }
        else
        {
View Full Code Here

  private ChartValue[] chartValues;
    private long chartRequestId;

  public String execute()
  {   
    ReportUser user = (ReportUser) ActionContext.getContext().getSession().get(
        ORStatics.REPORT_USER);

    report = (Report) ActionContext.getContext().getSession().get(ORStatics.REPORT);

    Map<String,Object> reportParameters = getReportParameterMap(user);
View Full Code Here

TOP

Related Classes of org.efs.openreports.objects.ReportUser

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.