@ProviderType public class LayoutRevisionLocalServiceWrapper extends java.lang.Object implements LayoutRevisionLocalService, ServiceWrapper<LayoutRevisionLocalService>
LayoutRevisionLocalService.LayoutRevisionLocalService| Constructor and Description |
|---|
LayoutRevisionLocalServiceWrapper(LayoutRevisionLocalService layoutRevisionLocalService) |
| Modifier and Type | Method and Description |
|---|---|
LayoutRevision |
addLayoutRevision(LayoutRevision layoutRevision)
Adds the layout revision to the database.
|
LayoutRevision |
addLayoutRevision(long userId,
long layoutSetBranchId,
long layoutBranchId,
long parentLayoutRevisionId,
boolean head,
long plid,
long portletPreferencesPlid,
boolean privateLayout,
java.lang.String name,
java.lang.String title,
java.lang.String description,
java.lang.String keywords,
java.lang.String robots,
java.lang.String typeSettings,
boolean iconImage,
long iconImageId,
java.lang.String themeId,
java.lang.String colorSchemeId,
java.lang.String wapThemeId,
java.lang.String wapColorSchemeId,
java.lang.String css,
ServiceContext serviceContext) |
LayoutRevision |
createLayoutRevision(long layoutRevisionId)
Creates a new layout revision with the primary key.
|
void |
deleteLayoutLayoutRevisions(long plid) |
LayoutRevision |
deleteLayoutRevision(LayoutRevision layoutRevision)
Deletes the layout revision from the database.
|
LayoutRevision |
deleteLayoutRevision(long layoutRevisionId)
Deletes the layout revision with the primary key from the database.
|
void |
deleteLayoutRevisions(long layoutSetBranchId,
long plid) |
void |
deleteLayoutRevisions(long layoutSetBranchId,
long layoutBranchId,
long plid) |
void |
deleteLayoutSetBranchLayoutRevisions(long layoutSetBranchId) |
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.
|
LayoutRevision |
fetchLastLayoutRevision(long plid,
boolean head) |
LayoutRevision |
fetchLayoutRevision(long layoutRevisionId) |
LayoutRevision |
fetchLayoutRevision(long layoutSetBranchId,
boolean head,
long plid) |
java.lang.String |
getBeanIdentifier()
Returns the Spring bean ID for this bean.
|
java.util.List<LayoutRevision> |
getChildLayoutRevisions(long layoutSetBranchId,
long parentLayoutRevisionId,
long plid) |
java.util.List<LayoutRevision> |
getChildLayoutRevisions(long layoutSetBranchId,
long parentLayoutRevision,
long plid,
int start,
int end,
OrderByComparator orderByComparator) |
int |
getChildLayoutRevisionsCount(long layoutSetBranchId,
long parentLayoutRevision,
long plid) |
LayoutRevision |
getLayoutRevision(long layoutRevisionId)
Returns the layout revision with the primary key.
|
LayoutRevision |
getLayoutRevision(long layoutSetBranchId,
long plid,
boolean head) |
LayoutRevision |
getLayoutRevision(long layoutSetBranchId,
long layoutBranchId,
long plid) |
java.util.List<LayoutRevision> |
getLayoutRevisions(int start,
int end)
Returns a range of all the layout revisions.
|
java.util.List<LayoutRevision> |
getLayoutRevisions(long plid) |
java.util.List<LayoutRevision> |
getLayoutRevisions(long layoutSetBranchId,
boolean head) |
java.util.List<LayoutRevision> |
getLayoutRevisions(long layoutSetBranchId,
int status) |
java.util.List<LayoutRevision> |
getLayoutRevisions(long layoutSetBranchId,
long plid) |
java.util.List<LayoutRevision> |
getLayoutRevisions(long layoutSetBranchId,
long plid,
int status) |
java.util.List<LayoutRevision> |
getLayoutRevisions(long layoutSetBranchId,
long plid,
int start,
int end,
OrderByComparator orderByComparator) |
java.util.List<LayoutRevision> |
getLayoutRevisions(long layoutSetBranchId,
long layoutBranchId,
long plid,
int start,
int end,
OrderByComparator orderByComparator) |
int |
getLayoutRevisionsCount()
Returns the number of layout revisions.
|
int |
getLayoutRevisionsCount(long layoutSetBranchId,
long layoutBranchId,
long plid) |
PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
LayoutRevisionLocalService |
getWrappedLayoutRevisionLocalService()
Deprecated.
As of 6.1.0, replaced by
getWrappedService() |
LayoutRevisionLocalService |
getWrappedService() |
void |
setBeanIdentifier(java.lang.String beanIdentifier)
Sets the Spring bean ID for this bean.
|
void |
setWrappedLayoutRevisionLocalService(LayoutRevisionLocalService layoutRevisionLocalService)
Deprecated.
As of 6.1.0, replaced by
setWrappedService(com.liferay.portal.service.LayoutRevisionLocalService) |
void |
setWrappedService(LayoutRevisionLocalService layoutRevisionLocalService) |
LayoutRevision |
updateLayoutRevision(LayoutRevision layoutRevision)
Updates the layout revision in the database or adds it if it does not yet exist.
|
LayoutRevision |
updateLayoutRevision(long userId,
long layoutRevisionId,
long layoutBranchId,
java.lang.String name,
java.lang.String title,
java.lang.String description,
java.lang.String keywords,
java.lang.String robots,
java.lang.String typeSettings,
boolean iconImage,
long iconImageId,
java.lang.String themeId,
java.lang.String colorSchemeId,
java.lang.String wapThemeId,
java.lang.String wapColorSchemeId,
java.lang.String css,
ServiceContext serviceContext) |
LayoutRevision |
updateStatus(long userId,
long layoutRevisionId,
int status,
ServiceContext serviceContext) |
public LayoutRevisionLocalServiceWrapper(LayoutRevisionLocalService layoutRevisionLocalService)
public LayoutRevision addLayoutRevision(LayoutRevision layoutRevision) throws SystemException
addLayoutRevision in interface LayoutRevisionLocalServicelayoutRevision - the layout revisionSystemException - if a system exception occurredpublic LayoutRevision createLayoutRevision(long layoutRevisionId)
createLayoutRevision in interface LayoutRevisionLocalServicelayoutRevisionId - the primary key for the new layout revisionpublic LayoutRevision deleteLayoutRevision(long layoutRevisionId) throws PortalException, SystemException
deleteLayoutRevision in interface LayoutRevisionLocalServicelayoutRevisionId - the primary key of the layout revisionPortalException - if a layout revision with the primary key could not be foundSystemException - if a system exception occurredpublic LayoutRevision deleteLayoutRevision(LayoutRevision layoutRevision) throws PortalException, SystemException
deleteLayoutRevision in interface LayoutRevisionLocalServicelayoutRevision - the layout revisionPortalExceptionSystemException - if a system exception occurredpublic DynamicQuery dynamicQuery()
dynamicQuery in interface LayoutRevisionLocalServicepublic java.util.List dynamicQuery(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery in interface LayoutRevisionLocalServicedynamicQuery - 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 LayoutRevisionModelImpl. 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 LayoutRevisionLocalServicedynamicQuery - 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 LayoutRevisionModelImpl. 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 LayoutRevisionLocalServicedynamicQuery - 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 LayoutRevisionLocalServicedynamicQuery - the dynamic querySystemException - if a system exception occurredpublic long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection) throws SystemException
dynamicQueryCount in interface LayoutRevisionLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querySystemException - if a system exception occurredpublic LayoutRevision fetchLayoutRevision(long layoutRevisionId) throws SystemException
fetchLayoutRevision in interface LayoutRevisionLocalServiceSystemExceptionpublic LayoutRevision getLayoutRevision(long layoutRevisionId) throws PortalException, SystemException
getLayoutRevision in interface LayoutRevisionLocalServicelayoutRevisionId - the primary key of the layout revisionPortalException - if a layout revision 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 LayoutRevisionLocalServicegetPersistedModel in interface PersistedModelLocalServicePortalExceptionSystemExceptionpublic java.util.List<LayoutRevision> getLayoutRevisions(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 LayoutRevisionModelImpl. 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.
getLayoutRevisions in interface LayoutRevisionLocalServicestart - the lower bound of the range of layout revisionsend - the upper bound of the range of layout revisions (not inclusive)SystemException - if a system exception occurredpublic int getLayoutRevisionsCount()
throws SystemException
getLayoutRevisionsCount in interface LayoutRevisionLocalServiceSystemException - if a system exception occurredpublic LayoutRevision updateLayoutRevision(LayoutRevision layoutRevision) throws SystemException
updateLayoutRevision in interface LayoutRevisionLocalServicelayoutRevision - the layout revisionSystemException - if a system exception occurredpublic java.lang.String getBeanIdentifier()
getBeanIdentifier in interface LayoutRevisionLocalServicepublic void setBeanIdentifier(java.lang.String beanIdentifier)
setBeanIdentifier in interface LayoutRevisionLocalServicebeanIdentifier - the Spring bean ID for this beanpublic LayoutRevision addLayoutRevision(long userId, long layoutSetBranchId, long layoutBranchId, long parentLayoutRevisionId, boolean head, long plid, long portletPreferencesPlid, boolean privateLayout, java.lang.String name, java.lang.String title, java.lang.String description, java.lang.String keywords, java.lang.String robots, java.lang.String typeSettings, boolean iconImage, long iconImageId, java.lang.String themeId, java.lang.String colorSchemeId, java.lang.String wapThemeId, java.lang.String wapColorSchemeId, java.lang.String css, ServiceContext serviceContext) throws PortalException, SystemException
addLayoutRevision in interface LayoutRevisionLocalServicePortalExceptionSystemExceptionpublic void deleteLayoutLayoutRevisions(long plid)
throws PortalException,
SystemException
deleteLayoutLayoutRevisions in interface LayoutRevisionLocalServicePortalExceptionSystemExceptionpublic void deleteLayoutRevisions(long layoutSetBranchId,
long plid)
throws PortalException,
SystemException
deleteLayoutRevisions in interface LayoutRevisionLocalServicePortalExceptionSystemExceptionpublic void deleteLayoutRevisions(long layoutSetBranchId,
long layoutBranchId,
long plid)
throws PortalException,
SystemException
deleteLayoutRevisions in interface LayoutRevisionLocalServicePortalExceptionSystemExceptionpublic void deleteLayoutSetBranchLayoutRevisions(long layoutSetBranchId)
throws PortalException,
SystemException
deleteLayoutSetBranchLayoutRevisions in interface LayoutRevisionLocalServicePortalExceptionSystemExceptionpublic LayoutRevision fetchLastLayoutRevision(long plid, boolean head) throws SystemException
fetchLastLayoutRevision in interface LayoutRevisionLocalServiceSystemExceptionpublic LayoutRevision fetchLayoutRevision(long layoutSetBranchId, boolean head, long plid) throws SystemException
fetchLayoutRevision in interface LayoutRevisionLocalServiceSystemExceptionpublic java.util.List<LayoutRevision> getChildLayoutRevisions(long layoutSetBranchId, long parentLayoutRevisionId, long plid) throws SystemException
getChildLayoutRevisions in interface LayoutRevisionLocalServiceSystemExceptionpublic java.util.List<LayoutRevision> getChildLayoutRevisions(long layoutSetBranchId, long parentLayoutRevision, long plid, int start, int end, OrderByComparator orderByComparator) throws SystemException
getChildLayoutRevisions in interface LayoutRevisionLocalServiceSystemExceptionpublic int getChildLayoutRevisionsCount(long layoutSetBranchId,
long parentLayoutRevision,
long plid)
throws SystemException
getChildLayoutRevisionsCount in interface LayoutRevisionLocalServiceSystemExceptionpublic LayoutRevision getLayoutRevision(long layoutSetBranchId, long plid, boolean head) throws PortalException, SystemException
getLayoutRevision in interface LayoutRevisionLocalServicePortalExceptionSystemExceptionpublic LayoutRevision getLayoutRevision(long layoutSetBranchId, long layoutBranchId, long plid) throws PortalException, SystemException
getLayoutRevision in interface LayoutRevisionLocalServicePortalExceptionSystemExceptionpublic java.util.List<LayoutRevision> getLayoutRevisions(long plid) throws SystemException
getLayoutRevisions in interface LayoutRevisionLocalServiceSystemExceptionpublic java.util.List<LayoutRevision> getLayoutRevisions(long layoutSetBranchId, boolean head) throws SystemException
getLayoutRevisions in interface LayoutRevisionLocalServiceSystemExceptionpublic java.util.List<LayoutRevision> getLayoutRevisions(long layoutSetBranchId, int status) throws SystemException
getLayoutRevisions in interface LayoutRevisionLocalServiceSystemExceptionpublic java.util.List<LayoutRevision> getLayoutRevisions(long layoutSetBranchId, long plid) throws SystemException
getLayoutRevisions in interface LayoutRevisionLocalServiceSystemExceptionpublic java.util.List<LayoutRevision> getLayoutRevisions(long layoutSetBranchId, long plid, int status) throws SystemException
getLayoutRevisions in interface LayoutRevisionLocalServiceSystemExceptionpublic java.util.List<LayoutRevision> getLayoutRevisions(long layoutSetBranchId, long plid, int start, int end, OrderByComparator orderByComparator) throws SystemException
getLayoutRevisions in interface LayoutRevisionLocalServiceSystemExceptionpublic java.util.List<LayoutRevision> getLayoutRevisions(long layoutSetBranchId, long layoutBranchId, long plid, int start, int end, OrderByComparator orderByComparator) throws SystemException
getLayoutRevisions in interface LayoutRevisionLocalServiceSystemExceptionpublic int getLayoutRevisionsCount(long layoutSetBranchId,
long layoutBranchId,
long plid)
throws SystemException
getLayoutRevisionsCount in interface LayoutRevisionLocalServiceSystemExceptionpublic LayoutRevision updateLayoutRevision(long userId, long layoutRevisionId, long layoutBranchId, java.lang.String name, java.lang.String title, java.lang.String description, java.lang.String keywords, java.lang.String robots, java.lang.String typeSettings, boolean iconImage, long iconImageId, java.lang.String themeId, java.lang.String colorSchemeId, java.lang.String wapThemeId, java.lang.String wapColorSchemeId, java.lang.String css, ServiceContext serviceContext) throws PortalException, SystemException
updateLayoutRevision in interface LayoutRevisionLocalServicePortalExceptionSystemExceptionpublic LayoutRevision updateStatus(long userId, long layoutRevisionId, int status, ServiceContext serviceContext) throws PortalException, SystemException
updateStatus in interface LayoutRevisionLocalServicePortalExceptionSystemExceptionpublic LayoutRevisionLocalService getWrappedLayoutRevisionLocalService()
getWrappedService()public void setWrappedLayoutRevisionLocalService(LayoutRevisionLocalService layoutRevisionLocalService)
setWrappedService(com.liferay.portal.service.LayoutRevisionLocalService)public LayoutRevisionLocalService getWrappedService()
getWrappedService in interface ServiceWrapper<LayoutRevisionLocalService>public void setWrappedService(LayoutRevisionLocalService layoutRevisionLocalService)
setWrappedService in interface ServiceWrapper<LayoutRevisionLocalService>