Class SocialActivitySetLocalServiceWrapper
- All Implemented Interfaces:
BaseLocalService
,CTService<SocialActivitySet>
,PersistedModelLocalService
,ServiceWrapper<SocialActivitySetLocalService>
,SocialActivitySetLocalService
SocialActivitySetLocalService
.- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Constructor Summary
ConstructorsConstructorDescriptionSocialActivitySetLocalServiceWrapper
(SocialActivitySetLocalService socialActivitySetLocalService) -
Method Summary
Modifier and TypeMethodDescriptionaddActivitySet
(long activityId) addSocialActivitySet
(SocialActivitySet socialActivitySet) Adds the social activity set to the database.createPersistedModel
(Serializable primaryKeyObj) createSocialActivitySet
(long activitySetId) Creates a new social activity set with the primary key.void
decrementActivityCount
(long activitySetId) void
decrementActivityCount
(long classNameId, long classPK) deletePersistedModel
(PersistedModel persistedModel) deleteSocialActivitySet
(long activitySetId) Deletes the social activity set with the primary key from the database.deleteSocialActivitySet
(SocialActivitySet socialActivitySet) Deletes the social activity set from the database.<T> T
dslQuery
(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) int
dslQueryCount
(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) <T> List<T>
dynamicQuery
(DynamicQuery dynamicQuery) Performs a dynamic query on the database and returns the matching rows.<T> List<T>
dynamicQuery
(DynamicQuery dynamicQuery, int start, int end) Performs a dynamic query on the database and returns a range of the matching rows.<T> List<T>
dynamicQuery
(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<T> orderByComparator) Performs a dynamic query on the database and returns an ordered range of the matching rows.long
dynamicQueryCount
(DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.long
dynamicQueryCount
(DynamicQuery dynamicQuery, Projection projection) Returns the number of rows matching the dynamic query.fetchSocialActivitySet
(long activitySetId) getClassActivitySet
(long classNameId, long classPK, int type) getClassActivitySet
(long userId, long classNameId, long classPK, int type) getGroupActivitySets
(long groupId, int start, int end) int
getGroupActivitySetsCount
(long groupId) getOrganizationActivitySets
(long organizationId, int start, int end) int
getOrganizationActivitySetsCount
(long organizationId) Returns the OSGi service identifier.getPersistedModel
(Serializable primaryKeyObj) getRelationActivitySets
(long userId, int start, int end) getRelationActivitySets
(long userId, int type, int start, int end) int
getRelationActivitySetsCount
(long userId) int
getRelationActivitySetsCount
(long userId, int type) getSocialActivitySet
(long activitySetId) Returns the social activity set with the primary key.getSocialActivitySets
(int start, int end) Returns a range of all the social activity sets.int
Returns the number of social activity sets.getUserActivitySet
(long groupId, long userId, int type) getUserActivitySet
(long groupId, long userId, long classNameId, int type) getUserActivitySets
(long userId, int start, int end) int
getUserActivitySetsCount
(long userId) getUserGroupsActivitySets
(long userId, int start, int end) int
getUserGroupsActivitySetsCount
(long userId) getUserViewableActivitySets
(long userId, int start, int end) int
getUserViewableActivitySetsCount
(long userId) void
incrementActivityCount
(long activitySetId, long activityId) void
setWrappedService
(SocialActivitySetLocalService socialActivitySetLocalService) updateSocialActivitySet
(SocialActivitySet socialActivitySet) Updates the social activity set in the database or adds it if it does not yet exist.<R,
E extends Throwable>
RupdateWithUnsafeFunction
(com.liferay.petra.function.UnsafeFunction<CTPersistence<SocialActivitySet>, R, E> updateUnsafeFunction) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.service.PersistedModelLocalService
fetchPersistedModel
-
Constructor Details
-
SocialActivitySetLocalServiceWrapper
public SocialActivitySetLocalServiceWrapper() -
SocialActivitySetLocalServiceWrapper
public SocialActivitySetLocalServiceWrapper(SocialActivitySetLocalService socialActivitySetLocalService)
-
-
Method Details
-
addActivitySet
- Specified by:
addActivitySet
in interfaceSocialActivitySetLocalService
- Throws:
PortalException
-
addSocialActivitySet
Adds the social activity set to the database. Also notifies the appropriate model listeners.Important: Inspect SocialActivitySetLocalServiceImpl 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:
addSocialActivitySet
in interfaceSocialActivitySetLocalService
- Parameters:
socialActivitySet
- the social activity set- Returns:
- the social activity set that was added
-
createPersistedModel
- Specified by:
createPersistedModel
in interfacePersistedModelLocalService
- Specified by:
createPersistedModel
in interfaceSocialActivitySetLocalService
- Throws:
PortalException
PortalException
-
createSocialActivitySet
Creates a new social activity set with the primary key. Does not add the social activity set to the database.- Specified by:
createSocialActivitySet
in interfaceSocialActivitySetLocalService
- Parameters:
activitySetId
- the primary key for the new social activity set- Returns:
- the new social activity set
-
decrementActivityCount
- Specified by:
decrementActivityCount
in interfaceSocialActivitySetLocalService
- Throws:
PortalException
-
decrementActivityCount
- Specified by:
decrementActivityCount
in interfaceSocialActivitySetLocalService
- Throws:
PortalException
-
deletePersistedModel
- Specified by:
deletePersistedModel
in interfacePersistedModelLocalService
- Specified by:
deletePersistedModel
in interfaceSocialActivitySetLocalService
- Throws:
PortalException
PortalException
-
deleteSocialActivitySet
Deletes the social activity set with the primary key from the database. Also notifies the appropriate model listeners.Important: Inspect SocialActivitySetLocalServiceImpl 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:
deleteSocialActivitySet
in interfaceSocialActivitySetLocalService
- Parameters:
activitySetId
- the primary key of the social activity set- Returns:
- the social activity set that was removed
- Throws:
PortalException
- if a social activity set with the primary key could not be foundPortalException
-
deleteSocialActivitySet
Deletes the social activity set from the database. Also notifies the appropriate model listeners.Important: Inspect SocialActivitySetLocalServiceImpl 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:
deleteSocialActivitySet
in interfaceSocialActivitySetLocalService
- Parameters:
socialActivitySet
- the social activity set- Returns:
- the social activity set that was removed
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQuery
in interfacePersistedModelLocalService
- Specified by:
dslQuery
in interfaceSocialActivitySetLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCount
in interfacePersistedModelLocalService
- Specified by:
dslQueryCount
in interfaceSocialActivitySetLocalService
-
dynamicQuery
- Specified by:
dynamicQuery
in interfaceSocialActivitySetLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQuery
in interfaceSocialActivitySetLocalService
- Parameters:
dynamicQuery
- the dynamic query- Returns:
- the matching rows
-
dynamicQuery
Performs a dynamic query on the database and returns a range of the matching rows.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.social.model.impl.SocialActivitySetModelImpl
.- Specified by:
dynamicQuery
in interfaceSocialActivitySetLocalService
- 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(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<T> orderByComparator) 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.social.model.impl.SocialActivitySetModelImpl
.- Specified by:
dynamicQuery
in interfaceSocialActivitySetLocalService
- 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
Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCount
in interfaceSocialActivitySetLocalService
- Parameters:
dynamicQuery
- the dynamic query- Returns:
- the number of rows matching the dynamic query
-
dynamicQueryCount
Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCount
in interfaceSocialActivitySetLocalService
- Parameters:
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
fetchSocialActivitySet
- Specified by:
fetchSocialActivitySet
in interfaceSocialActivitySetLocalService
-
getActionableDynamicQuery
- Specified by:
getActionableDynamicQuery
in interfaceSocialActivitySetLocalService
-
getClassActivitySet
- Specified by:
getClassActivitySet
in interfaceSocialActivitySetLocalService
-
getClassActivitySet
- Specified by:
getClassActivitySet
in interfaceSocialActivitySetLocalService
-
getGroupActivitySets
- Specified by:
getGroupActivitySets
in interfaceSocialActivitySetLocalService
-
getGroupActivitySetsCount
public int getGroupActivitySetsCount(long groupId) - Specified by:
getGroupActivitySetsCount
in interfaceSocialActivitySetLocalService
-
getIndexableActionableDynamicQuery
- Specified by:
getIndexableActionableDynamicQuery
in interfaceSocialActivitySetLocalService
-
getOrganizationActivitySets
- Specified by:
getOrganizationActivitySets
in interfaceSocialActivitySetLocalService
-
getOrganizationActivitySetsCount
public int getOrganizationActivitySetsCount(long organizationId) - Specified by:
getOrganizationActivitySetsCount
in interfaceSocialActivitySetLocalService
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifier
in interfaceSocialActivitySetLocalService
- Returns:
- the OSGi service identifier
-
getPersistedModel
- Specified by:
getPersistedModel
in interfacePersistedModelLocalService
- Specified by:
getPersistedModel
in interfaceSocialActivitySetLocalService
- Throws:
PortalException
PortalException
-
getRelationActivitySets
- Specified by:
getRelationActivitySets
in interfaceSocialActivitySetLocalService
-
getRelationActivitySets
- Specified by:
getRelationActivitySets
in interfaceSocialActivitySetLocalService
-
getRelationActivitySetsCount
public int getRelationActivitySetsCount(long userId) - Specified by:
getRelationActivitySetsCount
in interfaceSocialActivitySetLocalService
-
getRelationActivitySetsCount
public int getRelationActivitySetsCount(long userId, int type) - Specified by:
getRelationActivitySetsCount
in interfaceSocialActivitySetLocalService
-
getSocialActivitySet
Returns the social activity set with the primary key.- Specified by:
getSocialActivitySet
in interfaceSocialActivitySetLocalService
- Parameters:
activitySetId
- the primary key of the social activity set- Returns:
- the social activity set
- Throws:
PortalException
- if a social activity set with the primary key could not be foundPortalException
-
getSocialActivitySets
Returns a range of all the social activity sets.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.social.model.impl.SocialActivitySetModelImpl
.- Specified by:
getSocialActivitySets
in interfaceSocialActivitySetLocalService
- Parameters:
start
- the lower bound of the range of social activity setsend
- the upper bound of the range of social activity sets (not inclusive)- Returns:
- the range of social activity sets
-
getSocialActivitySetsCount
public int getSocialActivitySetsCount()Returns the number of social activity sets.- Specified by:
getSocialActivitySetsCount
in interfaceSocialActivitySetLocalService
- Returns:
- the number of social activity sets
-
getUserActivitySet
- Specified by:
getUserActivitySet
in interfaceSocialActivitySetLocalService
-
getUserActivitySet
- Specified by:
getUserActivitySet
in interfaceSocialActivitySetLocalService
-
getUserActivitySets
- Specified by:
getUserActivitySets
in interfaceSocialActivitySetLocalService
-
getUserActivitySetsCount
public int getUserActivitySetsCount(long userId) - Specified by:
getUserActivitySetsCount
in interfaceSocialActivitySetLocalService
-
getUserGroupsActivitySets
- Specified by:
getUserGroupsActivitySets
in interfaceSocialActivitySetLocalService
-
getUserGroupsActivitySetsCount
public int getUserGroupsActivitySetsCount(long userId) - Specified by:
getUserGroupsActivitySetsCount
in interfaceSocialActivitySetLocalService
-
getUserViewableActivitySets
- Specified by:
getUserViewableActivitySets
in interfaceSocialActivitySetLocalService
-
getUserViewableActivitySetsCount
public int getUserViewableActivitySetsCount(long userId) - Specified by:
getUserViewableActivitySetsCount
in interfaceSocialActivitySetLocalService
-
incrementActivityCount
- Specified by:
incrementActivityCount
in interfaceSocialActivitySetLocalService
- Throws:
PortalException
-
updateSocialActivitySet
Updates the social activity set in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.Important: Inspect SocialActivitySetLocalServiceImpl 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:
updateSocialActivitySet
in interfaceSocialActivitySetLocalService
- Parameters:
socialActivitySet
- the social activity set- Returns:
- the social activity set that was updated
-
getBasePersistence
- Specified by:
getBasePersistence
in interfacePersistedModelLocalService
-
getCTPersistence
- Specified by:
getCTPersistence
in interfaceCTService<SocialActivitySet>
- Specified by:
getCTPersistence
in interfaceSocialActivitySetLocalService
-
getModelClass
- Specified by:
getModelClass
in interfaceCTService<SocialActivitySet>
- Specified by:
getModelClass
in interfaceSocialActivitySetLocalService
-
updateWithUnsafeFunction
public <R,E extends Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<CTPersistence<SocialActivitySet>, R, throws EE> updateUnsafeFunction) - Specified by:
updateWithUnsafeFunction
in interfaceCTService<SocialActivitySet>
- Specified by:
updateWithUnsafeFunction
in interfaceSocialActivitySetLocalService
- Throws:
E extends Throwable
-
getWrappedService
- Specified by:
getWrappedService
in interfaceServiceWrapper<SocialActivitySetLocalService>
-
setWrappedService
- Specified by:
setWrappedService
in interfaceServiceWrapper<SocialActivitySetLocalService>
-