|
Liferay 7.0-ce-b4 | |||||||||
| 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.MBMessageLocalServiceBaseImpl
@ProviderType public abstract class MBMessageLocalServiceBaseImpl
Provides the base implementation for the message-boards message 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 MBMessageLocalServiceImpl.
MBMessageLocalServiceImpl,
MBMessageLocalServiceUtil| Constructor Summary | |
|---|---|
MBMessageLocalServiceBaseImpl()
|
|
| Method Summary | ||
|---|---|---|
MBMessage |
addMBMessage(MBMessage mbMessage)
Adds the message-boards message to the database. |
|
void |
afterPropertiesSet()
|
|
MBMessage |
createMBMessage(long messageId)
Creates a new message-boards message with the primary key. |
|
MBMessage |
deleteMBMessage(long messageId)
Deletes the message-boards message with the primary key from the database. |
|
MBMessage |
deleteMBMessage(MBMessage mbMessage)
Deletes the message-boards message from the database. |
|
PersistedModel |
deletePersistedModel(PersistedModel persistedModel)
|
|
void |
destroy()
|
|
DynamicQuery |
dynamicQuery()
|
|
|
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows. |
|
|
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows. |
|
|
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator<T> orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows. |
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query. |
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
Returns the number of rows matching the dynamic query. |
|
MBMessage |
fetchMBMessage(long messageId)
|
|
MBMessage |
fetchMBMessageByUuidAndGroupId(String uuid,
long groupId)
Returns the message-boards message matching the UUID and group. |
|
ActionableDynamicQuery |
getActionableDynamicQuery()
|
|
AssetEntryFinder |
getAssetEntryFinder()
Returns the asset entry finder. |
|
AssetEntryLocalService |
getAssetEntryLocalService()
Returns the asset entry local service. |
|
AssetEntryPersistence |
getAssetEntryPersistence()
Returns the asset entry persistence. |
|
AssetLinkLocalService |
getAssetLinkLocalService()
Returns the asset link local service. |
|
AssetLinkPersistence |
getAssetLinkPersistence()
Returns the asset link persistence. |
|
AssetTagFinder |
getAssetTagFinder()
Returns the asset tag finder. |
|
AssetTagLocalService |
getAssetTagLocalService()
Returns the asset tag local service. |
|
AssetTagPersistence |
getAssetTagPersistence()
Returns the asset tag persistence. |
|
BlogsEntryFinder |
getBlogsEntryFinder()
Returns the blogs entry finder. |
|
BlogsEntryLocalService |
getBlogsEntryLocalService()
Returns the blogs entry local service. |
|
BlogsEntryPersistence |
getBlogsEntryPersistence()
Returns the blogs entry persistence. |
|
ClassNameLocalService |
getClassNameLocalService()
Returns the class name local service. |
|
ClassNamePersistence |
getClassNamePersistence()
Returns the class name persistence. |
|
CompanyLocalService |
getCompanyLocalService()
Returns the company local service. |
|
CompanyPersistence |
getCompanyPersistence()
Returns the company persistence. |
|
CounterLocalService |
getCounterLocalService()
Returns the counter local service. |
|
ExpandoRowLocalService |
getExpandoRowLocalService()
Returns the expando row local service. |
|
ExpandoRowPersistence |
getExpandoRowPersistence()
Returns the expando row persistence. |
|
ExportActionableDynamicQuery |
getExportActionableDynamicQuery(PortletDataContext portletDataContext)
|
|
GroupFinder |
getGroupFinder()
Returns the group finder. |
|
GroupLocalService |
getGroupLocalService()
Returns the group local service. |
|
GroupPersistence |
getGroupPersistence()
Returns the group persistence. |
|
IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery()
|
|
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. |
|
MBDiscussionLocalService |
getMBDiscussionLocalService()
Returns the message boards discussion local service. |
|
MBDiscussionPersistence |
getMBDiscussionPersistence()
Returns the message boards discussion persistence. |
|
MBMessage |
getMBMessage(long messageId)
Returns the message-boards message with the primary key. |
|
MBMessage |
getMBMessageByUuidAndGroupId(String uuid,
long groupId)
Returns the message-boards message matching the UUID and group. |
|
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. |
|
List<MBMessage> |
getMBMessages(int start,
int end)
Returns a range of all the message-boards messages. |
|
List<MBMessage> |
getMBMessagesByUuidAndCompanyId(String uuid,
long companyId)
Returns all the message-boards messages matching the UUID and company. |
|
List<MBMessage> |
getMBMessagesByUuidAndCompanyId(String uuid,
long companyId,
int start,
int end,
OrderByComparator<MBMessage> orderByComparator)
Returns a range of message-boards messages matching the UUID and company. |
|
int |
getMBMessagesCount()
Returns the number of message-boards messages. |
|
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. |
|
MBThreadLocalService |
getMBThreadLocalService()
Returns the message boards thread local service. |
|
MBThreadPersistence |
getMBThreadPersistence()
Returns the message boards thread persistence. |
|
protected Class<?> |
getModelClass()
|
|
protected String |
getModelClassName()
|
|
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier. |
|
PersistedModel |
getPersistedModel(Serializable primaryKeyObj)
|
|
PortletPreferencesFinder |
getPortletPreferencesFinder()
Returns the portlet preferences finder. |
|
PortletPreferencesLocalService |
getPortletPreferencesLocalService()
Returns the portlet preferences local service. |
|
PortletPreferencesPersistence |
getPortletPreferencesPersistence()
Returns the portlet preferences persistence. |
|
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. |
|
SubscriptionLocalService |
getSubscriptionLocalService()
Returns the subscription local service. |
|
SubscriptionPersistence |
getSubscriptionPersistence()
Returns the subscription persistence. |
|
UserFinder |
getUserFinder()
Returns the user finder. |
|
UserLocalService |
getUserLocalService()
Returns the user local service. |
|
UserPersistence |
getUserPersistence()
Returns the user persistence. |
|
WorkflowInstanceLinkLocalService |
getWorkflowInstanceLinkLocalService()
Returns the workflow instance link local service. |
|
WorkflowInstanceLinkPersistence |
getWorkflowInstanceLinkPersistence()
Returns the workflow instance link persistence. |
|
protected void |
initActionableDynamicQuery(ActionableDynamicQuery actionableDynamicQuery)
|
|
protected void |
runSQL(String sql)
Performs a 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 |
setAssetLinkLocalService(AssetLinkLocalService assetLinkLocalService)
Sets the asset link local service. |
|
void |
setAssetLinkPersistence(AssetLinkPersistence assetLinkPersistence)
Sets the asset link persistence. |
|
void |
setAssetTagFinder(AssetTagFinder assetTagFinder)
Sets the asset tag finder. |
|
void |
setAssetTagLocalService(AssetTagLocalService assetTagLocalService)
Sets the asset tag local service. |
|
void |
setAssetTagPersistence(AssetTagPersistence assetTagPersistence)
Sets the asset tag persistence. |
|
void |
setBlogsEntryFinder(BlogsEntryFinder blogsEntryFinder)
Sets the blogs entry finder. |
|
void |
setBlogsEntryLocalService(BlogsEntryLocalService blogsEntryLocalService)
Sets the blogs entry local service. |
|
void |
setBlogsEntryPersistence(BlogsEntryPersistence blogsEntryPersistence)
Sets the blogs entry persistence. |
|
void |
setClassNameLocalService(ClassNameLocalService classNameLocalService)
Sets the class name local service. |
|
void |
setClassNamePersistence(ClassNamePersistence classNamePersistence)
Sets the class name persistence. |
|
void |
setCompanyLocalService(CompanyLocalService companyLocalService)
Sets the company local service. |
|
void |
setCompanyPersistence(CompanyPersistence companyPersistence)
Sets the company persistence. |
|
void |
setCounterLocalService(CounterLocalService counterLocalService)
Sets the counter local service. |
|
void |
setExpandoRowLocalService(ExpandoRowLocalService expandoRowLocalService)
Sets the expando row local service. |
|
void |
setExpandoRowPersistence(ExpandoRowPersistence expandoRowPersistence)
Sets the expando row persistence. |
|
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 |
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 |
setMBDiscussionLocalService(MBDiscussionLocalService mbDiscussionLocalService)
Sets the message boards discussion local service. |
|
void |
setMBDiscussionPersistence(MBDiscussionPersistence mbDiscussionPersistence)
Sets the message boards discussion 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 |
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 |
setPortletPreferencesFinder(PortletPreferencesFinder portletPreferencesFinder)
Sets the portlet preferences finder. |
|
void |
setPortletPreferencesLocalService(PortletPreferencesLocalService portletPreferencesLocalService)
Sets the portlet preferences local service. |
|
void |
setPortletPreferencesPersistence(PortletPreferencesPersistence portletPreferencesPersistence)
Sets the portlet preferences persistence. |
|
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 |
setSubscriptionLocalService(SubscriptionLocalService subscriptionLocalService)
Sets the subscription local service. |
|
void |
setSubscriptionPersistence(SubscriptionPersistence subscriptionPersistence)
Sets the subscription 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 |
setWorkflowInstanceLinkLocalService(WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService)
Sets the workflow instance link local service. |
|
void |
setWorkflowInstanceLinkPersistence(WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence)
Sets the workflow instance link persistence. |
|
MBMessage |
updateMBMessage(MBMessage mbMessage)
Updates the message-boards message in the database or adds it if it does not yet exist. |
|
| Methods inherited from class com.liferay.portal.service.BaseLocalServiceImpl |
|---|
getClassLoader, getLocalizationMap |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
@BeanReference(type=MBMessageLocalService.class) protected MBMessageLocalService mbMessageLocalService
@BeanReference(type=MBMessagePersistence.class) protected MBMessagePersistence mbMessagePersistence
@BeanReference(type=MBMessageFinder.class) protected MBMessageFinder mbMessageFinder
@BeanReference(type=CounterLocalService.class) protected CounterLocalService counterLocalService
@BeanReference(type=ClassNameLocalService.class) protected ClassNameLocalService classNameLocalService
@BeanReference(type=ClassNamePersistence.class) protected ClassNamePersistence classNamePersistence
@BeanReference(type=CompanyLocalService.class) protected CompanyLocalService companyLocalService
@BeanReference(type=CompanyPersistence.class) protected CompanyPersistence companyPersistence
@BeanReference(type=GroupLocalService.class) protected GroupLocalService groupLocalService
@BeanReference(type=GroupPersistence.class) protected GroupPersistence groupPersistence
@BeanReference(type=GroupFinder.class) protected GroupFinder groupFinder
@BeanReference(type=PortletPreferencesLocalService.class) protected PortletPreferencesLocalService portletPreferencesLocalService
@BeanReference(type=PortletPreferencesPersistence.class) protected PortletPreferencesPersistence portletPreferencesPersistence
@BeanReference(type=PortletPreferencesFinder.class) protected PortletPreferencesFinder portletPreferencesFinder
@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=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=AssetEntryPersistence.class) protected AssetEntryPersistence assetEntryPersistence
@BeanReference(type=AssetEntryFinder.class) protected AssetEntryFinder assetEntryFinder
@BeanReference(type=AssetLinkLocalService.class) protected AssetLinkLocalService assetLinkLocalService
@BeanReference(type=AssetLinkPersistence.class) protected AssetLinkPersistence assetLinkPersistence
@BeanReference(type=AssetTagLocalService.class) protected AssetTagLocalService assetTagLocalService
@BeanReference(type=AssetTagPersistence.class) protected AssetTagPersistence assetTagPersistence
@BeanReference(type=AssetTagFinder.class) protected AssetTagFinder assetTagFinder
@BeanReference(type=BlogsEntryLocalService.class) protected BlogsEntryLocalService blogsEntryLocalService
@BeanReference(type=BlogsEntryPersistence.class) protected BlogsEntryPersistence blogsEntryPersistence
@BeanReference(type=BlogsEntryFinder.class) protected BlogsEntryFinder blogsEntryFinder
@BeanReference(type=ExpandoRowLocalService.class) protected ExpandoRowLocalService expandoRowLocalService
@BeanReference(type=ExpandoRowPersistence.class) protected ExpandoRowPersistence expandoRowPersistence
@BeanReference(type=MBCategoryLocalService.class) protected MBCategoryLocalService mbCategoryLocalService
@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=RatingsStatsLocalService.class) protected RatingsStatsLocalService ratingsStatsLocalService
@BeanReference(type=RatingsStatsPersistence.class) protected RatingsStatsPersistence ratingsStatsPersistence
@BeanReference(type=RatingsStatsFinder.class) protected RatingsStatsFinder ratingsStatsFinder
@BeanReference(type=MBStatsUserLocalService.class) protected MBStatsUserLocalService mbStatsUserLocalService
@BeanReference(type=MBStatsUserPersistence.class) protected MBStatsUserPersistence mbStatsUserPersistence
@BeanReference(type=MBThreadLocalService.class) protected MBThreadLocalService mbThreadLocalService
@BeanReference(type=MBThreadPersistence.class) protected MBThreadPersistence mbThreadPersistence
@BeanReference(type=MBThreadFinder.class) protected MBThreadFinder mbThreadFinder
@BeanReference(type=PersistedModelLocalServiceRegistry.class) protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
| Constructor Detail |
|---|
public MBMessageLocalServiceBaseImpl()
| Method Detail |
|---|
@Indexable(type=REINDEX) public MBMessage addMBMessage(MBMessage mbMessage)
addMBMessage in interface MBMessageLocalServicembMessage - the message-boards message
public MBMessage createMBMessage(long messageId)
createMBMessage in interface MBMessageLocalServicemessageId - the primary key for the new message-boards message
@Indexable(type=DELETE)
public MBMessage deleteMBMessage(long messageId)
throws PortalException
deleteMBMessage in interface MBMessageLocalServicemessageId - the primary key of the message-boards message
PortalException - if a message-boards message with the primary key could not be found@Indexable(type=DELETE) public MBMessage deleteMBMessage(MBMessage mbMessage)
deleteMBMessage in interface MBMessageLocalServicembMessage - the message-boards message
public DynamicQuery dynamicQuery()
dynamicQuery in interface MBMessageLocalServicepublic <T> List<T> dynamicQuery(DynamicQuery dynamicQuery)
dynamicQuery in interface MBMessageLocalServicedynamicQuery - the dynamic query
public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to 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 MBMessageModelImpl. 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 MBMessageLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)
public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator<T> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to 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 MBMessageModelImpl. 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 MBMessageLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public long dynamicQueryCount(DynamicQuery dynamicQuery)
dynamicQueryCount in interface MBMessageLocalServicedynamicQuery - the dynamic query
public long dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
dynamicQueryCount in interface MBMessageLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the query
public MBMessage fetchMBMessage(long messageId)
fetchMBMessage in interface MBMessageLocalService
public MBMessage fetchMBMessageByUuidAndGroupId(String uuid,
long groupId)
fetchMBMessageByUuidAndGroupId in interface MBMessageLocalServiceuuid - the message-boards message's UUIDgroupId - the primary key of the group
null if a matching message-boards message could not be found
public MBMessage getMBMessage(long messageId)
throws PortalException
getMBMessage in interface MBMessageLocalServicemessageId - the primary key of the message-boards message
PortalException - if a message-boards message with the primary key could not be foundpublic ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface MBMessageLocalServicepublic IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface MBMessageLocalServiceprotected void initActionableDynamicQuery(ActionableDynamicQuery actionableDynamicQuery)
public ExportActionableDynamicQuery getExportActionableDynamicQuery(PortletDataContext portletDataContext)
getExportActionableDynamicQuery in interface MBMessageLocalService
public PersistedModel deletePersistedModel(PersistedModel persistedModel)
throws PortalException
deletePersistedModel in interface PersistedModelLocalServicedeletePersistedModel in interface MBMessageLocalServicePortalException
public PersistedModel getPersistedModel(Serializable primaryKeyObj)
throws PortalException
getPersistedModel in interface PersistedModelLocalServicegetPersistedModel in interface MBMessageLocalServicePortalException
public List<MBMessage> getMBMessagesByUuidAndCompanyId(String uuid,
long companyId)
getMBMessagesByUuidAndCompanyId in interface MBMessageLocalServiceuuid - the UUID of the message-boards messagescompanyId - the primary key of the company
public List<MBMessage> getMBMessagesByUuidAndCompanyId(String uuid,
long companyId,
int start,
int end,
OrderByComparator<MBMessage> orderByComparator)
getMBMessagesByUuidAndCompanyId in interface MBMessageLocalServiceuuid - the UUID of the message-boards messagescompanyId - the primary key of the companystart - the lower bound of the range of message-boards messagesend - the upper bound of the range of message-boards messages (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public MBMessage getMBMessageByUuidAndGroupId(String uuid,
long groupId)
throws PortalException
getMBMessageByUuidAndGroupId in interface MBMessageLocalServiceuuid - the message-boards message's UUIDgroupId - the primary key of the group
PortalException - if a matching message-boards message could not be found
public List<MBMessage> getMBMessages(int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to 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 MBMessageModelImpl. 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.
getMBMessages in interface MBMessageLocalServicestart - the lower bound of the range of message-boards messagesend - the upper bound of the range of message-boards messages (not inclusive)
public int getMBMessagesCount()
getMBMessagesCount in interface MBMessageLocalService@Indexable(type=REINDEX) public MBMessage updateMBMessage(MBMessage mbMessage)
updateMBMessage in interface MBMessageLocalServicembMessage - the message-boards message
public MBMessageLocalService getMBMessageLocalService()
public void setMBMessageLocalService(MBMessageLocalService mbMessageLocalService)
mbMessageLocalService - the message-boards message local 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 CounterLocalService getCounterLocalService()
public void setCounterLocalService(CounterLocalService counterLocalService)
counterLocalService - the counter local servicepublic ClassNameLocalService getClassNameLocalService()
public void setClassNameLocalService(ClassNameLocalService classNameLocalService)
classNameLocalService - the class name local servicepublic ClassNamePersistence getClassNamePersistence()
public void setClassNamePersistence(ClassNamePersistence classNamePersistence)
classNamePersistence - the class name persistencepublic CompanyLocalService getCompanyLocalService()
public void setCompanyLocalService(CompanyLocalService companyLocalService)
companyLocalService - the company local servicepublic CompanyPersistence getCompanyPersistence()
public void setCompanyPersistence(CompanyPersistence companyPersistence)
companyPersistence - the company persistencepublic GroupLocalService getGroupLocalService()
public void setGroupLocalService(GroupLocalService groupLocalService)
groupLocalService - the group local servicepublic GroupPersistence getGroupPersistence()
public void setGroupPersistence(GroupPersistence groupPersistence)
groupPersistence - the group persistencepublic GroupFinder getGroupFinder()
public void setGroupFinder(GroupFinder groupFinder)
groupFinder - the group finderpublic PortletPreferencesLocalService getPortletPreferencesLocalService()
public void setPortletPreferencesLocalService(PortletPreferencesLocalService portletPreferencesLocalService)
portletPreferencesLocalService - the portlet preferences local servicepublic PortletPreferencesPersistence getPortletPreferencesPersistence()
public void setPortletPreferencesPersistence(PortletPreferencesPersistence portletPreferencesPersistence)
portletPreferencesPersistence - the portlet preferences persistencepublic PortletPreferencesFinder getPortletPreferencesFinder()
public void setPortletPreferencesFinder(PortletPreferencesFinder portletPreferencesFinder)
portletPreferencesFinder - the portlet preferences 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 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 AssetEntryPersistence getAssetEntryPersistence()
public void setAssetEntryPersistence(AssetEntryPersistence assetEntryPersistence)
assetEntryPersistence - the asset entry persistencepublic AssetEntryFinder getAssetEntryFinder()
public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder)
assetEntryFinder - the asset entry finderpublic AssetLinkLocalService getAssetLinkLocalService()
public void setAssetLinkLocalService(AssetLinkLocalService assetLinkLocalService)
assetLinkLocalService - the asset link local servicepublic AssetLinkPersistence getAssetLinkPersistence()
public void setAssetLinkPersistence(AssetLinkPersistence assetLinkPersistence)
assetLinkPersistence - the asset link persistencepublic AssetTagLocalService getAssetTagLocalService()
public void setAssetTagLocalService(AssetTagLocalService assetTagLocalService)
assetTagLocalService - the asset tag local servicepublic AssetTagPersistence getAssetTagPersistence()
public void setAssetTagPersistence(AssetTagPersistence assetTagPersistence)
assetTagPersistence - the asset tag persistencepublic AssetTagFinder getAssetTagFinder()
public void setAssetTagFinder(AssetTagFinder assetTagFinder)
assetTagFinder - the asset tag finderpublic BlogsEntryLocalService getBlogsEntryLocalService()
public void setBlogsEntryLocalService(BlogsEntryLocalService blogsEntryLocalService)
blogsEntryLocalService - the blogs entry local servicepublic BlogsEntryPersistence getBlogsEntryPersistence()
public void setBlogsEntryPersistence(BlogsEntryPersistence blogsEntryPersistence)
blogsEntryPersistence - the blogs entry persistencepublic BlogsEntryFinder getBlogsEntryFinder()
public void setBlogsEntryFinder(BlogsEntryFinder blogsEntryFinder)
blogsEntryFinder - the blogs entry finderpublic ExpandoRowLocalService getExpandoRowLocalService()
public void setExpandoRowLocalService(ExpandoRowLocalService expandoRowLocalService)
expandoRowLocalService - the expando row local servicepublic ExpandoRowPersistence getExpandoRowPersistence()
public void setExpandoRowPersistence(ExpandoRowPersistence expandoRowPersistence)
expandoRowPersistence - the expando row persistencepublic MBCategoryLocalService getMBCategoryLocalService()
public void setMBCategoryLocalService(MBCategoryLocalService mbCategoryLocalService)
mbCategoryLocalService - the message boards category local 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 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 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 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 void afterPropertiesSet()
public void destroy()
public String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface IdentifiableOSGiServicegetOSGiServiceIdentifier in interface MBMessageLocalServiceprotected Class<?> getModelClass()
protected String getModelClassName()
protected void runSQL(String sql)
sql - the sql query
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||