|
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.portal.service.base.LayoutLocalServiceBaseImpl
@ProviderType public abstract class LayoutLocalServiceBaseImpl
Provides the base implementation for the layout 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 LayoutLocalServiceImpl.
LayoutLocalServiceImpl,
LayoutLocalServiceUtil| Constructor Summary | |
|---|---|
LayoutLocalServiceBaseImpl()
|
|
| Method Summary | ||
|---|---|---|
Layout |
addLayout(Layout layout)
Adds the layout to the database. |
|
void |
afterPropertiesSet()
|
|
Layout |
createLayout(long plid)
Creates a new layout with the primary key. |
|
Layout |
deleteLayout(Layout layout)
Deletes the layout from the database. |
|
Layout |
deleteLayout(long plid)
Deletes the layout with the primary key 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. |
|
Layout |
fetchLayout(long plid)
|
|
Layout |
fetchLayoutByUuidAndGroupId(String uuid,
long groupId,
boolean privateLayout)
Returns the layout matching the UUID, group, and privacy. |
|
ActionableDynamicQuery |
getActionableDynamicQuery()
|
|
AssetCategoryFinder |
getAssetCategoryFinder()
Returns the asset category finder. |
|
AssetCategoryLocalService |
getAssetCategoryLocalService()
Returns the asset category local service. |
|
AssetCategoryPersistence |
getAssetCategoryPersistence()
Returns the asset category persistence. |
|
AssetEntryFinder |
getAssetEntryFinder()
Returns the asset entry finder. |
|
AssetEntryLocalService |
getAssetEntryLocalService()
Returns the asset entry local service. |
|
AssetEntryPersistence |
getAssetEntryPersistence()
Returns the asset entry persistence. |
|
AssetTagFinder |
getAssetTagFinder()
Returns the asset tag finder. |
|
AssetTagLocalService |
getAssetTagLocalService()
Returns the asset tag local service. |
|
AssetTagPersistence |
getAssetTagPersistence()
Returns the asset tag persistence. |
|
ClassNameLocalService |
getClassNameLocalService()
Returns the class name local service. |
|
ClassNamePersistence |
getClassNamePersistence()
Returns the class name 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)
|
|
ExportImportConfigurationLocalService |
getExportImportConfigurationLocalService()
Returns the export import configuration local service. |
|
ExportImportConfigurationPersistence |
getExportImportConfigurationPersistence()
Returns the export import configuration persistence. |
|
GroupFinder |
getGroupFinder()
Returns the group finder. |
|
GroupLocalService |
getGroupLocalService()
Returns the group local service. |
|
GroupPersistence |
getGroupPersistence()
Returns the group persistence. |
|
ImageLocalService |
getImageLocalService()
Returns the image local service. |
|
ImagePersistence |
getImagePersistence()
Returns the image persistence. |
|
IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery()
|
|
Layout |
getLayout(long plid)
Returns the layout with the primary key. |
|
Layout |
getLayoutByUuidAndGroupId(String uuid,
long groupId,
boolean privateLayout)
Returns the layout matching the UUID, group, and privacy. |
|
LayoutFinder |
getLayoutFinder()
Returns the layout finder. |
|
LayoutFriendlyURLLocalService |
getLayoutFriendlyURLLocalService()
Returns the layout friendly u r l local service. |
|
LayoutFriendlyURLPersistence |
getLayoutFriendlyURLPersistence()
Returns the layout friendly u r l persistence. |
|
LayoutLocalService |
getLayoutLocalService()
Returns the layout local service. |
|
LayoutPersistence |
getLayoutPersistence()
Returns the layout persistence. |
|
LayoutPrototypeLocalService |
getLayoutPrototypeLocalService()
Returns the layout prototype local service. |
|
LayoutPrototypePersistence |
getLayoutPrototypePersistence()
Returns the layout prototype persistence. |
|
List<Layout> |
getLayouts(int start,
int end)
Returns a range of all the layouts. |
|
List<Layout> |
getLayoutsByUuidAndCompanyId(String uuid,
long companyId)
Returns all the layouts matching the UUID and company. |
|
List<Layout> |
getLayoutsByUuidAndCompanyId(String uuid,
long companyId,
int start,
int end,
OrderByComparator<Layout> orderByComparator)
Returns a range of layouts matching the UUID and company. |
|
int |
getLayoutsCount()
Returns the number of layouts. |
|
LayoutSetLocalService |
getLayoutSetLocalService()
Returns the layout set local service. |
|
LayoutSetPersistence |
getLayoutSetPersistence()
Returns the layout set persistence. |
|
LayoutSetPrototypeLocalService |
getLayoutSetPrototypeLocalService()
Returns the layout set prototype local service. |
|
LayoutSetPrototypePersistence |
getLayoutSetPrototypePersistence()
Returns the layout set prototype persistence. |
|
protected Class<?> |
getModelClass()
|
|
protected String |
getModelClassName()
|
|
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier. |
|
PersistedModel |
getPersistedModel(Serializable primaryKeyObj)
|
|
PluginSettingLocalService |
getPluginSettingLocalService()
Returns the plugin setting local service. |
|
PluginSettingPersistence |
getPluginSettingPersistence()
Returns the plugin setting persistence. |
|
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. |
|
ResourcePermissionFinder |
getResourcePermissionFinder()
Returns the resource permission finder. |
|
ResourcePermissionLocalService |
getResourcePermissionLocalService()
Returns the resource permission local service. |
|
ResourcePermissionPersistence |
getResourcePermissionPersistence()
Returns the resource permission persistence. |
|
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. |
|
protected void |
initActionableDynamicQuery(ActionableDynamicQuery actionableDynamicQuery)
|
|
protected void |
runSQL(String sql)
Performs a SQL query. |
|
void |
setAssetCategoryFinder(AssetCategoryFinder assetCategoryFinder)
Sets the asset category finder. |
|
void |
setAssetCategoryLocalService(AssetCategoryLocalService assetCategoryLocalService)
Sets the asset category local service. |
|
void |
setAssetCategoryPersistence(AssetCategoryPersistence assetCategoryPersistence)
Sets the asset category persistence. |
|
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 |
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 |
setClassNameLocalService(ClassNameLocalService classNameLocalService)
Sets the class name local service. |
|
void |
setClassNamePersistence(ClassNamePersistence classNamePersistence)
Sets the class name 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 |
setExportImportConfigurationLocalService(ExportImportConfigurationLocalService exportImportConfigurationLocalService)
Sets the export import configuration local service. |
|
void |
setExportImportConfigurationPersistence(ExportImportConfigurationPersistence exportImportConfigurationPersistence)
Sets the export import configuration 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 |
setImageLocalService(ImageLocalService imageLocalService)
Sets the image local service. |
|
void |
setImagePersistence(ImagePersistence imagePersistence)
Sets the image persistence. |
|
void |
setLayoutFinder(LayoutFinder layoutFinder)
Sets the layout finder. |
|
void |
setLayoutFriendlyURLLocalService(LayoutFriendlyURLLocalService layoutFriendlyURLLocalService)
Sets the layout friendly u r l local service. |
|
void |
setLayoutFriendlyURLPersistence(LayoutFriendlyURLPersistence layoutFriendlyURLPersistence)
Sets the layout friendly u r l persistence. |
|
void |
setLayoutLocalService(LayoutLocalService layoutLocalService)
Sets the layout local service. |
|
void |
setLayoutPersistence(LayoutPersistence layoutPersistence)
Sets the layout persistence. |
|
void |
setLayoutPrototypeLocalService(LayoutPrototypeLocalService layoutPrototypeLocalService)
Sets the layout prototype local service. |
|
void |
setLayoutPrototypePersistence(LayoutPrototypePersistence layoutPrototypePersistence)
Sets the layout prototype persistence. |
|
void |
setLayoutSetLocalService(LayoutSetLocalService layoutSetLocalService)
Sets the layout set local service. |
|
void |
setLayoutSetPersistence(LayoutSetPersistence layoutSetPersistence)
Sets the layout set persistence. |
|
void |
setLayoutSetPrototypeLocalService(LayoutSetPrototypeLocalService layoutSetPrototypeLocalService)
Sets the layout set prototype local service. |
|
void |
setLayoutSetPrototypePersistence(LayoutSetPrototypePersistence layoutSetPrototypePersistence)
Sets the layout set prototype persistence. |
|
void |
setPluginSettingLocalService(PluginSettingLocalService pluginSettingLocalService)
Sets the plugin setting local service. |
|
void |
setPluginSettingPersistence(PluginSettingPersistence pluginSettingPersistence)
Sets the plugin setting 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 |
setResourcePermissionFinder(ResourcePermissionFinder resourcePermissionFinder)
Sets the resource permission finder. |
|
void |
setResourcePermissionLocalService(ResourcePermissionLocalService resourcePermissionLocalService)
Sets the resource permission local service. |
|
void |
setResourcePermissionPersistence(ResourcePermissionPersistence resourcePermissionPersistence)
Sets the resource permission persistence. |
|
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. |
|
Layout |
updateLayout(Layout layout)
Updates the layout 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=LayoutLocalService.class) protected LayoutLocalService layoutLocalService
@BeanReference(type=LayoutPersistence.class) protected LayoutPersistence layoutPersistence
@BeanReference(type=LayoutFinder.class) protected LayoutFinder layoutFinder
@BeanReference(type=CounterLocalService.class) protected CounterLocalService counterLocalService
@BeanReference(type=ClassNameLocalService.class) protected ClassNameLocalService classNameLocalService
@BeanReference(type=ClassNamePersistence.class) protected ClassNamePersistence classNamePersistence
@BeanReference(type=GroupLocalService.class) protected GroupLocalService groupLocalService
@BeanReference(type=GroupPersistence.class) protected GroupPersistence groupPersistence
@BeanReference(type=GroupFinder.class) protected GroupFinder groupFinder
@BeanReference(type=ImageLocalService.class) protected ImageLocalService imageLocalService
@BeanReference(type=ImagePersistence.class) protected ImagePersistence imagePersistence
@BeanReference(type=AssetCategoryLocalService.class) protected AssetCategoryLocalService assetCategoryLocalService
@BeanReference(type=AssetCategoryPersistence.class) protected AssetCategoryPersistence assetCategoryPersistence
@BeanReference(type=AssetCategoryFinder.class) protected AssetCategoryFinder assetCategoryFinder
@BeanReference(type=AssetEntryLocalService.class) protected AssetEntryLocalService assetEntryLocalService
@BeanReference(type=AssetEntryPersistence.class) protected AssetEntryPersistence assetEntryPersistence
@BeanReference(type=AssetEntryFinder.class) protected AssetEntryFinder assetEntryFinder
@BeanReference(type=AssetTagLocalService.class) protected AssetTagLocalService assetTagLocalService
@BeanReference(type=AssetTagPersistence.class) protected AssetTagPersistence assetTagPersistence
@BeanReference(type=AssetTagFinder.class) protected AssetTagFinder assetTagFinder
@BeanReference(type=ExpandoRowLocalService.class) protected ExpandoRowLocalService expandoRowLocalService
@BeanReference(type=ExpandoRowPersistence.class) protected ExpandoRowPersistence expandoRowPersistence
@BeanReference(type=ExportImportConfigurationLocalService.class) protected ExportImportConfigurationLocalService exportImportConfigurationLocalService
@BeanReference(type=ExportImportConfigurationPersistence.class) protected ExportImportConfigurationPersistence exportImportConfigurationPersistence
@BeanReference(type=RatingsStatsLocalService.class) protected RatingsStatsLocalService ratingsStatsLocalService
@BeanReference(type=RatingsStatsPersistence.class) protected RatingsStatsPersistence ratingsStatsPersistence
@BeanReference(type=RatingsStatsFinder.class) protected RatingsStatsFinder ratingsStatsFinder
@BeanReference(type=LayoutFriendlyURLLocalService.class) protected LayoutFriendlyURLLocalService layoutFriendlyURLLocalService
@BeanReference(type=LayoutFriendlyURLPersistence.class) protected LayoutFriendlyURLPersistence layoutFriendlyURLPersistence
@BeanReference(type=LayoutPrototypeLocalService.class) protected LayoutPrototypeLocalService layoutPrototypeLocalService
@BeanReference(type=LayoutPrototypePersistence.class) protected LayoutPrototypePersistence layoutPrototypePersistence
@BeanReference(type=LayoutSetLocalService.class) protected LayoutSetLocalService layoutSetLocalService
@BeanReference(type=LayoutSetPersistence.class) protected LayoutSetPersistence layoutSetPersistence
@BeanReference(type=LayoutSetPrototypeLocalService.class) protected LayoutSetPrototypeLocalService layoutSetPrototypeLocalService
@BeanReference(type=LayoutSetPrototypePersistence.class) protected LayoutSetPrototypePersistence layoutSetPrototypePersistence
@BeanReference(type=PluginSettingLocalService.class) protected PluginSettingLocalService pluginSettingLocalService
@BeanReference(type=PluginSettingPersistence.class) protected PluginSettingPersistence pluginSettingPersistence
@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=ResourcePermissionLocalService.class) protected ResourcePermissionLocalService resourcePermissionLocalService
@BeanReference(type=ResourcePermissionPersistence.class) protected ResourcePermissionPersistence resourcePermissionPersistence
@BeanReference(type=ResourcePermissionFinder.class) protected ResourcePermissionFinder resourcePermissionFinder
@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=PersistedModelLocalServiceRegistry.class) protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
| Constructor Detail |
|---|
public LayoutLocalServiceBaseImpl()
| Method Detail |
|---|
@Indexable(type=REINDEX) public Layout addLayout(Layout layout)
addLayout in interface LayoutLocalServicelayout - the layout
public Layout createLayout(long plid)
createLayout in interface LayoutLocalServiceplid - the primary key for the new layout
@Indexable(type=DELETE)
public Layout deleteLayout(long plid)
throws PortalException
deleteLayout in interface LayoutLocalServiceplid - the primary key of the layout
PortalException - if a layout with the primary key could not be found@Indexable(type=DELETE) public Layout deleteLayout(Layout layout)
deleteLayout in interface LayoutLocalServicelayout - the layout
public DynamicQuery dynamicQuery()
dynamicQuery in interface LayoutLocalServicepublic <T> List<T> dynamicQuery(DynamicQuery dynamicQuery)
dynamicQuery in interface LayoutLocalServicedynamicQuery - 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 LayoutModelImpl. 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 LayoutLocalServicedynamicQuery - 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 LayoutModelImpl. 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 LayoutLocalServicedynamicQuery - 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 LayoutLocalServicedynamicQuery - the dynamic query
public long dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
dynamicQueryCount in interface LayoutLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the query
public Layout fetchLayout(long plid)
fetchLayout in interface LayoutLocalService
public Layout fetchLayoutByUuidAndGroupId(String uuid,
long groupId,
boolean privateLayout)
fetchLayoutByUuidAndGroupId in interface LayoutLocalServiceuuid - the layout's UUIDgroupId - the primary key of the groupprivateLayout - whether the layout is private to the group
null if a matching layout could not be found
public Layout getLayout(long plid)
throws PortalException
getLayout in interface LayoutLocalServiceplid - the primary key of the layout
PortalException - if a layout with the primary key could not be foundpublic ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface LayoutLocalServicepublic IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface LayoutLocalServiceprotected void initActionableDynamicQuery(ActionableDynamicQuery actionableDynamicQuery)
public ExportActionableDynamicQuery getExportActionableDynamicQuery(PortletDataContext portletDataContext)
getExportActionableDynamicQuery in interface LayoutLocalService
public PersistedModel deletePersistedModel(PersistedModel persistedModel)
throws PortalException
deletePersistedModel in interface LayoutLocalServicedeletePersistedModel in interface PersistedModelLocalServicePortalException
public PersistedModel getPersistedModel(Serializable primaryKeyObj)
throws PortalException
getPersistedModel in interface LayoutLocalServicegetPersistedModel in interface PersistedModelLocalServicePortalException
public List<Layout> getLayoutsByUuidAndCompanyId(String uuid,
long companyId)
getLayoutsByUuidAndCompanyId in interface LayoutLocalServiceuuid - the UUID of the layoutscompanyId - the primary key of the company
public List<Layout> getLayoutsByUuidAndCompanyId(String uuid,
long companyId,
int start,
int end,
OrderByComparator<Layout> orderByComparator)
getLayoutsByUuidAndCompanyId in interface LayoutLocalServiceuuid - the UUID of the layoutscompanyId - the primary key of the companystart - the lower bound of the range of layoutsend - the upper bound of the range of layouts (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public Layout getLayoutByUuidAndGroupId(String uuid,
long groupId,
boolean privateLayout)
throws PortalException
getLayoutByUuidAndGroupId in interface LayoutLocalServiceuuid - the layout's UUIDgroupId - the primary key of the groupprivateLayout - whether the layout is private to the group
PortalException - if a matching layout could not be found
public List<Layout> getLayouts(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 LayoutModelImpl. 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.
getLayouts in interface LayoutLocalServicestart - the lower bound of the range of layoutsend - the upper bound of the range of layouts (not inclusive)
public int getLayoutsCount()
getLayoutsCount in interface LayoutLocalService@Indexable(type=REINDEX) public Layout updateLayout(Layout layout)
updateLayout in interface LayoutLocalServicelayout - the layout
public LayoutLocalService getLayoutLocalService()
public void setLayoutLocalService(LayoutLocalService layoutLocalService)
layoutLocalService - the layout local servicepublic LayoutPersistence getLayoutPersistence()
public void setLayoutPersistence(LayoutPersistence layoutPersistence)
layoutPersistence - the layout persistencepublic LayoutFinder getLayoutFinder()
public void setLayoutFinder(LayoutFinder layoutFinder)
layoutFinder - the layout 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 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 ImageLocalService getImageLocalService()
public void setImageLocalService(ImageLocalService imageLocalService)
imageLocalService - the image local servicepublic ImagePersistence getImagePersistence()
public void setImagePersistence(ImagePersistence imagePersistence)
imagePersistence - the image persistencepublic AssetCategoryLocalService getAssetCategoryLocalService()
public void setAssetCategoryLocalService(AssetCategoryLocalService assetCategoryLocalService)
assetCategoryLocalService - the asset category local servicepublic AssetCategoryPersistence getAssetCategoryPersistence()
public void setAssetCategoryPersistence(AssetCategoryPersistence assetCategoryPersistence)
assetCategoryPersistence - the asset category persistencepublic AssetCategoryFinder getAssetCategoryFinder()
public void setAssetCategoryFinder(AssetCategoryFinder assetCategoryFinder)
assetCategoryFinder - the asset category finderpublic 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 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 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 ExportImportConfigurationLocalService getExportImportConfigurationLocalService()
public void setExportImportConfigurationLocalService(ExportImportConfigurationLocalService exportImportConfigurationLocalService)
exportImportConfigurationLocalService - the export import configuration local servicepublic ExportImportConfigurationPersistence getExportImportConfigurationPersistence()
public void setExportImportConfigurationPersistence(ExportImportConfigurationPersistence exportImportConfigurationPersistence)
exportImportConfigurationPersistence - the export import configuration 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 LayoutFriendlyURLLocalService getLayoutFriendlyURLLocalService()
public void setLayoutFriendlyURLLocalService(LayoutFriendlyURLLocalService layoutFriendlyURLLocalService)
layoutFriendlyURLLocalService - the layout friendly u r l local servicepublic LayoutFriendlyURLPersistence getLayoutFriendlyURLPersistence()
public void setLayoutFriendlyURLPersistence(LayoutFriendlyURLPersistence layoutFriendlyURLPersistence)
layoutFriendlyURLPersistence - the layout friendly u r l persistencepublic LayoutPrototypeLocalService getLayoutPrototypeLocalService()
public void setLayoutPrototypeLocalService(LayoutPrototypeLocalService layoutPrototypeLocalService)
layoutPrototypeLocalService - the layout prototype local servicepublic LayoutPrototypePersistence getLayoutPrototypePersistence()
public void setLayoutPrototypePersistence(LayoutPrototypePersistence layoutPrototypePersistence)
layoutPrototypePersistence - the layout prototype persistencepublic LayoutSetLocalService getLayoutSetLocalService()
public void setLayoutSetLocalService(LayoutSetLocalService layoutSetLocalService)
layoutSetLocalService - the layout set local servicepublic LayoutSetPersistence getLayoutSetPersistence()
public void setLayoutSetPersistence(LayoutSetPersistence layoutSetPersistence)
layoutSetPersistence - the layout set persistencepublic LayoutSetPrototypeLocalService getLayoutSetPrototypeLocalService()
public void setLayoutSetPrototypeLocalService(LayoutSetPrototypeLocalService layoutSetPrototypeLocalService)
layoutSetPrototypeLocalService - the layout set prototype local servicepublic LayoutSetPrototypePersistence getLayoutSetPrototypePersistence()
public void setLayoutSetPrototypePersistence(LayoutSetPrototypePersistence layoutSetPrototypePersistence)
layoutSetPrototypePersistence - the layout set prototype persistencepublic PluginSettingLocalService getPluginSettingLocalService()
public void setPluginSettingLocalService(PluginSettingLocalService pluginSettingLocalService)
pluginSettingLocalService - the plugin setting local servicepublic PluginSettingPersistence getPluginSettingPersistence()
public void setPluginSettingPersistence(PluginSettingPersistence pluginSettingPersistence)
pluginSettingPersistence - the plugin setting persistencepublic 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 ResourcePermissionLocalService getResourcePermissionLocalService()
public void setResourcePermissionLocalService(ResourcePermissionLocalService resourcePermissionLocalService)
resourcePermissionLocalService - the resource permission local servicepublic ResourcePermissionPersistence getResourcePermissionPersistence()
public void setResourcePermissionPersistence(ResourcePermissionPersistence resourcePermissionPersistence)
resourcePermissionPersistence - the resource permission persistencepublic ResourcePermissionFinder getResourcePermissionFinder()
public void setResourcePermissionFinder(ResourcePermissionFinder resourcePermissionFinder)
resourcePermissionFinder - the resource permission finderpublic 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 void afterPropertiesSet()
public void destroy()
public String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface IdentifiableOSGiServicegetOSGiServiceIdentifier in interface LayoutLocalServiceprotected 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 | |||||||||