|
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.LayoutPrototypeLocalServiceBaseImpl
@ProviderType public abstract class LayoutPrototypeLocalServiceBaseImpl
Provides the base implementation for the layout prototype 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 LayoutPrototypeLocalServiceImpl.
LayoutPrototypeLocalServiceImpl,
LayoutPrototypeLocalServiceUtil| Field Summary | |
|---|---|
protected CounterLocalService |
counterLocalService
|
protected GroupFinder |
groupFinder
|
protected GroupLocalService |
groupLocalService
|
protected GroupPersistence |
groupPersistence
|
protected LayoutFinder |
layoutFinder
|
protected LayoutLocalService |
layoutLocalService
|
protected LayoutPersistence |
layoutPersistence
|
protected LayoutPrototypeLocalService |
layoutPrototypeLocalService
|
protected LayoutPrototypePersistence |
layoutPrototypePersistence
|
protected PersistedModelLocalServiceRegistry |
persistedModelLocalServiceRegistry
|
protected PortletPreferencesFinder |
portletPreferencesFinder
|
protected PortletPreferencesLocalService |
portletPreferencesLocalService
|
protected PortletPreferencesPersistence |
portletPreferencesPersistence
|
protected ResourceLocalService |
resourceLocalService
|
protected UserFinder |
userFinder
|
protected UserLocalService |
userLocalService
|
protected UserPersistence |
userPersistence
|
| Constructor Summary | |
|---|---|
LayoutPrototypeLocalServiceBaseImpl()
|
|
| Method Summary | ||
|---|---|---|
LayoutPrototype |
addLayoutPrototype(LayoutPrototype layoutPrototype)
Adds the layout prototype to the database. |
|
void |
afterPropertiesSet()
|
|
LayoutPrototype |
createLayoutPrototype(long layoutPrototypeId)
Creates a new layout prototype with the primary key. |
|
LayoutPrototype |
deleteLayoutPrototype(LayoutPrototype layoutPrototype)
Deletes the layout prototype from the database. |
|
LayoutPrototype |
deleteLayoutPrototype(long layoutPrototypeId)
Deletes the layout prototype 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. |
|
LayoutPrototype |
fetchLayoutPrototype(long layoutPrototypeId)
|
|
LayoutPrototype |
fetchLayoutPrototypeByUuidAndCompanyId(String uuid,
long companyId)
Returns the layout prototype with the matching UUID and company. |
|
ActionableDynamicQuery |
getActionableDynamicQuery()
|
|
CounterLocalService |
getCounterLocalService()
Returns the counter local service. |
|
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()
|
|
LayoutFinder |
getLayoutFinder()
Returns the layout finder. |
|
LayoutLocalService |
getLayoutLocalService()
Returns the layout local service. |
|
LayoutPersistence |
getLayoutPersistence()
Returns the layout persistence. |
|
LayoutPrototype |
getLayoutPrototype(long layoutPrototypeId)
Returns the layout prototype with the primary key. |
|
LayoutPrototype |
getLayoutPrototypeByUuidAndCompanyId(String uuid,
long companyId)
Returns the layout prototype with the matching UUID and company. |
|
LayoutPrototypeLocalService |
getLayoutPrototypeLocalService()
Returns the layout prototype local service. |
|
LayoutPrototypePersistence |
getLayoutPrototypePersistence()
Returns the layout prototype persistence. |
|
List<LayoutPrototype> |
getLayoutPrototypes(int start,
int end)
Returns a range of all the layout prototypes. |
|
int |
getLayoutPrototypesCount()
Returns the number of layout prototypes. |
|
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. |
|
ResourceLocalService |
getResourceLocalService()
Returns the resource 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 |
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 |
setLayoutFinder(LayoutFinder layoutFinder)
Sets the layout finder. |
|
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 |
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 |
setResourceLocalService(ResourceLocalService resourceLocalService)
Sets the resource 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. |
|
LayoutPrototype |
updateLayoutPrototype(LayoutPrototype layoutPrototype)
Updates the layout prototype 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.LayoutPrototypeLocalService |
|---|
addLayoutPrototype, addLayoutPrototype, addLayoutPrototype, deleteNondefaultLayoutPrototypes, getLayoutPrototypeByUuid, search, searchCount, updateLayoutPrototype, updateLayoutPrototype, updateLayoutPrototype |
| Field Detail |
|---|
@BeanReference(type=LayoutPrototypeLocalService.class) protected LayoutPrototypeLocalService layoutPrototypeLocalService
@BeanReference(type=LayoutPrototypePersistence.class) protected LayoutPrototypePersistence layoutPrototypePersistence
@BeanReference(type=CounterLocalService.class) protected CounterLocalService counterLocalService
@BeanReference(type=GroupLocalService.class) protected GroupLocalService groupLocalService
@BeanReference(type=GroupPersistence.class) protected GroupPersistence groupPersistence
@BeanReference(type=GroupFinder.class) protected GroupFinder groupFinder
@BeanReference(type=LayoutLocalService.class) protected LayoutLocalService layoutLocalService
@BeanReference(type=LayoutPersistence.class) protected LayoutPersistence layoutPersistence
@BeanReference(type=LayoutFinder.class) protected LayoutFinder layoutFinder
@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=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 LayoutPrototypeLocalServiceBaseImpl()
| Method Detail |
|---|
@Indexable(type=REINDEX) public LayoutPrototype addLayoutPrototype(LayoutPrototype layoutPrototype)
addLayoutPrototype in interface LayoutPrototypeLocalServicelayoutPrototype - the layout prototype
public LayoutPrototype createLayoutPrototype(long layoutPrototypeId)
createLayoutPrototype in interface LayoutPrototypeLocalServicelayoutPrototypeId - the primary key for the new layout prototype
@Indexable(type=DELETE)
public LayoutPrototype deleteLayoutPrototype(long layoutPrototypeId)
throws PortalException
deleteLayoutPrototype in interface LayoutPrototypeLocalServicelayoutPrototypeId - the primary key of the layout prototype
PortalException - if a layout prototype with the primary key could not be found
@Indexable(type=DELETE)
public LayoutPrototype deleteLayoutPrototype(LayoutPrototype layoutPrototype)
throws PortalException
deleteLayoutPrototype in interface LayoutPrototypeLocalServicelayoutPrototype - the layout prototype
PortalExceptionpublic DynamicQuery dynamicQuery()
dynamicQuery in interface LayoutPrototypeLocalServicepublic <T> List<T> dynamicQuery(DynamicQuery dynamicQuery)
dynamicQuery in interface LayoutPrototypeLocalServicedynamicQuery - 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 LayoutPrototypeModelImpl. 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 LayoutPrototypeLocalServicedynamicQuery - 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 LayoutPrototypeModelImpl. 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 LayoutPrototypeLocalServicedynamicQuery - 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 LayoutPrototypeLocalServicedynamicQuery - the dynamic query
public long dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
dynamicQueryCount in interface LayoutPrototypeLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the query
public LayoutPrototype fetchLayoutPrototype(long layoutPrototypeId)
fetchLayoutPrototype in interface LayoutPrototypeLocalService
public LayoutPrototype fetchLayoutPrototypeByUuidAndCompanyId(String uuid,
long companyId)
fetchLayoutPrototypeByUuidAndCompanyId in interface LayoutPrototypeLocalServiceuuid - the layout prototype's UUIDcompanyId - the primary key of the company
null if a matching layout prototype could not be found
public LayoutPrototype getLayoutPrototype(long layoutPrototypeId)
throws PortalException
getLayoutPrototype in interface LayoutPrototypeLocalServicelayoutPrototypeId - the primary key of the layout prototype
PortalException - if a layout prototype with the primary key could not be foundpublic ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface LayoutPrototypeLocalServicepublic IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface LayoutPrototypeLocalServiceprotected void initActionableDynamicQuery(ActionableDynamicQuery actionableDynamicQuery)
public ExportActionableDynamicQuery getExportActionableDynamicQuery(PortletDataContext portletDataContext)
getExportActionableDynamicQuery in interface LayoutPrototypeLocalService
public PersistedModel deletePersistedModel(PersistedModel persistedModel)
throws PortalException
deletePersistedModel in interface LayoutPrototypeLocalServicedeletePersistedModel in interface PersistedModelLocalServicePortalException
public PersistedModel getPersistedModel(Serializable primaryKeyObj)
throws PortalException
getPersistedModel in interface LayoutPrototypeLocalServicegetPersistedModel in interface PersistedModelLocalServicePortalException
public LayoutPrototype getLayoutPrototypeByUuidAndCompanyId(String uuid,
long companyId)
throws PortalException
getLayoutPrototypeByUuidAndCompanyId in interface LayoutPrototypeLocalServiceuuid - the layout prototype's UUIDcompanyId - the primary key of the company
PortalException - if a matching layout prototype could not be found
public List<LayoutPrototype> getLayoutPrototypes(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 LayoutPrototypeModelImpl. 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.
getLayoutPrototypes in interface LayoutPrototypeLocalServicestart - the lower bound of the range of layout prototypesend - the upper bound of the range of layout prototypes (not inclusive)
public int getLayoutPrototypesCount()
getLayoutPrototypesCount in interface LayoutPrototypeLocalService@Indexable(type=REINDEX) public LayoutPrototype updateLayoutPrototype(LayoutPrototype layoutPrototype)
updateLayoutPrototype in interface LayoutPrototypeLocalServicelayoutPrototype - the layout prototype
public 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 CounterLocalService getCounterLocalService()
public void setCounterLocalService(CounterLocalService counterLocalService)
counterLocalService - the counter local servicepublic 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 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 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 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 LayoutPrototypeLocalServiceprotected 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 | |||||||||