|
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.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
.
MBDiscussionLocalServiceImpl
,
MBDiscussionLocalServiceUtil
Constructor Summary | |
---|---|
MBDiscussionLocalServiceBaseImpl()
|
Method Summary | |
---|---|
MBDiscussion |
addMBDiscussion(MBDiscussion mbDiscussion)
Adds the message boards discussion to the database. |
void |
afterPropertiesSet()
|
MBDiscussion |
createMBDiscussion(long discussionId)
Creates a new message boards discussion with the primary key. |
MBDiscussion |
deleteMBDiscussion(long discussionId)
Deletes the message boards discussion with the primary key from the database. |
MBDiscussion |
deleteMBDiscussion(MBDiscussion mbDiscussion)
Deletes the message boards discussion 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. |
MBDiscussion |
fetchMBDiscussion(long discussionId)
|
String |
getBeanIdentifier()
Returns the Spring bean ID for this bean. |
CounterLocalService |
getCounterLocalService()
Returns the counter local service. |
MBBanLocalService |
getMBBanLocalService()
Returns the message boards ban local service. |
MBBanPersistence |
getMBBanPersistence()
Returns the message boards ban persistence. |
MBBanService |
getMBBanService()
Returns the message boards ban remote service. |
MBCategoryFinder |
getMBCategoryFinder()
Returns the message boards category finder. |
MBCategoryLocalService |
getMBCategoryLocalService()
Returns the message boards category local service. |
MBCategoryPersistence |
getMBCategoryPersistence()
Returns the message boards category persistence. |
MBCategoryService |
getMBCategoryService()
Returns the message boards category remote service. |
MBDiscussion |
getMBDiscussion(long discussionId)
Returns the message boards discussion with the primary key. |
MBDiscussionLocalService |
getMBDiscussionLocalService()
Returns the message boards discussion local service. |
MBDiscussionPersistence |
getMBDiscussionPersistence()
Returns the message boards discussion persistence. |
List<MBDiscussion> |
getMBDiscussions(int start,
int end)
Returns a range of all the message boards discussions. |
int |
getMBDiscussionsCount()
Returns the number of message boards discussions. |
MBMailingListLocalService |
getMBMailingListLocalService()
Returns the message boards mailing list local service. |
MBMailingListPersistence |
getMBMailingListPersistence()
Returns the message boards mailing list persistence. |
MBMessageFinder |
getMBMessageFinder()
Returns the message-boards message finder. |
MBMessageLocalService |
getMBMessageLocalService()
Returns the message-boards message local service. |
MBMessagePersistence |
getMBMessagePersistence()
Returns the message-boards message persistence. |
MBMessageService |
getMBMessageService()
Returns the message-boards message remote service. |
MBStatsUserLocalService |
getMBStatsUserLocalService()
Returns the message boards stats user local service. |
MBStatsUserPersistence |
getMBStatsUserPersistence()
Returns the message boards stats user persistence. |
MBThreadFinder |
getMBThreadFinder()
Returns the message boards thread finder. |
MBThreadFlagLocalService |
getMBThreadFlagLocalService()
Returns the message boards thread flag local service. |
MBThreadFlagPersistence |
getMBThreadFlagPersistence()
Returns the message boards thread flag persistence. |
MBThreadLocalService |
getMBThreadLocalService()
Returns the message boards thread local service. |
MBThreadPersistence |
getMBThreadPersistence()
Returns the message boards thread persistence. |
MBThreadService |
getMBThreadService()
Returns the message boards thread remote 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. |
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 |
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 |
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 |
setMBThreadFlagLocalService(MBThreadFlagLocalService mbThreadFlagLocalService)
Sets the message boards thread flag local service. |
void |
setMBThreadFlagPersistence(MBThreadFlagPersistence mbThreadFlagPersistence)
Sets the message boards thread flag persistence. |
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 or adds it if it does not yet exist. |
MBDiscussion |
updateMBDiscussion(MBDiscussion mbDiscussion,
boolean merge)
Updates the message boards discussion 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.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=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=MBThreadFlagLocalService.class) protected MBThreadFlagLocalService mbThreadFlagLocalService
@BeanReference(type=MBThreadFlagPersistence.class) protected MBThreadFlagPersistence mbThreadFlagPersistence
@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 MBDiscussionLocalServiceBaseImpl()
Method Detail |
---|
@Indexable(type=REINDEX) public MBDiscussion addMBDiscussion(MBDiscussion mbDiscussion) throws SystemException
addMBDiscussion
in interface MBDiscussionLocalService
mbDiscussion
- the message boards discussion
SystemException
- if a system exception occurredpublic MBDiscussion createMBDiscussion(long discussionId)
createMBDiscussion
in interface MBDiscussionLocalService
discussionId
- the primary key for the new message boards discussion
@Indexable(type=DELETE) public MBDiscussion deleteMBDiscussion(long discussionId) throws PortalException, SystemException
deleteMBDiscussion
in interface MBDiscussionLocalService
discussionId
- the primary key of the message boards discussion
PortalException
- if a message boards discussion with the primary key could not be found
SystemException
- if a system exception occurred@Indexable(type=DELETE) public MBDiscussion deleteMBDiscussion(MBDiscussion mbDiscussion) throws SystemException
deleteMBDiscussion
in interface MBDiscussionLocalService
mbDiscussion
- the message boards discussion
SystemException
- if a system exception occurredpublic DynamicQuery dynamicQuery()
dynamicQuery
in interface MBDiscussionLocalService
public List dynamicQuery(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery
in interface MBDiscussionLocalService
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 MBDiscussionLocalService
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 MBDiscussionLocalService
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 MBDiscussionLocalService
dynamicQuery
- the dynamic query
SystemException
- if a system exception occurredpublic MBDiscussion fetchMBDiscussion(long discussionId) throws SystemException
fetchMBDiscussion
in interface MBDiscussionLocalService
SystemException
public MBDiscussion getMBDiscussion(long discussionId) throws PortalException, SystemException
getMBDiscussion
in interface MBDiscussionLocalService
discussionId
- the primary key of the message boards discussion
PortalException
- if a message boards discussion 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 MBDiscussionLocalService
PortalException
SystemException
public 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 discussionsend
- the upper bound of the range of message boards discussions (not inclusive)
SystemException
- if a system exception occurredpublic int getMBDiscussionsCount() throws SystemException
getMBDiscussionsCount
in interface MBDiscussionLocalService
SystemException
- if a system exception occurred@Indexable(type=REINDEX) public MBDiscussion updateMBDiscussion(MBDiscussion mbDiscussion) throws SystemException
updateMBDiscussion
in interface MBDiscussionLocalService
mbDiscussion
- the message boards discussion
SystemException
- if a system exception occurred@Indexable(type=REINDEX) public MBDiscussion updateMBDiscussion(MBDiscussion mbDiscussion, boolean merge) throws SystemException
updateMBDiscussion
in interface MBDiscussionLocalService
mbDiscussion
- the message boards discussionmerge
- 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 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 MBThreadFlagLocalService getMBThreadFlagLocalService()
public void setMBThreadFlagLocalService(MBThreadFlagLocalService mbThreadFlagLocalService)
mbThreadFlagLocalService
- the message boards thread flag local servicepublic MBThreadFlagPersistence getMBThreadFlagPersistence()
public void setMBThreadFlagPersistence(MBThreadFlagPersistence mbThreadFlagPersistence)
mbThreadFlagPersistence
- the message boards thread flag persistencepublic 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 MBDiscussionLocalService
public void setBeanIdentifier(String beanIdentifier)
setBeanIdentifier
in interface IdentifiableBean
setBeanIdentifier
in interface MBDiscussionLocalService
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 |