Class SubscriptionLocalServiceBaseImpl
- All Implemented Interfaces:
com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService,com.liferay.portal.kernel.service.BaseLocalService,com.liferay.portal.kernel.service.PersistedModelLocalService,com.liferay.portal.kernel.service.SubscriptionLocalService
- Direct Known Subclasses:
SubscriptionLocalServiceImpl
This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in SubscriptionLocalServiceImpl.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.liferay.counter.kernel.service.CounterLocalServiceDeprecated.protected com.liferay.portal.kernel.service.SubscriptionLocalServiceDeprecated.protected com.liferay.portal.kernel.service.persistence.SubscriptionPersistenceDeprecated. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.liferay.portal.kernel.model.SubscriptionaddSubscription(com.liferay.portal.kernel.model.Subscription subscription) Deprecated.Adds the subscription to the database.voidDeprecated.com.liferay.portal.kernel.model.PersistedModelcreatePersistedModel(Serializable primaryKeyObj) Deprecated.com.liferay.portal.kernel.model.SubscriptioncreateSubscription(long subscriptionId) Deprecated.Creates a new subscription with the primary key.com.liferay.portal.kernel.model.PersistedModeldeletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) Deprecated.com.liferay.portal.kernel.model.SubscriptiondeleteSubscription(long subscriptionId) Deprecated.Deletes the subscription with the primary key from the database.com.liferay.portal.kernel.model.SubscriptiondeleteSubscription(com.liferay.portal.kernel.model.Subscription subscription) Deprecated.Deletes the subscription from the database.voiddestroy()Deprecated.<T> TdslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) Deprecated.intdslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) Deprecated.com.liferay.portal.kernel.dao.orm.DynamicQueryDeprecated.<T> List<T>dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Deprecated.Performs a dynamic query on the database and returns the matching rows.<T> List<T>dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) Deprecated.Performs a dynamic query on the database and returns a range of the matching rows.<T> List<T>dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) Deprecated.Performs a dynamic query on the database and returns an ordered range of the matching rows.longdynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Deprecated.Returns the number of rows matching the dynamic query.longdynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection) Deprecated.Returns the number of rows matching the dynamic query.com.liferay.portal.kernel.model.SubscriptionfetchSubscription(long subscriptionId) Deprecated.com.liferay.portal.kernel.dao.orm.ActionableDynamicQueryDeprecated.com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Subscription>Deprecated.com.liferay.counter.kernel.service.CounterLocalServiceDeprecated.Returns the counter local service.com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQueryDeprecated.protected Class<?>Deprecated.protected StringDeprecated.Deprecated.Returns the OSGi service identifier.com.liferay.portal.kernel.model.PersistedModelgetPersistedModel(Serializable primaryKeyObj) Deprecated.com.liferay.portal.kernel.model.SubscriptiongetSubscription(long subscriptionId) Deprecated.Returns the subscription with the primary key.com.liferay.portal.kernel.service.SubscriptionLocalServiceDeprecated.Returns the subscription local service.com.liferay.portal.kernel.service.persistence.SubscriptionPersistenceDeprecated.Returns the subscription persistence.List<com.liferay.portal.kernel.model.Subscription>getSubscriptions(int start, int end) Deprecated.Returns a range of all the subscriptions.intDeprecated.Returns the number of subscriptions.protected voidinitActionableDynamicQuery(com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery actionableDynamicQuery) Deprecated.protected voidDeprecated.Performs a SQL query.voidsetCounterLocalService(com.liferay.counter.kernel.service.CounterLocalService counterLocalService) Deprecated.Sets the counter local service.voidsetSubscriptionLocalService(com.liferay.portal.kernel.service.SubscriptionLocalService subscriptionLocalService) Deprecated.Sets the subscription local service.voidsetSubscriptionPersistence(com.liferay.portal.kernel.service.persistence.SubscriptionPersistence subscriptionPersistence) Deprecated.Sets the subscription persistence.com.liferay.portal.kernel.model.SubscriptionupdateSubscription(com.liferay.portal.kernel.model.Subscription subscription) Deprecated.Updates the subscription in the database or adds it if it does not yet exist.Methods inherited from class com.liferay.portal.kernel.service.BaseLocalServiceImpl
getClassLoader, getLocalizationMapMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.service.PersistedModelLocalService
fetchPersistedModelMethods inherited from interface com.liferay.portal.kernel.service.SubscriptionLocalService
addSubscription, addSubscription, deleteSubscription, deleteSubscriptions, deleteSubscriptions, deleteSubscriptions, fetchSubscription, getSubscription, getSubscriptions, getSubscriptions, getUserSubscriptions, getUserSubscriptions, getUserSubscriptionsCount, isSubscribed, isSubscribed
-
Field Details
-
subscriptionLocalService
@BeanReference(type=com.liferay.portal.kernel.service.SubscriptionLocalService.class) protected com.liferay.portal.kernel.service.SubscriptionLocalService subscriptionLocalServiceDeprecated. -
subscriptionPersistence
@BeanReference(type=com.liferay.portal.kernel.service.persistence.SubscriptionPersistence.class) protected com.liferay.portal.kernel.service.persistence.SubscriptionPersistence subscriptionPersistenceDeprecated. -
counterLocalService
@BeanReference(type=com.liferay.counter.kernel.service.CounterLocalService.class) protected com.liferay.counter.kernel.service.CounterLocalService counterLocalServiceDeprecated.
-
-
Constructor Details
-
SubscriptionLocalServiceBaseImpl
public SubscriptionLocalServiceBaseImpl()Deprecated.
-
-
Method Details
-
addSubscription
@Indexable(type=REINDEX) public com.liferay.portal.kernel.model.Subscription addSubscription(com.liferay.portal.kernel.model.Subscription subscription) Deprecated.Adds the subscription to the database. Also notifies the appropriate model listeners.Important: Inspect SubscriptionLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
addSubscriptionin interfacecom.liferay.portal.kernel.service.SubscriptionLocalService- Parameters:
subscription- the subscription- Returns:
- the subscription that was added
-
createSubscription
@Transactional(enabled=false) public com.liferay.portal.kernel.model.Subscription createSubscription(long subscriptionId) Deprecated.Creates a new subscription with the primary key. Does not add the subscription to the database.- Specified by:
createSubscriptionin interfacecom.liferay.portal.kernel.service.SubscriptionLocalService- Parameters:
subscriptionId- the primary key for the new subscription- Returns:
- the new subscription
-
deleteSubscription
@Indexable(type=DELETE) public com.liferay.portal.kernel.model.Subscription deleteSubscription(long subscriptionId) throws com.liferay.portal.kernel.exception.PortalException Deprecated.Deletes the subscription with the primary key from the database. Also notifies the appropriate model listeners.Important: Inspect SubscriptionLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
deleteSubscriptionin interfacecom.liferay.portal.kernel.service.SubscriptionLocalService- Parameters:
subscriptionId- the primary key of the subscription- Returns:
- the subscription that was removed
- Throws:
com.liferay.portal.kernel.exception.PortalException- if a subscription with the primary key could not be found
-
deleteSubscription
@Indexable(type=DELETE) public com.liferay.portal.kernel.model.Subscription deleteSubscription(com.liferay.portal.kernel.model.Subscription subscription) throws com.liferay.portal.kernel.exception.PortalException Deprecated.Deletes the subscription from the database. Also notifies the appropriate model listeners.Important: Inspect SubscriptionLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
deleteSubscriptionin interfacecom.liferay.portal.kernel.service.SubscriptionLocalService- Parameters:
subscription- the subscription- Returns:
- the subscription that was removed
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) Deprecated.- Specified by:
dslQueryin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Specified by:
dslQueryin interfacecom.liferay.portal.kernel.service.SubscriptionLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) Deprecated.- Specified by:
dslQueryCountin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Specified by:
dslQueryCountin interfacecom.liferay.portal.kernel.service.SubscriptionLocalService
-
dynamicQuery
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()Deprecated.- Specified by:
dynamicQueryin interfacecom.liferay.portal.kernel.service.SubscriptionLocalService
-
dynamicQuery
Deprecated.Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQueryin interfacecom.liferay.portal.kernel.service.SubscriptionLocalService- Parameters:
dynamicQuery- the dynamic query- Returns:
- the matching rows
-
dynamicQuery
public <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) Deprecated.Performs a dynamic query on the database and returns a range of the matching rows.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.SubscriptionModelImpl.- Specified by:
dynamicQueryin interfacecom.liferay.portal.kernel.service.SubscriptionLocalService- Parameters:
dynamicQuery- the dynamic querystart- the lower bound of the range of model instancesend- the upper bound of the range of model instances (not inclusive)- Returns:
- the range of matching rows
-
dynamicQuery
public <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) Deprecated.Performs a dynamic query on the database and returns an ordered range of the matching rows.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.SubscriptionModelImpl.- Specified by:
dynamicQueryin interfacecom.liferay.portal.kernel.service.SubscriptionLocalService- Parameters:
dynamicQuery- the dynamic querystart- the lower bound of the range of model instancesend- the upper bound of the range of model instances (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching rows
-
dynamicQueryCount
public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Deprecated.Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCountin interfacecom.liferay.portal.kernel.service.SubscriptionLocalService- Parameters:
dynamicQuery- the dynamic query- Returns:
- the number of rows matching the dynamic query
-
dynamicQueryCount
public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection) Deprecated.Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCountin interfacecom.liferay.portal.kernel.service.SubscriptionLocalService- Parameters:
dynamicQuery- the dynamic queryprojection- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
fetchSubscription
public com.liferay.portal.kernel.model.Subscription fetchSubscription(long subscriptionId) Deprecated.- Specified by:
fetchSubscriptionin interfacecom.liferay.portal.kernel.service.SubscriptionLocalService
-
getSubscription
public com.liferay.portal.kernel.model.Subscription getSubscription(long subscriptionId) throws com.liferay.portal.kernel.exception.PortalException Deprecated.Returns the subscription with the primary key.- Specified by:
getSubscriptionin interfacecom.liferay.portal.kernel.service.SubscriptionLocalService- Parameters:
subscriptionId- the primary key of the subscription- Returns:
- the subscription
- Throws:
com.liferay.portal.kernel.exception.PortalException- if a subscription with the primary key could not be found
-
getActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()Deprecated.- Specified by:
getActionableDynamicQueryin interfacecom.liferay.portal.kernel.service.SubscriptionLocalService
-
getIndexableActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()Deprecated.- Specified by:
getIndexableActionableDynamicQueryin interfacecom.liferay.portal.kernel.service.SubscriptionLocalService
-
initActionableDynamicQuery
protected void initActionableDynamicQuery(com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery actionableDynamicQuery) Deprecated. -
createPersistedModel
public com.liferay.portal.kernel.model.PersistedModel createPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException Deprecated.- Specified by:
createPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Specified by:
createPersistedModelin interfacecom.liferay.portal.kernel.service.SubscriptionLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deletePersistedModel
public com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException Deprecated.- Specified by:
deletePersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Specified by:
deletePersistedModelin interfacecom.liferay.portal.kernel.service.SubscriptionLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getBasePersistence
public com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Subscription> getBasePersistence()Deprecated.- Specified by:
getBasePersistencein interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
getPersistedModel
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException Deprecated.- Specified by:
getPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Specified by:
getPersistedModelin interfacecom.liferay.portal.kernel.service.SubscriptionLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getSubscriptions
Deprecated.Returns a range of all the subscriptions.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.SubscriptionModelImpl.- Specified by:
getSubscriptionsin interfacecom.liferay.portal.kernel.service.SubscriptionLocalService- Parameters:
start- the lower bound of the range of subscriptionsend- the upper bound of the range of subscriptions (not inclusive)- Returns:
- the range of subscriptions
-
getSubscriptionsCount
public int getSubscriptionsCount()Deprecated.Returns the number of subscriptions.- Specified by:
getSubscriptionsCountin interfacecom.liferay.portal.kernel.service.SubscriptionLocalService- Returns:
- the number of subscriptions
-
updateSubscription
@Indexable(type=REINDEX) public com.liferay.portal.kernel.model.Subscription updateSubscription(com.liferay.portal.kernel.model.Subscription subscription) Deprecated.Updates the subscription in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.Important: Inspect SubscriptionLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
updateSubscriptionin interfacecom.liferay.portal.kernel.service.SubscriptionLocalService- Parameters:
subscription- the subscription- Returns:
- the subscription that was updated
-
getSubscriptionLocalService
public com.liferay.portal.kernel.service.SubscriptionLocalService getSubscriptionLocalService()Deprecated.Returns the subscription local service.- Returns:
- the subscription local service
-
setSubscriptionLocalService
public void setSubscriptionLocalService(com.liferay.portal.kernel.service.SubscriptionLocalService subscriptionLocalService) Deprecated.Sets the subscription local service.- Parameters:
subscriptionLocalService- the subscription local service
-
getSubscriptionPersistence
public com.liferay.portal.kernel.service.persistence.SubscriptionPersistence getSubscriptionPersistence()Deprecated.Returns the subscription persistence.- Returns:
- the subscription persistence
-
setSubscriptionPersistence
public void setSubscriptionPersistence(com.liferay.portal.kernel.service.persistence.SubscriptionPersistence subscriptionPersistence) Deprecated.Sets the subscription persistence.- Parameters:
subscriptionPersistence- the subscription persistence
-
getCounterLocalService
public com.liferay.counter.kernel.service.CounterLocalService getCounterLocalService()Deprecated.Returns the counter local service.- Returns:
- the counter local service
-
setCounterLocalService
public void setCounterLocalService(com.liferay.counter.kernel.service.CounterLocalService counterLocalService) Deprecated.Sets the counter local service.- Parameters:
counterLocalService- the counter local service
-
afterPropertiesSet
public void afterPropertiesSet()Deprecated. -
destroy
public void destroy()Deprecated. -
getOSGiServiceIdentifier
Deprecated.Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin interfacecom.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService- Specified by:
getOSGiServiceIdentifierin interfacecom.liferay.portal.kernel.service.SubscriptionLocalService- Returns:
- the OSGi service identifier
-
getModelClass
Deprecated. -
getModelClassName
Deprecated. -
runSQL
Deprecated.Performs a SQL query.- Parameters:
sql- the sql query
-
com.liferay.subscription.service.impl.SubscriptionLocalServiceImpl