|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.liferay.portal.service.BaseLocalServiceImpl
com.liferay.portlet.messageboards.service.base.MBThreadLocalServiceBaseImpl
public abstract class MBThreadLocalServiceBaseImpl
Provides the base implementation for the message boards thread 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 MBThreadLocalServiceImpl
.
MBThreadLocalServiceImpl
,
MBThreadLocalServiceUtil
Fields inherited from class com.liferay.portal.service.BaseLocalServiceImpl |
---|
layoutPersistence |
Constructor Summary | |
---|---|
MBThreadLocalServiceBaseImpl()
|
Method Summary | |
---|---|
MBThread |
addMBThread(MBThread mbThread)
Adds the message boards thread to the database. |
void |
afterPropertiesSet()
|
MBThread |
createMBThread(long threadId)
Creates a new message boards thread with the primary key. |
MBThread |
deleteMBThread(long threadId)
Deletes the message boards thread with the primary key from the database. |
MBThread |
deleteMBThread(MBThread mbThread)
Deletes the message boards thread 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. |
long |
dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
Returns the number of rows that match the dynamic query. |
MBThread |
fetchMBThread(long threadId)
|
MBThread |
fetchMBThreadByUuidAndCompanyId(String uuid,
long companyId)
Returns the message boards thread with the matching UUID and company. |
MBThread |
fetchMBThreadByUuidAndGroupId(String uuid,
long groupId)
Returns the message boards thread matching the UUID and group. |
AssetEntryFinder |
getAssetEntryFinder()
Returns the asset entry finder. |
AssetEntryLocalService |
getAssetEntryLocalService()
Returns the asset entry local service. |
AssetEntryPersistence |
getAssetEntryPersistence()
Returns the asset entry persistence. |
AssetEntryService |
getAssetEntryService()
Returns the asset entry remote service. |
String |
getBeanIdentifier()
Returns the Spring bean ID for this bean. |
CounterLocalService |
getCounterLocalService()
Returns the counter local service. |
GroupFinder |
getGroupFinder()
Returns the group finder. |
GroupLocalService |
getGroupLocalService()
Returns the group local service. |
GroupPersistence |
getGroupPersistence()
Returns the group persistence. |
GroupService |
getGroupService()
Returns the group remote service. |
LockFinder |
getLockFinder()
Returns the lock finder. |
LockLocalService |
getLockLocalService()
Returns the lock local service. |
LockPersistence |
getLockPersistence()
Returns the lock persistence. |
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. |
MBDiscussionLocalService |
getMBDiscussionLocalService()
Returns the message boards discussion local service. |
MBDiscussionPersistence |
getMBDiscussionPersistence()
Returns the message boards discussion persistence. |
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. |
MBThread |
getMBThread(long threadId)
Returns the message boards thread with the primary key. |
MBThread |
getMBThreadByUuidAndCompanyId(String uuid,
long companyId)
Returns the message boards thread with the matching UUID and company. |
MBThread |
getMBThreadByUuidAndGroupId(String uuid,
long groupId)
Returns the message boards thread matching the UUID and group. |
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. |
List<MBThread> |
getMBThreads(int start,
int end)
Returns a range of all the message boards threads. |
int |
getMBThreadsCount()
Returns the number of message boards threads. |
MBThreadService |
getMBThreadService()
Returns the message boards thread remote service. |
protected Class<?> |
getModelClass()
|
protected String |
getModelClassName()
|
PersistedModel |
getPersistedModel(Serializable primaryKeyObj)
|
RatingsStatsFinder |
getRatingsStatsFinder()
Returns the ratings stats finder. |
RatingsStatsLocalService |
getRatingsStatsLocalService()
Returns the ratings stats local service. |
RatingsStatsPersistence |
getRatingsStatsPersistence()
Returns the ratings stats persistence. |
ResourceLocalService |
getResourceLocalService()
Returns the resource local service. |
SocialActivityFinder |
getSocialActivityFinder()
Returns the social activity finder. |
SocialActivityLocalService |
getSocialActivityLocalService()
Returns the social activity local service. |
SocialActivityPersistence |
getSocialActivityPersistence()
Returns the social activity persistence. |
SocialActivityService |
getSocialActivityService()
Returns the social activity remote service. |
SubscriptionLocalService |
getSubscriptionLocalService()
Returns the subscription local service. |
SubscriptionPersistence |
getSubscriptionPersistence()
Returns the subscription persistence. |
TrashEntryLocalService |
getTrashEntryLocalService()
Returns the trash entry local service. |
TrashEntryPersistence |
getTrashEntryPersistence()
Returns the trash entry persistence. |
TrashEntryService |
getTrashEntryService()
Returns the trash entry remote service. |
TrashVersionLocalService |
getTrashVersionLocalService()
Returns the trash version local service. |
TrashVersionPersistence |
getTrashVersionPersistence()
Returns the trash version 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. |
WorkflowInstanceLinkLocalService |
getWorkflowInstanceLinkLocalService()
Returns the workflow instance link local service. |
WorkflowInstanceLinkPersistence |
getWorkflowInstanceLinkPersistence()
Returns the workflow instance link persistence. |
protected void |
runSQL(String sql)
Performs an SQL query. |
void |
setAssetEntryFinder(AssetEntryFinder assetEntryFinder)
Sets the asset entry finder. |
void |
setAssetEntryLocalService(AssetEntryLocalService assetEntryLocalService)
Sets the asset entry local service. |
void |
setAssetEntryPersistence(AssetEntryPersistence assetEntryPersistence)
Sets the asset entry persistence. |
void |
setAssetEntryService(AssetEntryService assetEntryService)
Sets the asset entry remote service. |
void |
setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean. |
void |
setCounterLocalService(CounterLocalService counterLocalService)
Sets the counter local service. |
void |
setGroupFinder(GroupFinder groupFinder)
Sets the group finder. |
void |
setGroupLocalService(GroupLocalService groupLocalService)
Sets the group local service. |
void |
setGroupPersistence(GroupPersistence groupPersistence)
Sets the group persistence. |
void |
setGroupService(GroupService groupService)
Sets the group remote service. |
void |
setLockFinder(LockFinder lockFinder)
Sets the lock finder. |
void |
setLockLocalService(LockLocalService lockLocalService)
Sets the lock local service. |
void |
setLockPersistence(LockPersistence lockPersistence)
Sets the lock persistence. |
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 |
setRatingsStatsFinder(RatingsStatsFinder ratingsStatsFinder)
Sets the ratings stats finder. |
void |
setRatingsStatsLocalService(RatingsStatsLocalService ratingsStatsLocalService)
Sets the ratings stats local service. |
void |
setRatingsStatsPersistence(RatingsStatsPersistence ratingsStatsPersistence)
Sets the ratings stats persistence. |
void |
setResourceLocalService(ResourceLocalService resourceLocalService)
Sets the resource local service. |
void |
setSocialActivityFinder(SocialActivityFinder socialActivityFinder)
Sets the social activity finder. |
void |
setSocialActivityLocalService(SocialActivityLocalService socialActivityLocalService)
Sets the social activity local service. |
void |
setSocialActivityPersistence(SocialActivityPersistence socialActivityPersistence)
Sets the social activity persistence. |
void |
setSocialActivityService(SocialActivityService socialActivityService)
Sets the social activity remote service. |
void |
setSubscriptionLocalService(SubscriptionLocalService subscriptionLocalService)
Sets the subscription local service. |
void |
setSubscriptionPersistence(SubscriptionPersistence subscriptionPersistence)
Sets the subscription persistence. |
void |
setTrashEntryLocalService(TrashEntryLocalService trashEntryLocalService)
Sets the trash entry local service. |
void |
setTrashEntryPersistence(TrashEntryPersistence trashEntryPersistence)
Sets the trash entry persistence. |
void |
setTrashEntryService(TrashEntryService trashEntryService)
Sets the trash entry remote service. |
void |
setTrashVersionLocalService(TrashVersionLocalService trashVersionLocalService)
Sets the trash version local service. |
void |
setTrashVersionPersistence(TrashVersionPersistence trashVersionPersistence)
Sets the trash version 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. |
void |
setWorkflowInstanceLinkLocalService(WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService)
Sets the workflow instance link local service. |
void |
setWorkflowInstanceLinkPersistence(WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence)
Sets the workflow instance link persistence. |
MBThread |
updateMBThread(MBThread mbThread)
Updates the message boards thread in the database or adds it if it does not yet exist. |
Methods inherited from class com.liferay.portal.service.BaseLocalServiceImpl |
---|
getClassLoader, getLayoutURL, getLayoutURL |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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=GroupLocalService.class) protected GroupLocalService groupLocalService
@BeanReference(type=GroupService.class) protected GroupService groupService
@BeanReference(type=GroupPersistence.class) protected GroupPersistence groupPersistence
@BeanReference(type=GroupFinder.class) protected GroupFinder groupFinder
@BeanReference(type=LockLocalService.class) protected LockLocalService lockLocalService
@BeanReference(type=LockPersistence.class) protected LockPersistence lockPersistence
@BeanReference(type=LockFinder.class) protected LockFinder lockFinder
@BeanReference(type=ResourceLocalService.class) protected ResourceLocalService resourceLocalService
@BeanReference(type=SubscriptionLocalService.class) protected SubscriptionLocalService subscriptionLocalService
@BeanReference(type=SubscriptionPersistence.class) protected SubscriptionPersistence subscriptionPersistence
@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=WorkflowInstanceLinkLocalService.class) protected WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService
@BeanReference(type=WorkflowInstanceLinkPersistence.class) protected WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence
@BeanReference(type=AssetEntryLocalService.class) protected AssetEntryLocalService assetEntryLocalService
@BeanReference(type=AssetEntryService.class) protected AssetEntryService assetEntryService
@BeanReference(type=AssetEntryPersistence.class) protected AssetEntryPersistence assetEntryPersistence
@BeanReference(type=AssetEntryFinder.class) protected AssetEntryFinder assetEntryFinder
@BeanReference(type=RatingsStatsLocalService.class) protected RatingsStatsLocalService ratingsStatsLocalService
@BeanReference(type=RatingsStatsPersistence.class) protected RatingsStatsPersistence ratingsStatsPersistence
@BeanReference(type=RatingsStatsFinder.class) protected RatingsStatsFinder ratingsStatsFinder
@BeanReference(type=SocialActivityLocalService.class) protected SocialActivityLocalService socialActivityLocalService
@BeanReference(type=SocialActivityService.class) protected SocialActivityService socialActivityService
@BeanReference(type=SocialActivityPersistence.class) protected SocialActivityPersistence socialActivityPersistence
@BeanReference(type=SocialActivityFinder.class) protected SocialActivityFinder socialActivityFinder
@BeanReference(type=TrashEntryLocalService.class) protected TrashEntryLocalService trashEntryLocalService
@BeanReference(type=TrashEntryService.class) protected TrashEntryService trashEntryService
@BeanReference(type=TrashEntryPersistence.class) protected TrashEntryPersistence trashEntryPersistence
@BeanReference(type=TrashVersionLocalService.class) protected TrashVersionLocalService trashVersionLocalService
@BeanReference(type=TrashVersionPersistence.class) protected TrashVersionPersistence trashVersionPersistence
@BeanReference(type=PersistedModelLocalServiceRegistry.class) protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
Constructor Detail |
---|
public MBThreadLocalServiceBaseImpl()
Method Detail |
---|
@Indexable(type=REINDEX) public MBThread addMBThread(MBThread mbThread) throws SystemException
addMBThread
in interface MBThreadLocalService
mbThread
- the message boards thread
SystemException
- if a system exception occurredpublic MBThread createMBThread(long threadId)
createMBThread
in interface MBThreadLocalService
threadId
- the primary key for the new message boards thread
@Indexable(type=DELETE) public MBThread deleteMBThread(long threadId) throws PortalException, SystemException
deleteMBThread
in interface MBThreadLocalService
threadId
- the primary key of the message boards thread
PortalException
- if a message boards thread with the primary key could not be found
SystemException
- if a system exception occurred@Indexable(type=DELETE) public MBThread deleteMBThread(MBThread mbThread) throws SystemException
deleteMBThread
in interface MBThreadLocalService
mbThread
- the message boards thread
SystemException
- if a system exception occurredpublic DynamicQuery dynamicQuery()
dynamicQuery
in interface MBThreadLocalService
public List dynamicQuery(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery
in interface MBThreadLocalService
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. 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 QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBThreadModelImpl
. 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 MBThreadLocalService
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. 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 QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBThreadModelImpl
. 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 MBThreadLocalService
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 MBThreadLocalService
dynamicQuery
- the dynamic query
SystemException
- if a system exception occurredpublic long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection) throws SystemException
dynamicQueryCount
in interface MBThreadLocalService
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the query
SystemException
- if a system exception occurredpublic MBThread fetchMBThread(long threadId) throws SystemException
fetchMBThread
in interface MBThreadLocalService
SystemException
public MBThread fetchMBThreadByUuidAndCompanyId(String uuid, long companyId) throws SystemException
fetchMBThreadByUuidAndCompanyId
in interface MBThreadLocalService
uuid
- the message boards thread's UUIDcompanyId
- the primary key of the company
null
if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic MBThread fetchMBThreadByUuidAndGroupId(String uuid, long groupId) throws SystemException
fetchMBThreadByUuidAndGroupId
in interface MBThreadLocalService
uuid
- the message boards thread's UUIDgroupId
- the primary key of the group
null
if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic MBThread getMBThread(long threadId) throws PortalException, SystemException
getMBThread
in interface MBThreadLocalService
threadId
- the primary key of the message boards thread
PortalException
- if a message boards thread 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 MBThreadLocalService
PortalException
SystemException
public MBThread getMBThreadByUuidAndCompanyId(String uuid, long companyId) throws PortalException, SystemException
getMBThreadByUuidAndCompanyId
in interface MBThreadLocalService
uuid
- the message boards thread's UUIDcompanyId
- the primary key of the company
PortalException
- if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic MBThread getMBThreadByUuidAndGroupId(String uuid, long groupId) throws PortalException, SystemException
getMBThreadByUuidAndGroupId
in interface MBThreadLocalService
uuid
- the message boards thread's UUIDgroupId
- the primary key of the group
PortalException
- if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic List<MBThread> getMBThreads(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. 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 QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBThreadModelImpl
. 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.
getMBThreads
in interface MBThreadLocalService
start
- the lower bound of the range of message boards threadsend
- the upper bound of the range of message boards threads (not inclusive)
SystemException
- if a system exception occurredpublic int getMBThreadsCount() throws SystemException
getMBThreadsCount
in interface MBThreadLocalService
SystemException
- if a system exception occurred@Indexable(type=REINDEX) public MBThread updateMBThread(MBThread mbThread) throws SystemException
updateMBThread
in interface MBThreadLocalService
mbThread
- the message boards thread
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 GroupLocalService getGroupLocalService()
public void setGroupLocalService(GroupLocalService groupLocalService)
groupLocalService
- the group local servicepublic GroupService getGroupService()
public void setGroupService(GroupService groupService)
groupService
- the group remote servicepublic GroupPersistence getGroupPersistence()
public void setGroupPersistence(GroupPersistence groupPersistence)
groupPersistence
- the group persistencepublic GroupFinder getGroupFinder()
public void setGroupFinder(GroupFinder groupFinder)
groupFinder
- the group finderpublic LockLocalService getLockLocalService()
public void setLockLocalService(LockLocalService lockLocalService)
lockLocalService
- the lock local servicepublic LockPersistence getLockPersistence()
public void setLockPersistence(LockPersistence lockPersistence)
lockPersistence
- the lock persistencepublic LockFinder getLockFinder()
public void setLockFinder(LockFinder lockFinder)
lockFinder
- the lock finderpublic ResourceLocalService getResourceLocalService()
public void setResourceLocalService(ResourceLocalService resourceLocalService)
resourceLocalService
- the resource local servicepublic SubscriptionLocalService getSubscriptionLocalService()
public void setSubscriptionLocalService(SubscriptionLocalService subscriptionLocalService)
subscriptionLocalService
- the subscription local servicepublic SubscriptionPersistence getSubscriptionPersistence()
public void setSubscriptionPersistence(SubscriptionPersistence subscriptionPersistence)
subscriptionPersistence
- the subscription persistencepublic 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 WorkflowInstanceLinkLocalService getWorkflowInstanceLinkLocalService()
public void setWorkflowInstanceLinkLocalService(WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService)
workflowInstanceLinkLocalService
- the workflow instance link local servicepublic WorkflowInstanceLinkPersistence getWorkflowInstanceLinkPersistence()
public void setWorkflowInstanceLinkPersistence(WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence)
workflowInstanceLinkPersistence
- the workflow instance link persistencepublic AssetEntryLocalService getAssetEntryLocalService()
public void setAssetEntryLocalService(AssetEntryLocalService assetEntryLocalService)
assetEntryLocalService
- the asset entry local servicepublic AssetEntryService getAssetEntryService()
public void setAssetEntryService(AssetEntryService assetEntryService)
assetEntryService
- the asset entry remote servicepublic AssetEntryPersistence getAssetEntryPersistence()
public void setAssetEntryPersistence(AssetEntryPersistence assetEntryPersistence)
assetEntryPersistence
- the asset entry persistencepublic AssetEntryFinder getAssetEntryFinder()
public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder)
assetEntryFinder
- the asset entry finderpublic RatingsStatsLocalService getRatingsStatsLocalService()
public void setRatingsStatsLocalService(RatingsStatsLocalService ratingsStatsLocalService)
ratingsStatsLocalService
- the ratings stats local servicepublic RatingsStatsPersistence getRatingsStatsPersistence()
public void setRatingsStatsPersistence(RatingsStatsPersistence ratingsStatsPersistence)
ratingsStatsPersistence
- the ratings stats persistencepublic RatingsStatsFinder getRatingsStatsFinder()
public void setRatingsStatsFinder(RatingsStatsFinder ratingsStatsFinder)
ratingsStatsFinder
- the ratings stats finderpublic SocialActivityLocalService getSocialActivityLocalService()
public void setSocialActivityLocalService(SocialActivityLocalService socialActivityLocalService)
socialActivityLocalService
- the social activity local servicepublic SocialActivityService getSocialActivityService()
public void setSocialActivityService(SocialActivityService socialActivityService)
socialActivityService
- the social activity remote 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 TrashEntryLocalService getTrashEntryLocalService()
public void setTrashEntryLocalService(TrashEntryLocalService trashEntryLocalService)
trashEntryLocalService
- the trash entry local servicepublic TrashEntryService getTrashEntryService()
public void setTrashEntryService(TrashEntryService trashEntryService)
trashEntryService
- the trash entry remote servicepublic TrashEntryPersistence getTrashEntryPersistence()
public void setTrashEntryPersistence(TrashEntryPersistence trashEntryPersistence)
trashEntryPersistence
- the trash entry persistencepublic TrashVersionLocalService getTrashVersionLocalService()
public void setTrashVersionLocalService(TrashVersionLocalService trashVersionLocalService)
trashVersionLocalService
- the trash version local servicepublic TrashVersionPersistence getTrashVersionPersistence()
public void setTrashVersionPersistence(TrashVersionPersistence trashVersionPersistence)
trashVersionPersistence
- the trash version persistencepublic void afterPropertiesSet()
public void destroy()
public String getBeanIdentifier()
getBeanIdentifier
in interface IdentifiableBean
getBeanIdentifier
in interface MBThreadLocalService
public void setBeanIdentifier(String beanIdentifier)
setBeanIdentifier
in interface IdentifiableBean
setBeanIdentifier
in interface MBThreadLocalService
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.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |