public class SocialActivitySetLocalServiceWrapper extends Object implements ServiceWrapper<SocialActivitySetLocalService>, SocialActivitySetLocalService
SocialActivitySetLocalService.SocialActivitySetLocalService| Constructor and Description |
|---|
SocialActivitySetLocalServiceWrapper() |
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.
|
PersistedModel |
createPersistedModel(Serializable primaryKeyObj) |
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.
|
<T> T |
dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
int |
dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
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) |
CTPersistence<SocialActivitySet> |
getCTPersistence() |
List<SocialActivitySet> |
getGroupActivitySets(long groupId,
int start,
int end) |
int |
getGroupActivitySetsCount(long groupId) |
IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
Class<SocialActivitySet> |
getModelClass() |
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.
|
<R,E extends Throwable> |
updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<CTPersistence<SocialActivitySet>,R,E> updateUnsafeFunction) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBasePersistencepublic SocialActivitySetLocalServiceWrapper()
public SocialActivitySetLocalServiceWrapper(SocialActivitySetLocalService socialActivitySetLocalService)
public SocialActivitySet addActivitySet(long activityId) throws PortalException
addActivitySet in interface SocialActivitySetLocalServicePortalExceptionpublic SocialActivitySet addSocialActivitySet(SocialActivitySet socialActivitySet)
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.
addSocialActivitySet in interface SocialActivitySetLocalServicesocialActivitySet - the social activity setpublic PersistedModel createPersistedModel(Serializable primaryKeyObj) throws PortalException
createPersistedModel in interface PersistedModelLocalServicecreatePersistedModel in interface SocialActivitySetLocalServicePortalExceptionpublic SocialActivitySet createSocialActivitySet(long activitySetId)
createSocialActivitySet in interface SocialActivitySetLocalServiceactivitySetId - the primary key for the new social activity setpublic void decrementActivityCount(long activitySetId)
throws PortalException
decrementActivityCount in interface SocialActivitySetLocalServicePortalExceptionpublic void decrementActivityCount(long classNameId,
long classPK)
throws PortalException
decrementActivityCount in interface SocialActivitySetLocalServicePortalExceptionpublic PersistedModel deletePersistedModel(PersistedModel persistedModel) throws PortalException
deletePersistedModel in interface PersistedModelLocalServicedeletePersistedModel in interface SocialActivitySetLocalServicePortalExceptionpublic SocialActivitySet deleteSocialActivitySet(long activitySetId) throws PortalException
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.
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 deleteSocialActivitySet(SocialActivitySet socialActivitySet)
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.
deleteSocialActivitySet in interface SocialActivitySetLocalServicesocialActivitySet - the social activity setpublic <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQuery in interface PersistedModelLocalServicedslQuery in interface SocialActivitySetLocalServicepublic int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQueryCount in interface PersistedModelLocalServicedslQueryCount in interface SocialActivitySetLocalServicepublic DynamicQuery dynamicQuery()
dynamicQuery 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 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, then the query will include the default ORDER BY logic from com.liferay.portlet.social.model.impl.SocialActivitySetModelImpl.
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 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, then the query will include the default ORDER BY logic from com.liferay.portlet.social.model.impl.SocialActivitySetModelImpl.
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 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 SocialActivitySet fetchSocialActivitySet(long activitySetId)
fetchSocialActivitySet in interface SocialActivitySetLocalServicepublic ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery 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 List<SocialActivitySet> getGroupActivitySets(long groupId, int start, int end)
getGroupActivitySets in interface SocialActivitySetLocalServicepublic int getGroupActivitySetsCount(long groupId)
getGroupActivitySetsCount in interface SocialActivitySetLocalServicepublic IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface SocialActivitySetLocalServicepublic List<SocialActivitySet> getOrganizationActivitySets(long organizationId, int start, int end)
getOrganizationActivitySets in interface SocialActivitySetLocalServicepublic int getOrganizationActivitySetsCount(long organizationId)
getOrganizationActivitySetsCount in interface SocialActivitySetLocalServicepublic String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface SocialActivitySetLocalServicepublic PersistedModel getPersistedModel(Serializable primaryKeyObj) throws PortalException
getPersistedModel in interface PersistedModelLocalServicegetPersistedModel in interface SocialActivitySetLocalServicePortalExceptionpublic 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 int getRelationActivitySetsCount(long userId)
getRelationActivitySetsCount in interface SocialActivitySetLocalServicepublic int getRelationActivitySetsCount(long userId,
int type)
getRelationActivitySetsCount 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 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, then the query will include the default ORDER BY logic from com.liferay.portlet.social.model.impl.SocialActivitySetModelImpl.
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 int getSocialActivitySetsCount()
getSocialActivitySetsCount in interface SocialActivitySetLocalServicepublic 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 List<SocialActivitySet> getUserActivitySets(long userId, int start, int end)
getUserActivitySets in interface SocialActivitySetLocalServicepublic int getUserActivitySetsCount(long userId)
getUserActivitySetsCount in interface SocialActivitySetLocalServicepublic List<SocialActivitySet> getUserGroupsActivitySets(long userId, int start, int end)
getUserGroupsActivitySets in interface SocialActivitySetLocalServicepublic int getUserGroupsActivitySetsCount(long userId)
getUserGroupsActivitySetsCount in interface SocialActivitySetLocalServicepublic List<SocialActivitySet> getUserViewableActivitySets(long userId, int start, int end)
getUserViewableActivitySets in interface SocialActivitySetLocalServicepublic int getUserViewableActivitySetsCount(long userId)
getUserViewableActivitySetsCount in interface SocialActivitySetLocalServicepublic void incrementActivityCount(long activitySetId,
long activityId)
throws PortalException
incrementActivityCount in interface SocialActivitySetLocalServicePortalExceptionpublic SocialActivitySet updateSocialActivitySet(SocialActivitySet socialActivitySet)
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.
updateSocialActivitySet in interface SocialActivitySetLocalServicesocialActivitySet - the social activity setpublic CTPersistence<SocialActivitySet> getCTPersistence()
getCTPersistence in interface CTService<SocialActivitySet>getCTPersistence in interface SocialActivitySetLocalServicepublic Class<SocialActivitySet> getModelClass()
getModelClass in interface CTService<SocialActivitySet>getModelClass in interface SocialActivitySetLocalServicepublic <R,E extends Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<CTPersistence<SocialActivitySet>,R,E> updateUnsafeFunction) throws E extends Throwable
updateWithUnsafeFunction in interface CTService<SocialActivitySet>updateWithUnsafeFunction in interface SocialActivitySetLocalServiceE extends Throwablepublic SocialActivitySetLocalService getWrappedService()
getWrappedService in interface ServiceWrapper<SocialActivitySetLocalService>public void setWrappedService(SocialActivitySetLocalService socialActivitySetLocalService)
setWrappedService in interface ServiceWrapper<SocialActivitySetLocalService>