Package org.infoglue.cms.entities.management.impl.simple

Examples of org.infoglue.cms.entities.management.impl.simple.SubscriptionImpl


      {
        logger.info("Changing userName from '" + currentModifier + "' to '" + newModifier + "' for number of Subscriptions: " + results.size());
      }
      while (results.hasMore())
      {
        SubscriptionImpl fe = (SubscriptionImpl)results.nextElement();
        fe.setUserName(newModifier);
        if (logger.isDebugEnabled())
        {
          logger.debug("Changing userName from '" + currentModifier + "' to '" + newModifier + "' for Subscription with ID: " + fe.getId());
        }
      }

      results.close();
      oql.close();
View Full Code Here


    return subscriptionVOList;
    }

    public SubscriptionVO create(SubscriptionVO subscriptionVO) throws ConstraintException, SystemException
    {
        Subscription subscription = new SubscriptionImpl();
        subscription.setValueObject(subscriptionVO);
        subscription = (Subscription) createEntity(subscription);
        return subscription.getValueObject();
    }
View Full Code Here

    return newSubscriptionVO;
    }

    public Subscription create(SubscriptionVO subscriptionVO,List<SubscriptionFilterVO> subscriptionFilterVOList, Database db) throws ConstraintException, SystemException, Exception
    {
      Subscription subscription = new SubscriptionImpl();
    subscription.setValueObject(subscriptionVO);
        subscription = (Subscription) createEntity(subscription, db);

    Iterator<SubscriptionFilterVO> subscriptionFilterVOListIterator = subscriptionFilterVOList.iterator();
    while(subscriptionFilterVOListIterator.hasNext())
    {
      SubscriptionFilterVO subscriptionFilterVO = subscriptionFilterVOListIterator.next();
        SubscriptionFilterImpl subscriptionFilter = new SubscriptionFilterImpl();
        subscriptionFilter.setValueObject(subscriptionFilterVO);
        subscriptionFilter.setSubscription(subscription);
        subscription.getSubscriptionFilters().add(subscriptionFilter);                 
    }

    return subscription;
    }
View Full Code Here

TOP

Related Classes of org.infoglue.cms.entities.management.impl.simple.SubscriptionImpl

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.