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.voiddecrementActivityCount(long activitySetId) voiddecrementActivityCount(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> TdslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) intdslQueryCount(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.longdynamicQueryCount(DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.longdynamicQueryCount(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) intgetGroupActivitySetsCount(long groupId) getOrganizationActivitySets(long organizationId, int start, int end) intgetOrganizationActivitySetsCount(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) intgetRelationActivitySetsCount(long userId) intgetRelationActivitySetsCount(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.intReturns 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) intgetUserActivitySetsCount(long userId) getUserGroupsActivitySets(long userId, int start, int end) intgetUserGroupsActivitySetsCount(long userId) getUserViewableActivitySets(long userId, int start, int end) intgetUserViewableActivitySetsCount(long userId) voidincrementActivityCount(long activitySetId, long activityId) voidsetWrappedService(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, waitMethods 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:
addActivitySetin 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:
addSocialActivitySetin interfaceSocialActivitySetLocalService- Parameters:
socialActivitySet- the social activity set- Returns:
- the social activity set that was added
-
createPersistedModel
- Specified by:
createPersistedModelin interfacePersistedModelLocalService- Specified by:
createPersistedModelin interfaceSocialActivitySetLocalService- Throws:
PortalExceptionPortalException
-
createSocialActivitySet
Creates a new social activity set with the primary key. Does not add the social activity set to the database.- Specified by:
createSocialActivitySetin interfaceSocialActivitySetLocalService- Parameters:
activitySetId- the primary key for the new social activity set- Returns:
- the new social activity set
-
decrementActivityCount
- Specified by:
decrementActivityCountin interfaceSocialActivitySetLocalService- Throws:
PortalException
-
decrementActivityCount
- Specified by:
decrementActivityCountin interfaceSocialActivitySetLocalService- Throws:
PortalException
-
deletePersistedModel
- Specified by:
deletePersistedModelin interfacePersistedModelLocalService- Specified by:
deletePersistedModelin interfaceSocialActivitySetLocalService- Throws:
PortalExceptionPortalException
-
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:
deleteSocialActivitySetin 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:
deleteSocialActivitySetin 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:
dslQueryin interfacePersistedModelLocalService- Specified by:
dslQueryin interfaceSocialActivitySetLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCountin interfacePersistedModelLocalService- Specified by:
dslQueryCountin interfaceSocialActivitySetLocalService
-
dynamicQuery
- Specified by:
dynamicQueryin interfaceSocialActivitySetLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQueryin 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 - 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.portlet.social.model.impl.SocialActivitySetModelImpl.- Specified by:
dynamicQueryin 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 - 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.portlet.social.model.impl.SocialActivitySetModelImpl.- Specified by:
dynamicQueryin 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:
dynamicQueryCountin 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:
dynamicQueryCountin 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:
fetchSocialActivitySetin interfaceSocialActivitySetLocalService
-
getActionableDynamicQuery
- Specified by:
getActionableDynamicQueryin interfaceSocialActivitySetLocalService
-
getClassActivitySet
- Specified by:
getClassActivitySetin interfaceSocialActivitySetLocalService
-
getClassActivitySet
- Specified by:
getClassActivitySetin interfaceSocialActivitySetLocalService
-
getGroupActivitySets
- Specified by:
getGroupActivitySetsin interfaceSocialActivitySetLocalService
-
getGroupActivitySetsCount
public int getGroupActivitySetsCount(long groupId) - Specified by:
getGroupActivitySetsCountin interfaceSocialActivitySetLocalService
-
getIndexableActionableDynamicQuery
- Specified by:
getIndexableActionableDynamicQueryin interfaceSocialActivitySetLocalService
-
getOrganizationActivitySets
- Specified by:
getOrganizationActivitySetsin interfaceSocialActivitySetLocalService
-
getOrganizationActivitySetsCount
public int getOrganizationActivitySetsCount(long organizationId) - Specified by:
getOrganizationActivitySetsCountin interfaceSocialActivitySetLocalService
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin interfaceSocialActivitySetLocalService- Returns:
- the OSGi service identifier
-
getPersistedModel
- Specified by:
getPersistedModelin interfacePersistedModelLocalService- Specified by:
getPersistedModelin interfaceSocialActivitySetLocalService- Throws:
PortalExceptionPortalException
-
getRelationActivitySets
- Specified by:
getRelationActivitySetsin interfaceSocialActivitySetLocalService
-
getRelationActivitySets
- Specified by:
getRelationActivitySetsin interfaceSocialActivitySetLocalService
-
getRelationActivitySetsCount
public int getRelationActivitySetsCount(long userId) - Specified by:
getRelationActivitySetsCountin interfaceSocialActivitySetLocalService
-
getRelationActivitySetsCount
public int getRelationActivitySetsCount(long userId, int type) - Specified by:
getRelationActivitySetsCountin interfaceSocialActivitySetLocalService
-
getSocialActivitySet
Returns the social activity set with the primary key.- Specified by:
getSocialActivitySetin 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 - 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.portlet.social.model.impl.SocialActivitySetModelImpl.- Specified by:
getSocialActivitySetsin 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:
getSocialActivitySetsCountin interfaceSocialActivitySetLocalService- Returns:
- the number of social activity sets
-
getUserActivitySet
- Specified by:
getUserActivitySetin interfaceSocialActivitySetLocalService
-
getUserActivitySet
- Specified by:
getUserActivitySetin interfaceSocialActivitySetLocalService
-
getUserActivitySets
- Specified by:
getUserActivitySetsin interfaceSocialActivitySetLocalService
-
getUserActivitySetsCount
public int getUserActivitySetsCount(long userId) - Specified by:
getUserActivitySetsCountin interfaceSocialActivitySetLocalService
-
getUserGroupsActivitySets
- Specified by:
getUserGroupsActivitySetsin interfaceSocialActivitySetLocalService
-
getUserGroupsActivitySetsCount
public int getUserGroupsActivitySetsCount(long userId) - Specified by:
getUserGroupsActivitySetsCountin interfaceSocialActivitySetLocalService
-
getUserViewableActivitySets
- Specified by:
getUserViewableActivitySetsin interfaceSocialActivitySetLocalService
-
getUserViewableActivitySetsCount
public int getUserViewableActivitySetsCount(long userId) - Specified by:
getUserViewableActivitySetsCountin interfaceSocialActivitySetLocalService
-
incrementActivityCount
- Specified by:
incrementActivityCountin 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:
updateSocialActivitySetin interfaceSocialActivitySetLocalService- Parameters:
socialActivitySet- the social activity set- Returns:
- the social activity set that was updated
-
getBasePersistence
- Specified by:
getBasePersistencein interfacePersistedModelLocalService
-
getCTPersistence
- Specified by:
getCTPersistencein interfaceCTService<SocialActivitySet>- Specified by:
getCTPersistencein interfaceSocialActivitySetLocalService
-
getModelClass
- Specified by:
getModelClassin interfaceCTService<SocialActivitySet>- Specified by:
getModelClassin interfaceSocialActivitySetLocalService
-
updateWithUnsafeFunction
public <R,E extends Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<CTPersistence<SocialActivitySet>, R, throws EE> updateUnsafeFunction) - Specified by:
updateWithUnsafeFunctionin interfaceCTService<SocialActivitySet>- Specified by:
updateWithUnsafeFunctionin interfaceSocialActivitySetLocalService- Throws:
E extends Throwable
-
getWrappedService
- Specified by:
getWrappedServicein interfaceServiceWrapper<SocialActivitySetLocalService>
-
setWrappedService
- Specified by:
setWrappedServicein interfaceServiceWrapper<SocialActivitySetLocalService>
-