Package org.jahia.ajax.gwt.client.widget.subscription

Examples of org.jahia.ajax.gwt.client.widget.subscription.GWTSubscription


        subscriptionService
                .suspend(toSubscriptionIds(subscriptions), retrieveCurrentSession("live", getLocale(), true));
    }

    protected GWTSubscription toGWTSubscription(Subscription subscription) {
        GWTSubscription gwtBean = new GWTSubscription();

        gwtBean.setId(subscription.getId());
        gwtBean.setSubscriber(subscription.getSubscriber());
        gwtBean.setProvider(subscription.getProvider());
        gwtBean.setFirstName(subscription.getFirstName());
        gwtBean.setLastName(subscription.getLastName());
        gwtBean.setEmail(subscription.getEmail());
        gwtBean.setSuspended(subscription.isSuspended());
        gwtBean.setConfirmed(subscription.isConfirmed());
        gwtBean.setConfirmationKey(subscription.getConfirmationKey());

        return gwtBean;
    }
View Full Code Here

TOP

Related Classes of org.jahia.ajax.gwt.client.widget.subscription.GWTSubscription

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.