Package org.dspace.app.cris.statistics

Examples of org.dspace.app.cris.statistics.StatSubscriptionViewBean


            }
            else
            {
                if (identifier != null)
                {
                    StatSubscriptionViewBean statViewBean = new StatSubscriptionViewBean();
                    List<Integer> tmpFreqs = new ArrayList<Integer>();
                    tmpFreqs.addAll(freqs);
                    statViewBean.setFreqs(tmpFreqs);
                    statViewBean.setObject(dso);
                    statViewBean.setObjectName(objectName);
                    statViewBean.setId(identifier);
                    statViewBean.setType(type);                   
                    result.add(statViewBean);
                }
                freqs.clear();
                freqs.add(statSub.getFreq());

                type = currDSO.getType();
                identifier = statSub.getUid();
                objectName = currDSO.getName();
                dso = currDSO;

            }
        }
        if (identifier != null)
        {
            StatSubscriptionViewBean statViewBean = new StatSubscriptionViewBean();
            statViewBean.setFreqs(freqs);
            statViewBean.setObject(dso);
            statViewBean.setObjectName(objectName);
            statViewBean.setId(identifier);
            statViewBean.setType(type);           
            result.add(statViewBean);
        }
        return result;
    }
View Full Code Here

TOP

Related Classes of org.dspace.app.cris.statistics.StatSubscriptionViewBean

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.