@ProviderType public class SocialActivitySetLocalServiceWrapper extends Object implements SocialActivitySetLocalService, ServiceWrapper<SocialActivitySetLocalService>
SocialActivitySetLocalService.SocialActivitySetLocalService| Constructor and Description |
|---|
SocialActivitySetLocalServiceWrapper(SocialActivitySetLocalService socialActivitySetLocalService) |
| Modifier and Type | Method and Description |
|---|---|
SocialActivitySet |
addActivitySet(long activityId) |
SocialActivitySet |
addSocialActivitySet(SocialActivitySet socialActivitySet)
Adds the social activity set to the database.
|
SocialActivitySet |
createSocialActivitySet(long activitySetId)
Creates a new social activity set with the primary key.
|
void |
decrementActivityCount(long activitySetId) |
void |
decrementActivityCount(long classNameId,
long classPK) |
PersistedModel |
deletePersistedModel(PersistedModel persistedModel) |
SocialActivitySet |
deleteSocialActivitySet(long activitySetId)
Deletes the social activity set with the primary key from the database.
|
SocialActivitySet |
deleteSocialActivitySet(SocialActivitySet socialActivitySet)
Deletes the social activity set from the database.
|
DynamicQuery |
dynamicQuery() |
<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.
|
SocialActivitySet |
fetchSocialActivitySet(long activitySetId) |
ActionableDynamicQuery |
getActionableDynamicQuery() |
SocialActivitySet |
getClassActivitySet(long classNameId,
long classPK,
int type) |
SocialActivitySet |
getClassActivitySet(long userId,
long classNameId,
long classPK,
int type) |
List<SocialActivitySet> |
getGroupActivitySets(long groupId,
int start,
int end) |
int |
getGroupActivitySetsCount(long groupId) |
IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
List<SocialActivitySet> |
getOrganizationActivitySets(long organizationId,
int start,
int end) |
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
PersistedModel |
getPersistedModel(Serializable primaryKeyObj) |
List<SocialActivitySet> |
getRelationActivitySets(long userId,
int start,
int end) |
List<SocialActivitySet> |
getRelationActivitySets(long userId,
int type,
int start,
int end) |
int |
getRelationActivitySetsCount(long userId) |
int |
getRelationActivitySetsCount(long userId,
int type) |
SocialActivitySet |
getSocialActivitySet(long activitySetId)
Returns the social activity set with the primary key.
|
List<SocialActivitySet> |
getSocialActivitySets(int start,
int end)
Returns a range of all the social activity sets.
|
int |
getSocialActivitySetsCount()
Returns the number of social activity sets.
|
SocialActivitySet |
getUserActivitySet(long groupId,
long userId,
int type) |
SocialActivitySet |
getUserActivitySet(long groupId,
long userId,
long classNameId,
int type) |
List<SocialActivitySet> |
getUserActivitySets(long userId,
int start,
int end) |
int |
getUserActivitySetsCount(long userId) |
List<SocialActivitySet> |
getUserGroupsActivitySets(long userId,
int start,
int end) |
int |
getUserGroupsActivitySetsCount(long userId) |
List<SocialActivitySet> |
getUserViewableActivitySets(long userId,
int start,
int end) |
int |
getUserViewableActivitySetsCount(long userId) |
SocialActivitySetLocalService |
getWrappedService() |
void |
incrementActivityCount(long activitySetId,
long activityId) |
void |
setWrappedService(SocialActivitySetLocalService socialActivitySetLocalService) |
SocialActivitySet |
updateSocialActivitySet(SocialActivitySet socialActivitySet)
Updates the social activity set in the database or adds it if it does not yet exist.
|
public SocialActivitySetLocalServiceWrapper(SocialActivitySetLocalService socialActivitySetLocalService)
public ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface SocialActivitySetLocalServicepublic DynamicQuery dynamicQuery()
dynamicQuery in interface SocialActivitySetLocalServicepublic IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface SocialActivitySetLocalServicepublic PersistedModel deletePersistedModel(PersistedModel persistedModel) throws PortalException
deletePersistedModel in interface PersistedModelLocalServicedeletePersistedModel in interface SocialActivitySetLocalServicePortalExceptionpublic PersistedModel getPersistedModel(Serializable primaryKeyObj) throws PortalException
getPersistedModel in interface PersistedModelLocalServicegetPersistedModel in interface SocialActivitySetLocalServicePortalExceptionpublic SocialActivitySet addActivitySet(long activityId) throws PortalException
addActivitySet in interface SocialActivitySetLocalServicePortalExceptionpublic SocialActivitySet addSocialActivitySet(SocialActivitySet socialActivitySet)
addSocialActivitySet in interface SocialActivitySetLocalServicesocialActivitySet - the social activity setpublic SocialActivitySet createSocialActivitySet(long activitySetId)
createSocialActivitySet in interface SocialActivitySetLocalServiceactivitySetId - the primary key for the new social activity setpublic SocialActivitySet deleteSocialActivitySet(SocialActivitySet socialActivitySet)
deleteSocialActivitySet in interface SocialActivitySetLocalServicesocialActivitySet - the social activity setpublic SocialActivitySet deleteSocialActivitySet(long activitySetId) throws PortalException
deleteSocialActivitySet in interface SocialActivitySetLocalServiceactivitySetId - the primary key of the social activity setPortalException - if a social activity set with the primary key could not be foundpublic SocialActivitySet fetchSocialActivitySet(long activitySetId)
fetchSocialActivitySet in interface SocialActivitySetLocalServicepublic SocialActivitySet getClassActivitySet(long classNameId, long classPK, int type)
getClassActivitySet in interface SocialActivitySetLocalServicepublic SocialActivitySet getClassActivitySet(long userId, long classNameId, long classPK, int type)
getClassActivitySet in interface SocialActivitySetLocalServicepublic SocialActivitySet getSocialActivitySet(long activitySetId) throws PortalException
getSocialActivitySet in interface SocialActivitySetLocalServiceactivitySetId - the primary key of the social activity setPortalException - if a social activity set with the primary key could not be foundpublic SocialActivitySet getUserActivitySet(long groupId, long userId, int type)
getUserActivitySet in interface SocialActivitySetLocalServicepublic SocialActivitySet getUserActivitySet(long groupId, long userId, long classNameId, int type)
getUserActivitySet in interface SocialActivitySetLocalServicepublic SocialActivitySet updateSocialActivitySet(SocialActivitySet socialActivitySet)
updateSocialActivitySet in interface SocialActivitySetLocalServicesocialActivitySet - the social activity setpublic int getGroupActivitySetsCount(long groupId)
getGroupActivitySetsCount in interface SocialActivitySetLocalServicepublic int getRelationActivitySetsCount(long userId)
getRelationActivitySetsCount in interface SocialActivitySetLocalServicepublic int getRelationActivitySetsCount(long userId,
int type)
getRelationActivitySetsCount in interface SocialActivitySetLocalServicepublic int getSocialActivitySetsCount()
getSocialActivitySetsCount in interface SocialActivitySetLocalServicepublic int getUserActivitySetsCount(long userId)
getUserActivitySetsCount in interface SocialActivitySetLocalServicepublic int getUserGroupsActivitySetsCount(long userId)
getUserGroupsActivitySetsCount in interface SocialActivitySetLocalServicepublic int getUserViewableActivitySetsCount(long userId)
getUserViewableActivitySetsCount in interface SocialActivitySetLocalServicepublic String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface SocialActivitySetLocalServicepublic <T> List<T> dynamicQuery(DynamicQuery dynamicQuery)
dynamicQuery in interface SocialActivitySetLocalServicedynamicQuery - the dynamic querypublic <T> List<T> dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from com.liferay.portlet.social.model.impl.SocialActivitySetModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery in interface SocialActivitySetLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<T> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from com.liferay.portlet.social.model.impl.SocialActivitySetModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery in interface SocialActivitySetLocalServicedynamicQuery - 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 (optionally null)public List<SocialActivitySet> getGroupActivitySets(long groupId, int start, int end)
getGroupActivitySets in interface SocialActivitySetLocalServicepublic List<SocialActivitySet> getOrganizationActivitySets(long organizationId, int start, int end)
getOrganizationActivitySets in interface SocialActivitySetLocalServicepublic List<SocialActivitySet> getRelationActivitySets(long userId, int start, int end)
getRelationActivitySets in interface SocialActivitySetLocalServicepublic List<SocialActivitySet> getRelationActivitySets(long userId, int type, int start, int end)
getRelationActivitySets in interface SocialActivitySetLocalServicepublic List<SocialActivitySet> getSocialActivitySets(int start, int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from com.liferay.portlet.social.model.impl.SocialActivitySetModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
getSocialActivitySets in interface SocialActivitySetLocalServicestart - the lower bound of the range of social activity setsend - the upper bound of the range of social activity sets (not inclusive)public List<SocialActivitySet> getUserActivitySets(long userId, int start, int end)
getUserActivitySets in interface SocialActivitySetLocalServicepublic List<SocialActivitySet> getUserGroupsActivitySets(long userId, int start, int end)
getUserGroupsActivitySets in interface SocialActivitySetLocalServicepublic List<SocialActivitySet> getUserViewableActivitySets(long userId, int start, int end)
getUserViewableActivitySets in interface SocialActivitySetLocalServicepublic long dynamicQueryCount(DynamicQuery dynamicQuery)
dynamicQueryCount in interface SocialActivitySetLocalServicedynamicQuery - the dynamic querypublic long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection)
dynamicQueryCount in interface SocialActivitySetLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querypublic void decrementActivityCount(long activitySetId)
throws PortalException
decrementActivityCount in interface SocialActivitySetLocalServicePortalExceptionpublic void decrementActivityCount(long classNameId,
long classPK)
throws PortalException
decrementActivityCount in interface SocialActivitySetLocalServicePortalExceptionpublic void incrementActivityCount(long activitySetId,
long activityId)
throws PortalException
incrementActivityCount in interface SocialActivitySetLocalServicePortalExceptionpublic SocialActivitySetLocalService getWrappedService()
getWrappedService in interface ServiceWrapper<SocialActivitySetLocalService>public void setWrappedService(SocialActivitySetLocalService socialActivitySetLocalService)
setWrappedService in interface ServiceWrapper<SocialActivitySetLocalService>