Package com.gcrm.domain

Examples of com.gcrm.domain.Campaign


     * Selects the entities
     *
     * @return the SUCCESS result
     */
    public String select() throws ServiceException {
        Campaign campaign = null;
        Set<TargetList> targetLists = null;

        if ("Campaign".equals(this.getRelationKey())) {
            campaign = campaignService.getEntityById(Campaign.class,
                    Integer.valueOf(this.getRelationValue()));
            targetLists = campaign.getTargetLists();
        }

        if (this.getSeleteIDs() != null) {
            String[] ids = seleteIDs.split(",");
            for (int i = 0; i < ids.length; i++) {
View Full Code Here


     * Unselects the entities
     *
     * @return the SUCCESS result
     */
    public String unselect() throws ServiceException {
        Campaign campaign = null;
        Set<TargetList> targetLists = null;

        if ("Campaign".equals(this.getRelationKey())) {
            campaign = campaignService.getEntityById(Campaign.class,
                    Integer.valueOf(this.getRelationValue()));
            targetLists = campaign.getTargetLists();
        }

        if (this.getSeleteIDs() != null) {
            String[] ids = seleteIDs.split(",");
            Collection<TargetList> selectedTargetLists = new ArrayList<TargetList>();
View Full Code Here

TOP

Related Classes of com.gcrm.domain.Campaign

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.