|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portlet.messageboards.service.base.MBDiscussionLocalServiceBaseImpl
public abstract class MBDiscussionLocalServiceBaseImpl
The base implementation of the message boards discussion 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 MBDiscussionLocalServiceImpl
.
Never modify or reference this class directly. Always use MBDiscussionLocalServiceUtil
to access the message boards discussion local service.
MBDiscussionLocalServiceImpl
,
MBDiscussionLocalServiceUtil
Constructor Summary | |
---|---|
MBDiscussionLocalServiceBaseImpl()
|
Method Summary | |
---|---|
MBDiscussion |
addMBDiscussion(MBDiscussion mbDiscussion)
Adds the message boards discussion to the database. |
MBDiscussion |
createMBDiscussion(long discussionId)
Creates a new message boards discussion with the primary key. |
void |
deleteMBDiscussion(long discussionId)
Deletes the message boards discussion with the primary key from the database. |
void |
deleteMBDiscussion(MBDiscussion mbDiscussion)
Deletes the message boards discussion from the database. |
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)
Counts the number of rows that match the dynamic query. |
CounterLocalService |
getCounterLocalService()
Gets the counter local service. |
MBBanLocalService |
getMBBanLocalService()
Gets the message boards ban local service. |
MBBanPersistence |
getMBBanPersistence()
Gets the message boards ban persistence. |
MBBanService |
getMBBanService()
Gets the message boards ban remote service. |
MBCategoryFinder |
getMBCategoryFinder()
Gets the message boards category finder. |
MBCategoryLocalService |
getMBCategoryLocalService()
Gets the message boards category local service. |
MBCategoryPersistence |
getMBCategoryPersistence()
Gets the message boards category persistence. |
MBCategoryService |
getMBCategoryService()
Gets the message boards category remote service. |
MBDiscussion |
getMBDiscussion(long discussionId)
Gets the message boards discussion with the primary key. |
MBDiscussionLocalService |
getMBDiscussionLocalService()
Gets the message boards discussion local service. |
MBDiscussionPersistence |
getMBDiscussionPersistence()
Gets the message boards discussion persistence. |
List<MBDiscussion> |
getMBDiscussions(int start,
int end)
Gets a range of all the message boards discussions. |
int |
getMBDiscussionsCount()
Gets the number of message boards discussions. |
MBMailingListLocalService |
getMBMailingListLocalService()
Gets the message boards mailing list local service. |
MBMailingListPersistence |
getMBMailingListPersistence()
Gets the message boards mailing list persistence. |
MBMessageFinder |
getMBMessageFinder()
Gets the message-boards message finder. |
MBMessageFlagLocalService |
getMBMessageFlagLocalService()
Gets the message boards message flag local service. |
MBMessageFlagPersistence |
getMBMessageFlagPersistence()
Gets the message boards message flag persistence. |
MBMessageFlagService |
getMBMessageFlagService()
Gets the message boards message flag remote service. |
MBMessageLocalService |
getMBMessageLocalService()
Gets the message-boards message local service. |
MBMessagePersistence |
getMBMessagePersistence()
Gets the message-boards message persistence. |
MBMessageService |
getMBMessageService()
Gets the message-boards message remote service. |
MBStatsUserLocalService |
getMBStatsUserLocalService()
Gets the message boards stats user local service. |
MBStatsUserPersistence |
getMBStatsUserPersistence()
Gets the message boards stats user persistence. |
MBThreadFinder |
getMBThreadFinder()
Gets the message boards thread finder. |
MBThreadLocalService |
getMBThreadLocalService()
Gets the message boards thread local service. |
MBThreadPersistence |
getMBThreadPersistence()
Gets the message boards thread persistence. |
MBThreadService |
getMBThreadService()
Gets the message boards thread remote service. |
ResourceFinder |
getResourceFinder()
Gets the resource finder. |
ResourceLocalService |
getResourceLocalService()
Gets the resource local service. |
ResourcePersistence |
getResourcePersistence()
Gets the resource persistence. |
ResourceService |
getResourceService()
Gets the resource remote service. |
UserFinder |
getUserFinder()
Gets the user finder. |
UserLocalService |
getUserLocalService()
Gets the user local service. |
UserPersistence |
getUserPersistence()
Gets the user persistence. |
UserService |
getUserService()
Gets the user remote service. |
protected void |
runSQL(String sql)
Performs an SQL query. |
void |
setCounterLocalService(CounterLocalService counterLocalService)
Sets the counter local service. |
void |
setMBBanLocalService(MBBanLocalService mbBanLocalService)
Sets the message boards ban local service. |
void |
setMBBanPersistence(MBBanPersistence mbBanPersistence)
Sets the message boards ban persistence. |
void |
setMBBanService(MBBanService mbBanService)
Sets the message boards ban remote service. |
void |
setMBCategoryFinder(MBCategoryFinder mbCategoryFinder)
Sets the message boards category finder. |
void |
setMBCategoryLocalService(MBCategoryLocalService mbCategoryLocalService)
Sets the message boards category local service. |
void |
setMBCategoryPersistence(MBCategoryPersistence mbCategoryPersistence)
Sets the message boards category persistence. |
void |
setMBCategoryService(MBCategoryService mbCategoryService)
Sets the message boards category remote service. |
void |
setMBDiscussionLocalService(MBDiscussionLocalService mbDiscussionLocalService)
Sets the message boards discussion local service. |
void |
setMBDiscussionPersistence(MBDiscussionPersistence mbDiscussionPersistence)
Sets the message boards discussion persistence. |
void |
setMBMailingListLocalService(MBMailingListLocalService mbMailingListLocalService)
Sets the message boards mailing list local service. |
void |
setMBMailingListPersistence(MBMailingListPersistence mbMailingListPersistence)
Sets the message boards mailing list persistence. |
void |
setMBMessageFinder(MBMessageFinder mbMessageFinder)
Sets the message-boards message finder. |
void |
setMBMessageFlagLocalService(MBMessageFlagLocalService mbMessageFlagLocalService)
Sets the message boards message flag local service. |
void |
setMBMessageFlagPersistence(MBMessageFlagPersistence mbMessageFlagPersistence)
Sets the message boards message flag persistence. |
void |
setMBMessageFlagService(MBMessageFlagService mbMessageFlagService)
Sets the message boards message flag remote service. |
void |
setMBMessageLocalService(MBMessageLocalService mbMessageLocalService)
Sets the message-boards message local service. |
void |
setMBMessagePersistence(MBMessagePersistence mbMessagePersistence)
Sets the message-boards message persistence. |
void |
setMBMessageService(MBMessageService mbMessageService)
Sets the message-boards message remote service. |
void |
setMBStatsUserLocalService(MBStatsUserLocalService mbStatsUserLocalService)
Sets the message boards stats user local service. |
void |
setMBStatsUserPersistence(MBStatsUserPersistence mbStatsUserPersistence)
Sets the message boards stats user persistence. |
void |
setMBThreadFinder(MBThreadFinder mbThreadFinder)
Sets the message boards thread finder. |
void |
setMBThreadLocalService(MBThreadLocalService mbThreadLocalService)
Sets the message boards thread local service. |
void |
setMBThreadPersistence(MBThreadPersistence mbThreadPersistence)
Sets the message boards thread persistence. |
void |
setMBThreadService(MBThreadService mbThreadService)
Sets the message boards thread remote 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 |
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. |
MBDiscussion |
updateMBDiscussion(MBDiscussion mbDiscussion)
Updates the message boards discussion in the database. |
MBDiscussion |
updateMBDiscussion(MBDiscussion mbDiscussion,
boolean merge)
Updates the message boards discussion in the database. |
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.messageboards.service.MBDiscussionLocalService |
---|
addDiscussion, getDiscussion, getDiscussion, getThreadDiscussion |
Field Detail |
---|
@BeanReference(type=MBBanLocalService.class) protected MBBanLocalService mbBanLocalService
@BeanReference(type=MBBanService.class) protected MBBanService mbBanService
@BeanReference(type=MBBanPersistence.class) protected MBBanPersistence mbBanPersistence
@BeanReference(type=MBCategoryLocalService.class) protected MBCategoryLocalService mbCategoryLocalService
@BeanReference(type=MBCategoryService.class) protected MBCategoryService mbCategoryService
@BeanReference(type=MBCategoryPersistence.class) protected MBCategoryPersistence mbCategoryPersistence
@BeanReference(type=MBCategoryFinder.class) protected MBCategoryFinder mbCategoryFinder
@BeanReference(type=MBDiscussionLocalService.class) protected MBDiscussionLocalService mbDiscussionLocalService
@BeanReference(type=MBDiscussionPersistence.class) protected MBDiscussionPersistence mbDiscussionPersistence
@BeanReference(type=MBMailingListLocalService.class) protected MBMailingListLocalService mbMailingListLocalService
@BeanReference(type=MBMailingListPersistence.class) protected MBMailingListPersistence mbMailingListPersistence
@BeanReference(type=MBMessageLocalService.class) protected MBMessageLocalService mbMessageLocalService
@BeanReference(type=MBMessageService.class) protected MBMessageService mbMessageService
@BeanReference(type=MBMessagePersistence.class) protected MBMessagePersistence mbMessagePersistence
@BeanReference(type=MBMessageFinder.class) protected MBMessageFinder mbMessageFinder
@BeanReference(type=MBMessageFlagLocalService.class) protected MBMessageFlagLocalService mbMessageFlagLocalService
@BeanReference(type=MBMessageFlagService.class) protected MBMessageFlagService mbMessageFlagService
@BeanReference(type=MBMessageFlagPersistence.class) protected MBMessageFlagPersistence mbMessageFlagPersistence
@BeanReference(type=MBStatsUserLocalService.class) protected MBStatsUserLocalService mbStatsUserLocalService
@BeanReference(type=MBStatsUserPersistence.class) protected MBStatsUserPersistence mbStatsUserPersistence
@BeanReference(type=MBThreadLocalService.class) protected MBThreadLocalService mbThreadLocalService
@BeanReference(type=MBThreadService.class) protected MBThreadService mbThreadService
@BeanReference(type=MBThreadPersistence.class) protected MBThreadPersistence mbThreadPersistence
@BeanReference(type=MBThreadFinder.class) protected MBThreadFinder mbThreadFinder
@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
Constructor Detail |
---|
public MBDiscussionLocalServiceBaseImpl()
Method Detail |
---|
public MBDiscussion addMBDiscussion(MBDiscussion mbDiscussion) throws SystemException
addMBDiscussion
in interface MBDiscussionLocalService
mbDiscussion
- the message boards discussion to add
SystemException
- if a system exception occurredpublic MBDiscussion createMBDiscussion(long discussionId)
createMBDiscussion
in interface MBDiscussionLocalService
discussionId
- the primary key for the new message boards discussion
public void deleteMBDiscussion(long discussionId) throws PortalException, SystemException
deleteMBDiscussion
in interface MBDiscussionLocalService
discussionId
- the primary key of the message boards discussion to delete
PortalException
- if a message boards discussion with the primary key could not be found
SystemException
- if a system exception occurredpublic void deleteMBDiscussion(MBDiscussion mbDiscussion) throws SystemException
deleteMBDiscussion
in interface MBDiscussionLocalService
mbDiscussion
- the message boards discussion to delete
SystemException
- if a system exception occurredpublic List dynamicQuery(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery
in interface MBDiscussionLocalService
dynamicQuery
- the dynamic query to search with
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 MBDiscussionLocalService
dynamicQuery
- the dynamic query to search withstart
- the lower bound of the range of model instances to returnend
- the upper bound of the range of model instances to return (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 MBDiscussionLocalService
dynamicQuery
- the dynamic query to search withstart
- the lower bound of the range of model instances to returnend
- the upper bound of the range of model instances to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic long dynamicQueryCount(DynamicQuery dynamicQuery) throws SystemException
dynamicQueryCount
in interface MBDiscussionLocalService
dynamicQuery
- the dynamic query to search with
SystemException
- if a system exception occurredpublic MBDiscussion getMBDiscussion(long discussionId) throws PortalException, SystemException
getMBDiscussion
in interface MBDiscussionLocalService
discussionId
- the primary key of the message boards discussion to get
PortalException
- if a message boards discussion with the primary key could not be found
SystemException
- if a system exception occurredpublic List<MBDiscussion> getMBDiscussions(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.
getMBDiscussions
in interface MBDiscussionLocalService
start
- the lower bound of the range of message boards discussions to returnend
- the upper bound of the range of message boards discussions to return (not inclusive)
SystemException
- if a system exception occurredpublic int getMBDiscussionsCount() throws SystemException
getMBDiscussionsCount
in interface MBDiscussionLocalService
SystemException
- if a system exception occurredpublic MBDiscussion updateMBDiscussion(MBDiscussion mbDiscussion) throws SystemException
updateMBDiscussion
in interface MBDiscussionLocalService
mbDiscussion
- the message boards discussion to update
SystemException
- if a system exception occurredpublic MBDiscussion updateMBDiscussion(MBDiscussion mbDiscussion, boolean merge) throws SystemException
updateMBDiscussion
in interface MBDiscussionLocalService
mbDiscussion
- the message boards discussion to updatemerge
- whether to merge the message boards discussion 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 MBBanLocalService getMBBanLocalService()
public void setMBBanLocalService(MBBanLocalService mbBanLocalService)
mbBanLocalService
- the message boards ban local servicepublic MBBanService getMBBanService()
public void setMBBanService(MBBanService mbBanService)
mbBanService
- the message boards ban remote servicepublic MBBanPersistence getMBBanPersistence()
public void setMBBanPersistence(MBBanPersistence mbBanPersistence)
mbBanPersistence
- the message boards ban persistencepublic MBCategoryLocalService getMBCategoryLocalService()
public void setMBCategoryLocalService(MBCategoryLocalService mbCategoryLocalService)
mbCategoryLocalService
- the message boards category local servicepublic MBCategoryService getMBCategoryService()
public void setMBCategoryService(MBCategoryService mbCategoryService)
mbCategoryService
- the message boards category remote servicepublic MBCategoryPersistence getMBCategoryPersistence()
public void setMBCategoryPersistence(MBCategoryPersistence mbCategoryPersistence)
mbCategoryPersistence
- the message boards category persistencepublic MBCategoryFinder getMBCategoryFinder()
public void setMBCategoryFinder(MBCategoryFinder mbCategoryFinder)
mbCategoryFinder
- the message boards category finderpublic MBDiscussionLocalService getMBDiscussionLocalService()
public void setMBDiscussionLocalService(MBDiscussionLocalService mbDiscussionLocalService)
mbDiscussionLocalService
- the message boards discussion local servicepublic MBDiscussionPersistence getMBDiscussionPersistence()
public void setMBDiscussionPersistence(MBDiscussionPersistence mbDiscussionPersistence)
mbDiscussionPersistence
- the message boards discussion persistencepublic MBMailingListLocalService getMBMailingListLocalService()
public void setMBMailingListLocalService(MBMailingListLocalService mbMailingListLocalService)
mbMailingListLocalService
- the message boards mailing list local servicepublic MBMailingListPersistence getMBMailingListPersistence()
public void setMBMailingListPersistence(MBMailingListPersistence mbMailingListPersistence)
mbMailingListPersistence
- the message boards mailing list persistencepublic MBMessageLocalService getMBMessageLocalService()
public void setMBMessageLocalService(MBMessageLocalService mbMessageLocalService)
mbMessageLocalService
- the message-boards message local servicepublic MBMessageService getMBMessageService()
public void setMBMessageService(MBMessageService mbMessageService)
mbMessageService
- the message-boards message remote servicepublic MBMessagePersistence getMBMessagePersistence()
public void setMBMessagePersistence(MBMessagePersistence mbMessagePersistence)
mbMessagePersistence
- the message-boards message persistencepublic MBMessageFinder getMBMessageFinder()
public void setMBMessageFinder(MBMessageFinder mbMessageFinder)
mbMessageFinder
- the message-boards message finderpublic MBMessageFlagLocalService getMBMessageFlagLocalService()
public void setMBMessageFlagLocalService(MBMessageFlagLocalService mbMessageFlagLocalService)
mbMessageFlagLocalService
- the message boards message flag local servicepublic MBMessageFlagService getMBMessageFlagService()
public void setMBMessageFlagService(MBMessageFlagService mbMessageFlagService)
mbMessageFlagService
- the message boards message flag remote servicepublic MBMessageFlagPersistence getMBMessageFlagPersistence()
public void setMBMessageFlagPersistence(MBMessageFlagPersistence mbMessageFlagPersistence)
mbMessageFlagPersistence
- the message boards message flag persistencepublic MBStatsUserLocalService getMBStatsUserLocalService()
public void setMBStatsUserLocalService(MBStatsUserLocalService mbStatsUserLocalService)
mbStatsUserLocalService
- the message boards stats user local servicepublic MBStatsUserPersistence getMBStatsUserPersistence()
public void setMBStatsUserPersistence(MBStatsUserPersistence mbStatsUserPersistence)
mbStatsUserPersistence
- the message boards stats user persistencepublic MBThreadLocalService getMBThreadLocalService()
public void setMBThreadLocalService(MBThreadLocalService mbThreadLocalService)
mbThreadLocalService
- the message boards thread local servicepublic MBThreadService getMBThreadService()
public void setMBThreadService(MBThreadService mbThreadService)
mbThreadService
- the message boards thread remote servicepublic MBThreadPersistence getMBThreadPersistence()
public void setMBThreadPersistence(MBThreadPersistence mbThreadPersistence)
mbThreadPersistence
- the message boards thread persistencepublic MBThreadFinder getMBThreadFinder()
public void setMBThreadFinder(MBThreadFinder mbThreadFinder)
mbThreadFinder
- the message boards thread finderpublic 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 finderprotected void runSQL(String sql) throws SystemException
sql
- the sql query to perform
SystemException
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |