public class SocialActivitySetLocalServiceWrapper extends Object implements ServiceWrapper<SocialActivitySetLocalService>, SocialActivitySetLocalService
SocialActivitySetLocalService
.SocialActivitySetLocalService
Constructor and Description |
---|
SocialActivitySetLocalServiceWrapper(SocialActivitySetLocalService socialActivitySetLocalService) |
Modifier and Type | Method and Description |
---|---|
SocialActivitySet |
addActivitySet(long activityId)
NOTE FOR DEVELOPERS:
Never modify or reference this interface directly.
|
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) |
int |
getOrganizationActivitySetsCount(long organizationId) |
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 SocialActivitySet addActivitySet(long activityId) throws PortalException
SocialActivitySetLocalServiceUtil
to access the social activity set local service. Add custom service methods to com.liferay.portlet.social.service.impl.SocialActivitySetLocalServiceImpl
and rerun ServiceBuilder to automatically copy the method declarations to this interface.addActivitySet
in interface SocialActivitySetLocalService
PortalException
public SocialActivitySet addSocialActivitySet(SocialActivitySet socialActivitySet)
addSocialActivitySet
in interface SocialActivitySetLocalService
socialActivitySet
- the social activity setpublic SocialActivitySet createSocialActivitySet(long activitySetId)
createSocialActivitySet
in interface SocialActivitySetLocalService
activitySetId
- the primary key for the new social activity setpublic void decrementActivityCount(long activitySetId) throws PortalException
decrementActivityCount
in interface SocialActivitySetLocalService
PortalException
public void decrementActivityCount(long classNameId, long classPK) throws PortalException
decrementActivityCount
in interface SocialActivitySetLocalService
PortalException
public PersistedModel deletePersistedModel(PersistedModel persistedModel) throws PortalException
deletePersistedModel
in interface PersistedModelLocalService
deletePersistedModel
in interface SocialActivitySetLocalService
PortalException
public SocialActivitySet deleteSocialActivitySet(long activitySetId) throws PortalException
deleteSocialActivitySet
in interface SocialActivitySetLocalService
activitySetId
- the primary key of the social activity setPortalException
- if a social activity set with the primary key could not be foundpublic SocialActivitySet deleteSocialActivitySet(SocialActivitySet socialActivitySet)
deleteSocialActivitySet
in interface SocialActivitySetLocalService
socialActivitySet
- the social activity setpublic DynamicQuery dynamicQuery()
dynamicQuery
in interface SocialActivitySetLocalService
public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery)
dynamicQuery
in interface SocialActivitySetLocalService
dynamicQuery
- 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.portal.kernel.dao.orm.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 SocialActivitySetLocalService
dynamicQuery
- 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.portal.kernel.dao.orm.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 SocialActivitySetLocalService
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 (optionally null
)public long dynamicQueryCount(DynamicQuery dynamicQuery)
dynamicQueryCount
in interface SocialActivitySetLocalService
dynamicQuery
- the dynamic querypublic long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection)
dynamicQueryCount
in interface SocialActivitySetLocalService
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the querypublic SocialActivitySet fetchSocialActivitySet(long activitySetId)
fetchSocialActivitySet
in interface SocialActivitySetLocalService
public ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery
in interface SocialActivitySetLocalService
public SocialActivitySet getClassActivitySet(long classNameId, long classPK, int type)
getClassActivitySet
in interface SocialActivitySetLocalService
public SocialActivitySet getClassActivitySet(long userId, long classNameId, long classPK, int type)
getClassActivitySet
in interface SocialActivitySetLocalService
public List<SocialActivitySet> getGroupActivitySets(long groupId, int start, int end)
getGroupActivitySets
in interface SocialActivitySetLocalService
public int getGroupActivitySetsCount(long groupId)
getGroupActivitySetsCount
in interface SocialActivitySetLocalService
public IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery
in interface SocialActivitySetLocalService
public List<SocialActivitySet> getOrganizationActivitySets(long organizationId, int start, int end)
getOrganizationActivitySets
in interface SocialActivitySetLocalService
public int getOrganizationActivitySetsCount(long organizationId)
getOrganizationActivitySetsCount
in interface SocialActivitySetLocalService
public String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface SocialActivitySetLocalService
public PersistedModel getPersistedModel(Serializable primaryKeyObj) throws PortalException
getPersistedModel
in interface PersistedModelLocalService
getPersistedModel
in interface SocialActivitySetLocalService
PortalException
public List<SocialActivitySet> getRelationActivitySets(long userId, int start, int end)
getRelationActivitySets
in interface SocialActivitySetLocalService
public List<SocialActivitySet> getRelationActivitySets(long userId, int type, int start, int end)
getRelationActivitySets
in interface SocialActivitySetLocalService
public int getRelationActivitySetsCount(long userId)
getRelationActivitySetsCount
in interface SocialActivitySetLocalService
public int getRelationActivitySetsCount(long userId, int type)
getRelationActivitySetsCount
in interface SocialActivitySetLocalService
public SocialActivitySet getSocialActivitySet(long activitySetId) throws PortalException
getSocialActivitySet
in interface SocialActivitySetLocalService
activitySetId
- the primary key of the social activity setPortalException
- if a social activity set with the primary key could not be foundpublic 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.portal.kernel.dao.orm.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 SocialActivitySetLocalService
start
- the lower bound of the range of social activity setsend
- the upper bound of the range of social activity sets (not inclusive)public int getSocialActivitySetsCount()
getSocialActivitySetsCount
in interface SocialActivitySetLocalService
public SocialActivitySet getUserActivitySet(long groupId, long userId, int type)
getUserActivitySet
in interface SocialActivitySetLocalService
public SocialActivitySet getUserActivitySet(long groupId, long userId, long classNameId, int type)
getUserActivitySet
in interface SocialActivitySetLocalService
public List<SocialActivitySet> getUserActivitySets(long userId, int start, int end)
getUserActivitySets
in interface SocialActivitySetLocalService
public int getUserActivitySetsCount(long userId)
getUserActivitySetsCount
in interface SocialActivitySetLocalService
public List<SocialActivitySet> getUserGroupsActivitySets(long userId, int start, int end)
getUserGroupsActivitySets
in interface SocialActivitySetLocalService
public int getUserGroupsActivitySetsCount(long userId)
getUserGroupsActivitySetsCount
in interface SocialActivitySetLocalService
public List<SocialActivitySet> getUserViewableActivitySets(long userId, int start, int end)
getUserViewableActivitySets
in interface SocialActivitySetLocalService
public int getUserViewableActivitySetsCount(long userId)
getUserViewableActivitySetsCount
in interface SocialActivitySetLocalService
public void incrementActivityCount(long activitySetId, long activityId) throws PortalException
incrementActivityCount
in interface SocialActivitySetLocalService
PortalException
public SocialActivitySet updateSocialActivitySet(SocialActivitySet socialActivitySet)
updateSocialActivitySet
in interface SocialActivitySetLocalService
socialActivitySet
- the social activity setpublic SocialActivitySetLocalService getWrappedService()
getWrappedService
in interface ServiceWrapper<SocialActivitySetLocalService>
public void setWrappedService(SocialActivitySetLocalService socialActivitySetLocalService)
setWrappedService
in interface ServiceWrapper<SocialActivitySetLocalService>