001    /**
002     * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
013     */
014    
015    package com.liferay.portal.model.impl;
016    
017    import com.liferay.portal.kernel.exception.SystemException;
018    import com.liferay.portal.model.Subscription;
019    import com.liferay.portal.service.SubscriptionLocalServiceUtil;
020    
021    /**
022     * The extended model base implementation for the Subscription service. Represents a row in the "Subscription" database table, with each column mapped to a property of this class.
023     *
024     * <p>
025     * This class exists only as a container for the default extended model level methods generated by ServiceBuilder. Helper methods and all application logic should be put in {@link SubscriptionImpl}.
026     * </p>
027     *
028     * @author Brian Wing Shun Chan
029     * @see SubscriptionImpl
030     * @see com.liferay.portal.model.Subscription
031     * @generated
032     */
033    public abstract class SubscriptionBaseImpl extends SubscriptionModelImpl
034            implements Subscription {
035            /*
036             * NOTE FOR DEVELOPERS:
037             *
038             * Never modify or reference this class directly. All methods that expect a subscription model instance should use the {@link Subscription} interface instead.
039             */
040            public void persist() throws SystemException {
041                    SubscriptionLocalServiceUtil.updateSubscription(this);
042            }
043    }