|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.service.BaseLocalServiceImpl com.liferay.portlet.social.service.base.SocialRelationLocalServiceBaseImpl
public abstract class SocialRelationLocalServiceBaseImpl
The base implementation of the social relation local service.
This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in SocialRelationLocalServiceImpl
.
SocialRelationLocalServiceImpl
,
SocialRelationLocalServiceUtil
Constructor Summary | |
---|---|
SocialRelationLocalServiceBaseImpl()
|
Method Summary | |
---|---|
SocialRelation |
addSocialRelation(SocialRelation socialRelation)
Adds the social relation to the database. |
void |
afterPropertiesSet()
|
SocialRelation |
createSocialRelation(long relationId)
Creates a new social relation with the primary key. |
SocialRelation |
deleteSocialRelation(long relationId)
Deletes the social relation with the primary key from the database. |
SocialRelation |
deleteSocialRelation(SocialRelation socialRelation)
Deletes the social relation from the database. |
void |
destroy()
|
DynamicQuery |
dynamicQuery()
|
List |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows. |
List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows. |
List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator 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 that match the dynamic query. |
SocialRelation |
fetchSocialRelation(long relationId)
|
String |
getBeanIdentifier()
Returns the Spring bean ID for this bean. |
CounterLocalService |
getCounterLocalService()
Returns the counter local service. |
protected Class<?> |
getModelClass()
|
protected String |
getModelClassName()
|
PersistedModel |
getPersistedModel(Serializable primaryKeyObj)
|
ResourceFinder |
getResourceFinder()
Returns the resource finder. |
ResourceLocalService |
getResourceLocalService()
Returns the resource local service. |
ResourcePersistence |
getResourcePersistence()
Returns the resource persistence. |
ResourceService |
getResourceService()
Returns the resource remote service. |
SocialActivityAchievementLocalService |
getSocialActivityAchievementLocalService()
Returns the social activity achievement local service. |
SocialActivityAchievementPersistence |
getSocialActivityAchievementPersistence()
Returns the social activity achievement persistence. |
SocialActivityCounterFinder |
getSocialActivityCounterFinder()
Returns the social activity counter finder. |
SocialActivityCounterLocalService |
getSocialActivityCounterLocalService()
Returns the social activity counter local service. |
SocialActivityCounterPersistence |
getSocialActivityCounterPersistence()
Returns the social activity counter persistence. |
SocialActivityFinder |
getSocialActivityFinder()
Returns the social activity finder. |
SocialActivityInterpreterLocalService |
getSocialActivityInterpreterLocalService()
Returns the social activity interpreter local service. |
SocialActivityLimitLocalService |
getSocialActivityLimitLocalService()
Returns the social activity limit local service. |
SocialActivityLimitPersistence |
getSocialActivityLimitPersistence()
Returns the social activity limit persistence. |
SocialActivityLocalService |
getSocialActivityLocalService()
Returns the social activity local service. |
SocialActivityPersistence |
getSocialActivityPersistence()
Returns the social activity persistence. |
SocialActivitySettingLocalService |
getSocialActivitySettingLocalService()
Returns the social activity setting local service. |
SocialActivitySettingPersistence |
getSocialActivitySettingPersistence()
Returns the social activity setting persistence. |
SocialActivitySettingService |
getSocialActivitySettingService()
Returns the social activity setting remote service. |
SocialRelation |
getSocialRelation(long relationId)
Returns the social relation with the primary key. |
SocialRelationLocalService |
getSocialRelationLocalService()
Returns the social relation local service. |
SocialRelationPersistence |
getSocialRelationPersistence()
Returns the social relation persistence. |
List<SocialRelation> |
getSocialRelations(int start,
int end)
Returns a range of all the social relations. |
int |
getSocialRelationsCount()
Returns the number of social relations. |
SocialRequestInterpreterLocalService |
getSocialRequestInterpreterLocalService()
Returns the social request interpreter local service. |
SocialRequestLocalService |
getSocialRequestLocalService()
Returns the social request local service. |
SocialRequestPersistence |
getSocialRequestPersistence()
Returns the social request persistence. |
UserFinder |
getUserFinder()
Returns the user finder. |
UserLocalService |
getUserLocalService()
Returns the user local service. |
UserPersistence |
getUserPersistence()
Returns the user persistence. |
UserService |
getUserService()
Returns the user remote service. |
protected void |
runSQL(String sql)
Performs an SQL query. |
void |
setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean. |
void |
setCounterLocalService(CounterLocalService counterLocalService)
Sets the counter local service. |
void |
setResourceFinder(ResourceFinder resourceFinder)
Sets the resource finder. |
void |
setResourceLocalService(ResourceLocalService resourceLocalService)
Sets the resource local service. |
void |
setResourcePersistence(ResourcePersistence resourcePersistence)
Sets the resource persistence. |
void |
setResourceService(ResourceService resourceService)
Sets the resource remote service. |
void |
setSocialActivityAchievementLocalService(SocialActivityAchievementLocalService socialActivityAchievementLocalService)
Sets the social activity achievement local service. |
void |
setSocialActivityAchievementPersistence(SocialActivityAchievementPersistence socialActivityAchievementPersistence)
Sets the social activity achievement persistence. |
void |
setSocialActivityCounterFinder(SocialActivityCounterFinder socialActivityCounterFinder)
Sets the social activity counter finder. |
void |
setSocialActivityCounterLocalService(SocialActivityCounterLocalService socialActivityCounterLocalService)
Sets the social activity counter local service. |
void |
setSocialActivityCounterPersistence(SocialActivityCounterPersistence socialActivityCounterPersistence)
Sets the social activity counter persistence. |
void |
setSocialActivityFinder(SocialActivityFinder socialActivityFinder)
Sets the social activity finder. |
void |
setSocialActivityInterpreterLocalService(SocialActivityInterpreterLocalService socialActivityInterpreterLocalService)
Sets the social activity interpreter local service. |
void |
setSocialActivityLimitLocalService(SocialActivityLimitLocalService socialActivityLimitLocalService)
Sets the social activity limit local service. |
void |
setSocialActivityLimitPersistence(SocialActivityLimitPersistence socialActivityLimitPersistence)
Sets the social activity limit persistence. |
void |
setSocialActivityLocalService(SocialActivityLocalService socialActivityLocalService)
Sets the social activity local service. |
void |
setSocialActivityPersistence(SocialActivityPersistence socialActivityPersistence)
Sets the social activity persistence. |
void |
setSocialActivitySettingLocalService(SocialActivitySettingLocalService socialActivitySettingLocalService)
Sets the social activity setting local service. |
void |
setSocialActivitySettingPersistence(SocialActivitySettingPersistence socialActivitySettingPersistence)
Sets the social activity setting persistence. |
void |
setSocialActivitySettingService(SocialActivitySettingService socialActivitySettingService)
Sets the social activity setting remote service. |
void |
setSocialRelationLocalService(SocialRelationLocalService socialRelationLocalService)
Sets the social relation local service. |
void |
setSocialRelationPersistence(SocialRelationPersistence socialRelationPersistence)
Sets the social relation persistence. |
void |
setSocialRequestInterpreterLocalService(SocialRequestInterpreterLocalService socialRequestInterpreterLocalService)
Sets the social request interpreter local service. |
void |
setSocialRequestLocalService(SocialRequestLocalService socialRequestLocalService)
Sets the social request local service. |
void |
setSocialRequestPersistence(SocialRequestPersistence socialRequestPersistence)
Sets the social request persistence. |
void |
setUserFinder(UserFinder userFinder)
Sets the user finder. |
void |
setUserLocalService(UserLocalService userLocalService)
Sets the user local service. |
void |
setUserPersistence(UserPersistence userPersistence)
Sets the user persistence. |
void |
setUserService(UserService userService)
Sets the user remote service. |
SocialRelation |
updateSocialRelation(SocialRelation socialRelation)
Updates the social relation in the database or adds it if it does not yet exist. |
SocialRelation |
updateSocialRelation(SocialRelation socialRelation,
boolean merge)
Updates the social relation in the database or adds it if it does not yet exist. |
Methods inherited from class com.liferay.portal.service.BaseLocalServiceImpl |
---|
getClassLoader |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.liferay.portlet.social.service.SocialRelationLocalService |
---|
addRelation, deleteRelation, deleteRelation, deleteRelation, deleteRelations, deleteRelations, getInverseRelations, getInverseRelationsCount, getRelation, getRelation, getRelations, getRelations, getRelationsCount, getRelationsCount, hasRelation, isRelatable |
Field Detail |
---|
@BeanReference(type=SocialActivityLocalService.class) protected SocialActivityLocalService socialActivityLocalService
@BeanReference(type=SocialActivityPersistence.class) protected SocialActivityPersistence socialActivityPersistence
@BeanReference(type=SocialActivityFinder.class) protected SocialActivityFinder socialActivityFinder
@BeanReference(type=SocialActivityAchievementLocalService.class) protected SocialActivityAchievementLocalService socialActivityAchievementLocalService
@BeanReference(type=SocialActivityAchievementPersistence.class) protected SocialActivityAchievementPersistence socialActivityAchievementPersistence
@BeanReference(type=SocialActivityCounterLocalService.class) protected SocialActivityCounterLocalService socialActivityCounterLocalService
@BeanReference(type=SocialActivityCounterPersistence.class) protected SocialActivityCounterPersistence socialActivityCounterPersistence
@BeanReference(type=SocialActivityCounterFinder.class) protected SocialActivityCounterFinder socialActivityCounterFinder
@BeanReference(type=SocialActivityInterpreterLocalService.class) protected SocialActivityInterpreterLocalService socialActivityInterpreterLocalService
@BeanReference(type=SocialActivityLimitLocalService.class) protected SocialActivityLimitLocalService socialActivityLimitLocalService
@BeanReference(type=SocialActivityLimitPersistence.class) protected SocialActivityLimitPersistence socialActivityLimitPersistence
@BeanReference(type=SocialActivitySettingLocalService.class) protected SocialActivitySettingLocalService socialActivitySettingLocalService
@BeanReference(type=SocialActivitySettingService.class) protected SocialActivitySettingService socialActivitySettingService
@BeanReference(type=SocialActivitySettingPersistence.class) protected SocialActivitySettingPersistence socialActivitySettingPersistence
@BeanReference(type=SocialRelationLocalService.class) protected SocialRelationLocalService socialRelationLocalService
@BeanReference(type=SocialRelationPersistence.class) protected SocialRelationPersistence socialRelationPersistence
@BeanReference(type=SocialRequestLocalService.class) protected SocialRequestLocalService socialRequestLocalService
@BeanReference(type=SocialRequestPersistence.class) protected SocialRequestPersistence socialRequestPersistence
@BeanReference(type=SocialRequestInterpreterLocalService.class) protected SocialRequestInterpreterLocalService socialRequestInterpreterLocalService
@BeanReference(type=CounterLocalService.class) protected CounterLocalService counterLocalService
@BeanReference(type=ResourceLocalService.class) protected ResourceLocalService resourceLocalService
@BeanReference(type=ResourceService.class) protected ResourceService resourceService
@BeanReference(type=ResourcePersistence.class) protected ResourcePersistence resourcePersistence
@BeanReference(type=ResourceFinder.class) protected ResourceFinder resourceFinder
@BeanReference(type=UserLocalService.class) protected UserLocalService userLocalService
@BeanReference(type=UserService.class) protected UserService userService
@BeanReference(type=UserPersistence.class) protected UserPersistence userPersistence
@BeanReference(type=UserFinder.class) protected UserFinder userFinder
@BeanReference(type=PersistedModelLocalServiceRegistry.class) protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
Constructor Detail |
---|
public SocialRelationLocalServiceBaseImpl()
Method Detail |
---|
@Indexable(type=REINDEX) public SocialRelation addSocialRelation(SocialRelation socialRelation) throws SystemException
addSocialRelation
in interface SocialRelationLocalService
socialRelation
- the social relation
SystemException
- if a system exception occurredpublic SocialRelation createSocialRelation(long relationId)
createSocialRelation
in interface SocialRelationLocalService
relationId
- the primary key for the new social relation
@Indexable(type=DELETE) public SocialRelation deleteSocialRelation(long relationId) throws PortalException, SystemException
deleteSocialRelation
in interface SocialRelationLocalService
relationId
- the primary key of the social relation
PortalException
- if a social relation with the primary key could not be found
SystemException
- if a system exception occurred@Indexable(type=DELETE) public SocialRelation deleteSocialRelation(SocialRelation socialRelation) throws SystemException
deleteSocialRelation
in interface SocialRelationLocalService
socialRelation
- the social relation
SystemException
- if a system exception occurredpublic DynamicQuery dynamicQuery()
dynamicQuery
in interface SocialRelationLocalService
public List dynamicQuery(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery
in interface SocialRelationLocalService
dynamicQuery
- the dynamic query
SystemException
- if a system exception occurredpublic List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) throws SystemException
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.
dynamicQuery
in interface SocialRelationLocalService
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)
SystemException
- if a system exception occurredpublic List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
dynamicQuery
in interface SocialRelationLocalService
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
)
SystemException
- if a system exception occurredpublic long dynamicQueryCount(DynamicQuery dynamicQuery) throws SystemException
dynamicQueryCount
in interface SocialRelationLocalService
dynamicQuery
- the dynamic query
SystemException
- if a system exception occurredpublic SocialRelation fetchSocialRelation(long relationId) throws SystemException
fetchSocialRelation
in interface SocialRelationLocalService
SystemException
public SocialRelation getSocialRelation(long relationId) throws PortalException, SystemException
getSocialRelation
in interface SocialRelationLocalService
relationId
- the primary key of the social relation
PortalException
- if a social relation with the primary key could not be found
SystemException
- if a system exception occurredpublic PersistedModel getPersistedModel(Serializable primaryKeyObj) throws PortalException, SystemException
getPersistedModel
in interface PersistedModelLocalService
getPersistedModel
in interface SocialRelationLocalService
PortalException
SystemException
public List<SocialRelation> getSocialRelations(int start, int end) throws SystemException
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.
getSocialRelations
in interface SocialRelationLocalService
start
- the lower bound of the range of social relationsend
- the upper bound of the range of social relations (not inclusive)
SystemException
- if a system exception occurredpublic int getSocialRelationsCount() throws SystemException
getSocialRelationsCount
in interface SocialRelationLocalService
SystemException
- if a system exception occurred@Indexable(type=REINDEX) public SocialRelation updateSocialRelation(SocialRelation socialRelation) throws SystemException
updateSocialRelation
in interface SocialRelationLocalService
socialRelation
- the social relation
SystemException
- if a system exception occurred@Indexable(type=REINDEX) public SocialRelation updateSocialRelation(SocialRelation socialRelation, boolean merge) throws SystemException
updateSocialRelation
in interface SocialRelationLocalService
socialRelation
- the social relationmerge
- whether to merge the social relation with the current session. See BatchSession.update(com.liferay.portal.kernel.dao.orm.Session, com.liferay.portal.model.BaseModel, boolean)
for an explanation.
SystemException
- if a system exception occurredpublic SocialActivityLocalService getSocialActivityLocalService()
public void setSocialActivityLocalService(SocialActivityLocalService socialActivityLocalService)
socialActivityLocalService
- the social activity local servicepublic SocialActivityPersistence getSocialActivityPersistence()
public void setSocialActivityPersistence(SocialActivityPersistence socialActivityPersistence)
socialActivityPersistence
- the social activity persistencepublic SocialActivityFinder getSocialActivityFinder()
public void setSocialActivityFinder(SocialActivityFinder socialActivityFinder)
socialActivityFinder
- the social activity finderpublic SocialActivityAchievementLocalService getSocialActivityAchievementLocalService()
public void setSocialActivityAchievementLocalService(SocialActivityAchievementLocalService socialActivityAchievementLocalService)
socialActivityAchievementLocalService
- the social activity achievement local servicepublic SocialActivityAchievementPersistence getSocialActivityAchievementPersistence()
public void setSocialActivityAchievementPersistence(SocialActivityAchievementPersistence socialActivityAchievementPersistence)
socialActivityAchievementPersistence
- the social activity achievement persistencepublic SocialActivityCounterLocalService getSocialActivityCounterLocalService()
public void setSocialActivityCounterLocalService(SocialActivityCounterLocalService socialActivityCounterLocalService)
socialActivityCounterLocalService
- the social activity counter local servicepublic SocialActivityCounterPersistence getSocialActivityCounterPersistence()
public void setSocialActivityCounterPersistence(SocialActivityCounterPersistence socialActivityCounterPersistence)
socialActivityCounterPersistence
- the social activity counter persistencepublic SocialActivityCounterFinder getSocialActivityCounterFinder()
public void setSocialActivityCounterFinder(SocialActivityCounterFinder socialActivityCounterFinder)
socialActivityCounterFinder
- the social activity counter finderpublic SocialActivityInterpreterLocalService getSocialActivityInterpreterLocalService()
public void setSocialActivityInterpreterLocalService(SocialActivityInterpreterLocalService socialActivityInterpreterLocalService)
socialActivityInterpreterLocalService
- the social activity interpreter local servicepublic SocialActivityLimitLocalService getSocialActivityLimitLocalService()
public void setSocialActivityLimitLocalService(SocialActivityLimitLocalService socialActivityLimitLocalService)
socialActivityLimitLocalService
- the social activity limit local servicepublic SocialActivityLimitPersistence getSocialActivityLimitPersistence()
public void setSocialActivityLimitPersistence(SocialActivityLimitPersistence socialActivityLimitPersistence)
socialActivityLimitPersistence
- the social activity limit persistencepublic SocialActivitySettingLocalService getSocialActivitySettingLocalService()
public void setSocialActivitySettingLocalService(SocialActivitySettingLocalService socialActivitySettingLocalService)
socialActivitySettingLocalService
- the social activity setting local servicepublic SocialActivitySettingService getSocialActivitySettingService()
public void setSocialActivitySettingService(SocialActivitySettingService socialActivitySettingService)
socialActivitySettingService
- the social activity setting remote servicepublic SocialActivitySettingPersistence getSocialActivitySettingPersistence()
public void setSocialActivitySettingPersistence(SocialActivitySettingPersistence socialActivitySettingPersistence)
socialActivitySettingPersistence
- the social activity setting persistencepublic SocialRelationLocalService getSocialRelationLocalService()
public void setSocialRelationLocalService(SocialRelationLocalService socialRelationLocalService)
socialRelationLocalService
- the social relation local servicepublic SocialRelationPersistence getSocialRelationPersistence()
public void setSocialRelationPersistence(SocialRelationPersistence socialRelationPersistence)
socialRelationPersistence
- the social relation persistencepublic SocialRequestLocalService getSocialRequestLocalService()
public void setSocialRequestLocalService(SocialRequestLocalService socialRequestLocalService)
socialRequestLocalService
- the social request local servicepublic SocialRequestPersistence getSocialRequestPersistence()
public void setSocialRequestPersistence(SocialRequestPersistence socialRequestPersistence)
socialRequestPersistence
- the social request persistencepublic SocialRequestInterpreterLocalService getSocialRequestInterpreterLocalService()
public void setSocialRequestInterpreterLocalService(SocialRequestInterpreterLocalService socialRequestInterpreterLocalService)
socialRequestInterpreterLocalService
- the social request interpreter local servicepublic CounterLocalService getCounterLocalService()
public void setCounterLocalService(CounterLocalService counterLocalService)
counterLocalService
- the counter local servicepublic ResourceLocalService getResourceLocalService()
public void setResourceLocalService(ResourceLocalService resourceLocalService)
resourceLocalService
- the resource local servicepublic ResourceService getResourceService()
public void setResourceService(ResourceService resourceService)
resourceService
- the resource remote servicepublic ResourcePersistence getResourcePersistence()
public void setResourcePersistence(ResourcePersistence resourcePersistence)
resourcePersistence
- the resource persistencepublic ResourceFinder getResourceFinder()
public void setResourceFinder(ResourceFinder resourceFinder)
resourceFinder
- the resource finderpublic UserLocalService getUserLocalService()
public void setUserLocalService(UserLocalService userLocalService)
userLocalService
- the user local servicepublic UserService getUserService()
public void setUserService(UserService userService)
userService
- the user remote servicepublic UserPersistence getUserPersistence()
public void setUserPersistence(UserPersistence userPersistence)
userPersistence
- the user persistencepublic UserFinder getUserFinder()
public void setUserFinder(UserFinder userFinder)
userFinder
- the user finderpublic void afterPropertiesSet()
public void destroy()
public String getBeanIdentifier()
getBeanIdentifier
in interface IdentifiableBean
getBeanIdentifier
in interface SocialRelationLocalService
public void setBeanIdentifier(String beanIdentifier)
setBeanIdentifier
in interface IdentifiableBean
setBeanIdentifier
in interface SocialRelationLocalService
beanIdentifier
- the Spring bean ID for this beanprotected Class<?> getModelClass()
protected String getModelClassName()
protected void runSQL(String sql) throws SystemException
sql
- the sql query
SystemException
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |