|
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.PluginSettingLocalServiceBaseImpl
@ProviderType public abstract class PluginSettingLocalServiceBaseImpl
Provides the base implementation for the plugin setting 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 PluginSettingLocalServiceImpl.
PluginSettingLocalServiceImpl,
PluginSettingLocalServiceUtil| Field Summary | |
|---|---|
protected CounterLocalService |
counterLocalService
|
protected LayoutTemplateLocalService |
layoutTemplateLocalService
|
protected PersistedModelLocalServiceRegistry |
persistedModelLocalServiceRegistry
|
protected PluginSettingLocalService |
pluginSettingLocalService
|
protected PluginSettingPersistence |
pluginSettingPersistence
|
protected RoleFinder |
roleFinder
|
protected RoleLocalService |
roleLocalService
|
protected RolePersistence |
rolePersistence
|
protected ThemeLocalService |
themeLocalService
|
protected UserFinder |
userFinder
|
protected UserLocalService |
userLocalService
|
protected UserPersistence |
userPersistence
|
| Constructor Summary | |
|---|---|
PluginSettingLocalServiceBaseImpl()
|
|
| Method Summary | ||
|---|---|---|
PluginSetting |
addPluginSetting(PluginSetting pluginSetting)
Adds the plugin setting to the database. |
|
void |
afterPropertiesSet()
|
|
PluginSetting |
createPluginSetting(long pluginSettingId)
Creates a new plugin setting with the primary key. |
|
PersistedModel |
deletePersistedModel(PersistedModel persistedModel)
|
|
PluginSetting |
deletePluginSetting(long pluginSettingId)
Deletes the plugin setting with the primary key from the database. |
|
PluginSetting |
deletePluginSetting(PluginSetting pluginSetting)
Deletes the plugin setting from the database. |
|
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. |
|
PluginSetting |
fetchPluginSetting(long pluginSettingId)
|
|
ActionableDynamicQuery |
getActionableDynamicQuery()
|
|
CounterLocalService |
getCounterLocalService()
Returns the counter local service. |
|
IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery()
|
|
LayoutTemplateLocalService |
getLayoutTemplateLocalService()
Returns the layout template local service. |
|
protected Class<?> |
getModelClass()
|
|
protected String |
getModelClassName()
|
|
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier. |
|
PersistedModel |
getPersistedModel(Serializable primaryKeyObj)
|
|
PluginSetting |
getPluginSetting(long pluginSettingId)
Returns the plugin setting with the primary key. |
|
PluginSettingLocalService |
getPluginSettingLocalService()
Returns the plugin setting local service. |
|
PluginSettingPersistence |
getPluginSettingPersistence()
Returns the plugin setting persistence. |
|
List<PluginSetting> |
getPluginSettings(int start,
int end)
Returns a range of all the plugin settings. |
|
int |
getPluginSettingsCount()
Returns the number of plugin settings. |
|
RoleFinder |
getRoleFinder()
Returns the role finder. |
|
RoleLocalService |
getRoleLocalService()
Returns the role local service. |
|
RolePersistence |
getRolePersistence()
Returns the role persistence. |
|
ThemeLocalService |
getThemeLocalService()
Returns the theme local service. |
|
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 |
setCounterLocalService(CounterLocalService counterLocalService)
Sets the counter local service. |
|
void |
setLayoutTemplateLocalService(LayoutTemplateLocalService layoutTemplateLocalService)
Sets the layout template local service. |
|
void |
setPluginSettingLocalService(PluginSettingLocalService pluginSettingLocalService)
Sets the plugin setting local service. |
|
void |
setPluginSettingPersistence(PluginSettingPersistence pluginSettingPersistence)
Sets the plugin setting persistence. |
|
void |
setRoleFinder(RoleFinder roleFinder)
Sets the role finder. |
|
void |
setRoleLocalService(RoleLocalService roleLocalService)
Sets the role local service. |
|
void |
setRolePersistence(RolePersistence rolePersistence)
Sets the role persistence. |
|
void |
setThemeLocalService(ThemeLocalService themeLocalService)
Sets the theme local service. |
|
void |
setUserFinder(UserFinder userFinder)
Sets the user finder. |
|
void |
setUserLocalService(UserLocalService userLocalService)
Sets the user local service. |
|
void |
setUserPersistence(UserPersistence userPersistence)
Sets the user persistence. |
|
PluginSetting |
updatePluginSetting(PluginSetting pluginSetting)
Updates the plugin setting 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 |
| Methods inherited from interface com.liferay.portal.service.PluginSettingLocalService |
|---|
checkPermission, getDefaultPluginSetting, getPluginSetting, hasPermission, updatePluginSetting |
| Field Detail |
|---|
@BeanReference(type=PluginSettingLocalService.class) protected PluginSettingLocalService pluginSettingLocalService
@BeanReference(type=PluginSettingPersistence.class) protected PluginSettingPersistence pluginSettingPersistence
@BeanReference(type=CounterLocalService.class) protected CounterLocalService counterLocalService
@BeanReference(type=LayoutTemplateLocalService.class) protected LayoutTemplateLocalService layoutTemplateLocalService
@BeanReference(type=RoleLocalService.class) protected RoleLocalService roleLocalService
@BeanReference(type=RolePersistence.class) protected RolePersistence rolePersistence
@BeanReference(type=RoleFinder.class) protected RoleFinder roleFinder
@BeanReference(type=ThemeLocalService.class) protected ThemeLocalService themeLocalService
@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 PluginSettingLocalServiceBaseImpl()
| Method Detail |
|---|
@Indexable(type=REINDEX) public PluginSetting addPluginSetting(PluginSetting pluginSetting)
addPluginSetting in interface PluginSettingLocalServicepluginSetting - the plugin setting
public PluginSetting createPluginSetting(long pluginSettingId)
createPluginSetting in interface PluginSettingLocalServicepluginSettingId - the primary key for the new plugin setting
@Indexable(type=DELETE)
public PluginSetting deletePluginSetting(long pluginSettingId)
throws PortalException
deletePluginSetting in interface PluginSettingLocalServicepluginSettingId - the primary key of the plugin setting
PortalException - if a plugin setting with the primary key could not be found@Indexable(type=DELETE) public PluginSetting deletePluginSetting(PluginSetting pluginSetting)
deletePluginSetting in interface PluginSettingLocalServicepluginSetting - the plugin setting
public DynamicQuery dynamicQuery()
dynamicQuery in interface PluginSettingLocalServicepublic <T> List<T> dynamicQuery(DynamicQuery dynamicQuery)
dynamicQuery in interface PluginSettingLocalServicedynamicQuery - 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 PluginSettingModelImpl. 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 PluginSettingLocalServicedynamicQuery - 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 PluginSettingModelImpl. 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 PluginSettingLocalServicedynamicQuery - 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 PluginSettingLocalServicedynamicQuery - the dynamic query
public long dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
dynamicQueryCount in interface PluginSettingLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the query
public PluginSetting fetchPluginSetting(long pluginSettingId)
fetchPluginSetting in interface PluginSettingLocalService
public PluginSetting getPluginSetting(long pluginSettingId)
throws PortalException
getPluginSetting in interface PluginSettingLocalServicepluginSettingId - the primary key of the plugin setting
PortalException - if a plugin setting with the primary key could not be foundpublic ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface PluginSettingLocalServicepublic IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface PluginSettingLocalServiceprotected void initActionableDynamicQuery(ActionableDynamicQuery actionableDynamicQuery)
public PersistedModel deletePersistedModel(PersistedModel persistedModel)
throws PortalException
deletePersistedModel in interface PersistedModelLocalServicedeletePersistedModel in interface PluginSettingLocalServicePortalException
public PersistedModel getPersistedModel(Serializable primaryKeyObj)
throws PortalException
getPersistedModel in interface PersistedModelLocalServicegetPersistedModel in interface PluginSettingLocalServicePortalException
public List<PluginSetting> getPluginSettings(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 PluginSettingModelImpl. 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.
getPluginSettings in interface PluginSettingLocalServicestart - the lower bound of the range of plugin settingsend - the upper bound of the range of plugin settings (not inclusive)
public int getPluginSettingsCount()
getPluginSettingsCount in interface PluginSettingLocalService@Indexable(type=REINDEX) public PluginSetting updatePluginSetting(PluginSetting pluginSetting)
updatePluginSetting in interface PluginSettingLocalServicepluginSetting - the plugin setting
public 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 CounterLocalService getCounterLocalService()
public void setCounterLocalService(CounterLocalService counterLocalService)
counterLocalService - the counter local servicepublic LayoutTemplateLocalService getLayoutTemplateLocalService()
public void setLayoutTemplateLocalService(LayoutTemplateLocalService layoutTemplateLocalService)
layoutTemplateLocalService - the layout template local servicepublic RoleLocalService getRoleLocalService()
public void setRoleLocalService(RoleLocalService roleLocalService)
roleLocalService - the role local servicepublic RolePersistence getRolePersistence()
public void setRolePersistence(RolePersistence rolePersistence)
rolePersistence - the role persistencepublic RoleFinder getRoleFinder()
public void setRoleFinder(RoleFinder roleFinder)
roleFinder - the role finderpublic ThemeLocalService getThemeLocalService()
public void setThemeLocalService(ThemeLocalService themeLocalService)
themeLocalService - the theme local servicepublic 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 PluginSettingLocalServiceprotected 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 | |||||||||