@ProviderType public class LayoutSetPrototypeLocalServiceWrapper extends java.lang.Object implements LayoutSetPrototypeLocalService, ServiceWrapper<LayoutSetPrototypeLocalService>
LayoutSetPrototypeLocalService.LayoutSetPrototypeLocalService| Constructor and Description |
|---|
LayoutSetPrototypeLocalServiceWrapper(LayoutSetPrototypeLocalService layoutSetPrototypeLocalService) |
| Modifier and Type | Method and Description |
|---|---|
LayoutSetPrototype |
addLayoutSetPrototype(LayoutSetPrototype layoutSetPrototype)
Adds the layout set prototype to the database.
|
LayoutSetPrototype |
addLayoutSetPrototype(long userId,
long companyId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.lang.String description,
boolean active,
boolean layoutsUpdateable,
ServiceContext serviceContext) |
LayoutSetPrototype |
createLayoutSetPrototype(long layoutSetPrototypeId)
Creates a new layout set prototype with the primary key.
|
LayoutSetPrototype |
deleteLayoutSetPrototype(LayoutSetPrototype layoutSetPrototype)
Deletes the layout set prototype from the database.
|
LayoutSetPrototype |
deleteLayoutSetPrototype(long layoutSetPrototypeId)
Deletes the layout set prototype with the primary key from the database.
|
void |
deleteNondefaultLayoutSetPrototypes(long companyId) |
DynamicQuery |
dynamicQuery() |
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows.
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows.
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
Returns the number of rows that match the dynamic query.
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
Returns the number of rows that match the dynamic query.
|
LayoutSetPrototype |
fetchLayoutSetPrototype(long layoutSetPrototypeId) |
LayoutSetPrototype |
fetchLayoutSetPrototypeByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns the layout set prototype with the matching UUID and company.
|
java.lang.String |
getBeanIdentifier()
Returns the Spring bean ID for this bean.
|
LayoutSetPrototype |
getLayoutSetPrototype(long layoutSetPrototypeId)
Returns the layout set prototype with the primary key.
|
LayoutSetPrototype |
getLayoutSetPrototypeByUuid(java.lang.String uuid)
Deprecated.
As of 6.2.0, replaced by
getLayoutSetPrototypeByUuidAndCompanyId(String, long) |
LayoutSetPrototype |
getLayoutSetPrototypeByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns the layout set prototype with the matching UUID and company.
|
java.util.List<LayoutSetPrototype> |
getLayoutSetPrototypes(int start,
int end)
Returns a range of all the layout set prototypes.
|
java.util.List<LayoutSetPrototype> |
getLayoutSetPrototypes(long companyId) |
int |
getLayoutSetPrototypesCount()
Returns the number of layout set prototypes.
|
PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
LayoutSetPrototypeLocalService |
getWrappedLayoutSetPrototypeLocalService()
Deprecated.
As of 6.1.0, replaced by
getWrappedService() |
LayoutSetPrototypeLocalService |
getWrappedService() |
java.util.List<LayoutSetPrototype> |
search(long companyId,
java.lang.Boolean active,
int start,
int end,
OrderByComparator obc) |
int |
searchCount(long companyId,
java.lang.Boolean active) |
void |
setBeanIdentifier(java.lang.String beanIdentifier)
Sets the Spring bean ID for this bean.
|
void |
setWrappedLayoutSetPrototypeLocalService(LayoutSetPrototypeLocalService layoutSetPrototypeLocalService)
Deprecated.
As of 6.1.0, replaced by
setWrappedService(com.liferay.portal.service.LayoutSetPrototypeLocalService) |
void |
setWrappedService(LayoutSetPrototypeLocalService layoutSetPrototypeLocalService) |
LayoutSetPrototype |
updateLayoutSetPrototype(LayoutSetPrototype layoutSetPrototype)
Updates the layout set prototype in the database or adds it if it does not yet exist.
|
LayoutSetPrototype |
updateLayoutSetPrototype(long layoutSetPrototypeId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.lang.String description,
boolean active,
boolean layoutsUpdateable,
ServiceContext serviceContext) |
LayoutSetPrototype |
updateLayoutSetPrototype(long layoutSetPrototypeId,
java.lang.String settings) |
public LayoutSetPrototypeLocalServiceWrapper(LayoutSetPrototypeLocalService layoutSetPrototypeLocalService)
public LayoutSetPrototype addLayoutSetPrototype(LayoutSetPrototype layoutSetPrototype) throws SystemException
addLayoutSetPrototype in interface LayoutSetPrototypeLocalServicelayoutSetPrototype - the layout set prototypeSystemException - if a system exception occurredpublic LayoutSetPrototype createLayoutSetPrototype(long layoutSetPrototypeId)
createLayoutSetPrototype in interface LayoutSetPrototypeLocalServicelayoutSetPrototypeId - the primary key for the new layout set prototypepublic LayoutSetPrototype deleteLayoutSetPrototype(long layoutSetPrototypeId) throws PortalException, SystemException
deleteLayoutSetPrototype in interface LayoutSetPrototypeLocalServicelayoutSetPrototypeId - the primary key of the layout set prototypePortalException - if a layout set prototype with the primary key could not be foundSystemException - if a system exception occurredpublic LayoutSetPrototype deleteLayoutSetPrototype(LayoutSetPrototype layoutSetPrototype) throws PortalException, SystemException
deleteLayoutSetPrototype in interface LayoutSetPrototypeLocalServicelayoutSetPrototype - the layout set prototypePortalExceptionSystemException - if a system exception occurredpublic DynamicQuery dynamicQuery()
dynamicQuery in interface LayoutSetPrototypeLocalServicepublic java.util.List dynamicQuery(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery in interface LayoutSetPrototypeLocalServicedynamicQuery - the dynamic querySystemException - if a system exception occurredpublic java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutSetPrototypeModelImpl. 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 LayoutSetPrototypeLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)SystemException - if a system exception occurredpublic java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutSetPrototypeModelImpl. 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 LayoutSetPrototypeLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic long dynamicQueryCount(DynamicQuery dynamicQuery) throws SystemException
dynamicQueryCount in interface LayoutSetPrototypeLocalServicedynamicQuery - the dynamic querySystemException - if a system exception occurredpublic long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection) throws SystemException
dynamicQueryCount in interface LayoutSetPrototypeLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querySystemException - if a system exception occurredpublic LayoutSetPrototype fetchLayoutSetPrototype(long layoutSetPrototypeId) throws SystemException
fetchLayoutSetPrototype in interface LayoutSetPrototypeLocalServiceSystemExceptionpublic LayoutSetPrototype fetchLayoutSetPrototypeByUuidAndCompanyId(java.lang.String uuid, long companyId) throws SystemException
fetchLayoutSetPrototypeByUuidAndCompanyId in interface LayoutSetPrototypeLocalServiceuuid - the layout set prototype's UUIDcompanyId - the primary key of the companynull if a matching layout set prototype could not be foundSystemException - if a system exception occurredpublic LayoutSetPrototype getLayoutSetPrototype(long layoutSetPrototypeId) throws PortalException, SystemException
getLayoutSetPrototype in interface LayoutSetPrototypeLocalServicelayoutSetPrototypeId - the primary key of the layout set prototypePortalException - if a layout set prototype with the primary key could not be foundSystemException - if a system exception occurredpublic PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws PortalException, SystemException
getPersistedModel in interface LayoutSetPrototypeLocalServicegetPersistedModel in interface PersistedModelLocalServicePortalExceptionSystemExceptionpublic LayoutSetPrototype getLayoutSetPrototypeByUuidAndCompanyId(java.lang.String uuid, long companyId) throws PortalException, SystemException
getLayoutSetPrototypeByUuidAndCompanyId in interface LayoutSetPrototypeLocalServiceuuid - the layout set prototype's UUIDcompanyId - the primary key of the companyPortalException - if a matching layout set prototype could not be foundSystemException - if a system exception occurredpublic java.util.List<LayoutSetPrototype> getLayoutSetPrototypes(int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutSetPrototypeModelImpl. 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.
getLayoutSetPrototypes in interface LayoutSetPrototypeLocalServicestart - the lower bound of the range of layout set prototypesend - the upper bound of the range of layout set prototypes (not inclusive)SystemException - if a system exception occurredpublic int getLayoutSetPrototypesCount()
throws SystemException
getLayoutSetPrototypesCount in interface LayoutSetPrototypeLocalServiceSystemException - if a system exception occurredpublic LayoutSetPrototype updateLayoutSetPrototype(LayoutSetPrototype layoutSetPrototype) throws SystemException
updateLayoutSetPrototype in interface LayoutSetPrototypeLocalServicelayoutSetPrototype - the layout set prototypeSystemException - if a system exception occurredpublic java.lang.String getBeanIdentifier()
getBeanIdentifier in interface LayoutSetPrototypeLocalServicepublic void setBeanIdentifier(java.lang.String beanIdentifier)
setBeanIdentifier in interface LayoutSetPrototypeLocalServicebeanIdentifier - the Spring bean ID for this beanpublic LayoutSetPrototype addLayoutSetPrototype(long userId, long companyId, java.util.Map<java.util.Locale,java.lang.String> nameMap, java.lang.String description, boolean active, boolean layoutsUpdateable, ServiceContext serviceContext) throws PortalException, SystemException
addLayoutSetPrototype in interface LayoutSetPrototypeLocalServicePortalExceptionSystemExceptionpublic void deleteNondefaultLayoutSetPrototypes(long companyId)
throws PortalException,
SystemException
deleteNondefaultLayoutSetPrototypes in interface LayoutSetPrototypeLocalServicePortalExceptionSystemExceptionpublic LayoutSetPrototype getLayoutSetPrototypeByUuid(java.lang.String uuid) throws PortalException, SystemException
getLayoutSetPrototypeByUuidAndCompanyId(String, long)getLayoutSetPrototypeByUuid in interface LayoutSetPrototypeLocalServicePortalExceptionSystemExceptionpublic java.util.List<LayoutSetPrototype> getLayoutSetPrototypes(long companyId) throws SystemException
getLayoutSetPrototypes in interface LayoutSetPrototypeLocalServiceSystemExceptionpublic java.util.List<LayoutSetPrototype> search(long companyId, java.lang.Boolean active, int start, int end, OrderByComparator obc) throws SystemException
search in interface LayoutSetPrototypeLocalServiceSystemExceptionpublic int searchCount(long companyId,
java.lang.Boolean active)
throws SystemException
searchCount in interface LayoutSetPrototypeLocalServiceSystemExceptionpublic LayoutSetPrototype updateLayoutSetPrototype(long layoutSetPrototypeId, java.util.Map<java.util.Locale,java.lang.String> nameMap, java.lang.String description, boolean active, boolean layoutsUpdateable, ServiceContext serviceContext) throws PortalException, SystemException
updateLayoutSetPrototype in interface LayoutSetPrototypeLocalServicePortalExceptionSystemExceptionpublic LayoutSetPrototype updateLayoutSetPrototype(long layoutSetPrototypeId, java.lang.String settings) throws PortalException, SystemException
updateLayoutSetPrototype in interface LayoutSetPrototypeLocalServicePortalExceptionSystemExceptionpublic LayoutSetPrototypeLocalService getWrappedLayoutSetPrototypeLocalService()
getWrappedService()public void setWrappedLayoutSetPrototypeLocalService(LayoutSetPrototypeLocalService layoutSetPrototypeLocalService)
setWrappedService(com.liferay.portal.service.LayoutSetPrototypeLocalService)public LayoutSetPrototypeLocalService getWrappedService()
getWrappedService in interface ServiceWrapper<LayoutSetPrototypeLocalService>public void setWrappedService(LayoutSetPrototypeLocalService layoutSetPrototypeLocalService)
setWrappedService in interface ServiceWrapper<LayoutSetPrototypeLocalService>