public class LayoutRevisionLocalServiceWrapper extends Object implements LayoutRevisionLocalService, ServiceWrapper<LayoutRevisionLocalService>
LayoutRevisionLocalService.LayoutRevisionLocalService| Constructor and Description |
|---|
LayoutRevisionLocalServiceWrapper() |
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,
String name,
String title,
String description,
String keywords,
String robots,
String typeSettings,
boolean iconImage,
long iconImageId,
String themeId,
String colorSchemeId,
String css,
ServiceContext serviceContext) |
LayoutRevision |
createLayoutRevision(long layoutRevisionId)
Creates a new layout revision with the primary key.
|
PersistedModel |
createPersistedModel(Serializable primaryKeyObj) |
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) |
PersistedModel |
deletePersistedModel(PersistedModel persistedModel) |
<T> T |
dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
int |
dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
DynamicQuery |
dynamicQuery() |
<T> List<T> |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
<T> List<T> |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows.
|
<T> List<T> |
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.
|
LayoutRevision |
fetchLastLayoutRevision(long plid,
boolean head) |
LayoutRevision |
fetchLatestLayoutRevision(long layoutSetBranchId,
long plid) |
LayoutRevision |
fetchLatestLayoutRevision(long layoutSetBranchId,
long layoutBranchId,
long plid) |
LayoutRevision |
fetchLayoutRevision(long layoutRevisionId) |
LayoutRevision |
fetchLayoutRevision(long layoutSetBranchId,
long layoutBranchId,
boolean head,
long plid) |
ActionableDynamicQuery |
getActionableDynamicQuery() |
List<LayoutRevision> |
getChildLayoutRevisions(long layoutSetBranchId,
long parentLayoutRevisionId,
long plid) |
List<LayoutRevision> |
getChildLayoutRevisions(long layoutSetBranchId,
long parentLayoutRevision,
long plid,
int start,
int end,
OrderByComparator<LayoutRevision> orderByComparator) |
int |
getChildLayoutRevisionsCount(long layoutSetBranchId,
long parentLayoutRevision,
long plid) |
IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
LayoutRevision |
getLayoutRevision(long layoutRevisionId)
Returns the layout revision with the primary key.
|
LayoutRevision |
getLayoutRevision(long layoutSetBranchId,
long layoutBranchId,
long plid) |
List<LayoutRevision> |
getLayoutRevisions(int start,
int end)
Returns a range of all the layout revisions.
|
List<LayoutRevision> |
getLayoutRevisions(long plid) |
List<LayoutRevision> |
getLayoutRevisions(long layoutSetBranchId,
boolean head) |
List<LayoutRevision> |
getLayoutRevisions(long layoutSetBranchId,
boolean head,
int status) |
List<LayoutRevision> |
getLayoutRevisions(long layoutSetBranchId,
int status) |
List<LayoutRevision> |
getLayoutRevisions(long layoutSetBranchId,
long plid) |
List<LayoutRevision> |
getLayoutRevisions(long layoutSetBranchId,
long plid,
boolean head) |
List<LayoutRevision> |
getLayoutRevisions(long layoutSetBranchId,
long plid,
int status) |
List<LayoutRevision> |
getLayoutRevisions(long layoutSetBranchId,
long plid,
int start,
int end,
OrderByComparator<LayoutRevision> orderByComparator) |
List<LayoutRevision> |
getLayoutRevisions(long layoutSetBranchId,
long layoutBranchId,
long plid,
int start,
int end,
OrderByComparator<LayoutRevision> orderByComparator) |
List<LayoutRevision> |
getLayoutRevisionsByStatus(int status) |
int |
getLayoutRevisionsCount()
Returns the number of layout revisions.
|
int |
getLayoutRevisionsCount(long plid) |
int |
getLayoutRevisionsCount(long layoutSetBranchId,
long layoutBranchId,
long plid) |
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
PersistedModel |
getPersistedModel(Serializable primaryKeyObj) |
LayoutRevisionLocalService |
getWrappedService() |
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,
String name,
String title,
String description,
String keywords,
String robots,
String typeSettings,
boolean iconImage,
long iconImageId,
String themeId,
String colorSchemeId,
String css,
ServiceContext serviceContext) |
LayoutRevision |
updateStatus(long userId,
long layoutRevisionId,
int status,
ServiceContext serviceContext) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBasePersistencepublic LayoutRevisionLocalServiceWrapper()
public LayoutRevisionLocalServiceWrapper(LayoutRevisionLocalService layoutRevisionLocalService)
public LayoutRevision addLayoutRevision(LayoutRevision layoutRevision)
Important: Inspect LayoutRevisionLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
addLayoutRevision in interface LayoutRevisionLocalServicelayoutRevision - the layout revisionpublic LayoutRevision addLayoutRevision(long userId, long layoutSetBranchId, long layoutBranchId, long parentLayoutRevisionId, boolean head, long plid, long portletPreferencesPlid, boolean privateLayout, String name, String title, String description, String keywords, String robots, String typeSettings, boolean iconImage, long iconImageId, String themeId, String colorSchemeId, String css, ServiceContext serviceContext) throws PortalException
addLayoutRevision in interface LayoutRevisionLocalServicePortalExceptionpublic LayoutRevision createLayoutRevision(long layoutRevisionId)
createLayoutRevision in interface LayoutRevisionLocalServicelayoutRevisionId - the primary key for the new layout revisionpublic PersistedModel createPersistedModel(Serializable primaryKeyObj) throws PortalException
createPersistedModel in interface LayoutRevisionLocalServicecreatePersistedModel in interface PersistedModelLocalServicePortalExceptionpublic void deleteLayoutLayoutRevisions(long plid)
throws PortalException
deleteLayoutLayoutRevisions in interface LayoutRevisionLocalServicePortalExceptionpublic LayoutRevision deleteLayoutRevision(LayoutRevision layoutRevision) throws PortalException
Important: Inspect LayoutRevisionLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
deleteLayoutRevision in interface LayoutRevisionLocalServicelayoutRevision - the layout revisionPortalExceptionpublic LayoutRevision deleteLayoutRevision(long layoutRevisionId) throws PortalException
Important: Inspect LayoutRevisionLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
deleteLayoutRevision in interface LayoutRevisionLocalServicelayoutRevisionId - the primary key of the layout revisionPortalException - if a layout revision with the primary key could not be foundpublic void deleteLayoutRevisions(long layoutSetBranchId,
long plid)
throws PortalException
deleteLayoutRevisions in interface LayoutRevisionLocalServicePortalExceptionpublic void deleteLayoutRevisions(long layoutSetBranchId,
long layoutBranchId,
long plid)
throws PortalException
deleteLayoutRevisions in interface LayoutRevisionLocalServicePortalExceptionpublic void deleteLayoutSetBranchLayoutRevisions(long layoutSetBranchId)
throws PortalException
deleteLayoutSetBranchLayoutRevisions in interface LayoutRevisionLocalServicePortalExceptionpublic PersistedModel deletePersistedModel(PersistedModel persistedModel) throws PortalException
deletePersistedModel in interface LayoutRevisionLocalServicedeletePersistedModel in interface PersistedModelLocalServicePortalExceptionpublic <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQuery in interface LayoutRevisionLocalServicedslQuery in interface PersistedModelLocalServicepublic int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQueryCount in interface LayoutRevisionLocalServicedslQueryCount in interface PersistedModelLocalServicepublic DynamicQuery dynamicQuery()
dynamicQuery in interface LayoutRevisionLocalServicepublic <T> List<T> dynamicQuery(DynamicQuery dynamicQuery)
dynamicQuery in interface LayoutRevisionLocalServicedynamicQuery - the dynamic querypublic <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 com.liferay.portal.kernel.dao.orm.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, then the query will include the default ORDER BY logic from com.liferay.portal.model.impl.LayoutRevisionModelImpl.
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)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 com.liferay.portal.kernel.dao.orm.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, then the query will include the default ORDER BY logic from com.liferay.portal.model.impl.LayoutRevisionModelImpl.
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)public long dynamicQueryCount(DynamicQuery dynamicQuery)
dynamicQueryCount in interface LayoutRevisionLocalServicedynamicQuery - the dynamic querypublic long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection)
dynamicQueryCount in interface LayoutRevisionLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querypublic LayoutRevision fetchLastLayoutRevision(long plid, boolean head)
fetchLastLayoutRevision in interface LayoutRevisionLocalServicepublic LayoutRevision fetchLatestLayoutRevision(long layoutSetBranchId, long plid)
fetchLatestLayoutRevision in interface LayoutRevisionLocalServicepublic LayoutRevision fetchLatestLayoutRevision(long layoutSetBranchId, long layoutBranchId, long plid)
fetchLatestLayoutRevision in interface LayoutRevisionLocalServicepublic LayoutRevision fetchLayoutRevision(long layoutRevisionId)
fetchLayoutRevision in interface LayoutRevisionLocalServicepublic LayoutRevision fetchLayoutRevision(long layoutSetBranchId, long layoutBranchId, boolean head, long plid)
fetchLayoutRevision in interface LayoutRevisionLocalServicepublic ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface LayoutRevisionLocalServicepublic List<LayoutRevision> getChildLayoutRevisions(long layoutSetBranchId, long parentLayoutRevisionId, long plid)
getChildLayoutRevisions in interface LayoutRevisionLocalServicepublic List<LayoutRevision> getChildLayoutRevisions(long layoutSetBranchId, long parentLayoutRevision, long plid, int start, int end, OrderByComparator<LayoutRevision> orderByComparator)
getChildLayoutRevisions in interface LayoutRevisionLocalServicepublic int getChildLayoutRevisionsCount(long layoutSetBranchId,
long parentLayoutRevision,
long plid)
getChildLayoutRevisionsCount in interface LayoutRevisionLocalServicepublic IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface LayoutRevisionLocalServicepublic LayoutRevision getLayoutRevision(long layoutRevisionId) throws PortalException
getLayoutRevision in interface LayoutRevisionLocalServicelayoutRevisionId - the primary key of the layout revisionPortalException - if a layout revision with the primary key could not be foundpublic LayoutRevision getLayoutRevision(long layoutSetBranchId, long layoutBranchId, long plid) throws PortalException
getLayoutRevision in interface LayoutRevisionLocalServicePortalExceptionpublic List<LayoutRevision> getLayoutRevisions(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 com.liferay.portal.kernel.dao.orm.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, then the query will include the default ORDER BY logic from com.liferay.portal.model.impl.LayoutRevisionModelImpl.
getLayoutRevisions in interface LayoutRevisionLocalServicestart - the lower bound of the range of layout revisionsend - the upper bound of the range of layout revisions (not inclusive)public List<LayoutRevision> getLayoutRevisions(long plid)
getLayoutRevisions in interface LayoutRevisionLocalServicepublic List<LayoutRevision> getLayoutRevisions(long layoutSetBranchId, boolean head)
getLayoutRevisions in interface LayoutRevisionLocalServicepublic List<LayoutRevision> getLayoutRevisions(long layoutSetBranchId, boolean head, int status)
getLayoutRevisions in interface LayoutRevisionLocalServicepublic List<LayoutRevision> getLayoutRevisions(long layoutSetBranchId, int status)
getLayoutRevisions in interface LayoutRevisionLocalServicepublic List<LayoutRevision> getLayoutRevisions(long layoutSetBranchId, long plid)
getLayoutRevisions in interface LayoutRevisionLocalServicepublic List<LayoutRevision> getLayoutRevisions(long layoutSetBranchId, long plid, boolean head)
getLayoutRevisions in interface LayoutRevisionLocalServicepublic List<LayoutRevision> getLayoutRevisions(long layoutSetBranchId, long plid, int status)
getLayoutRevisions in interface LayoutRevisionLocalServicepublic List<LayoutRevision> getLayoutRevisions(long layoutSetBranchId, long plid, int start, int end, OrderByComparator<LayoutRevision> orderByComparator)
getLayoutRevisions in interface LayoutRevisionLocalServicepublic List<LayoutRevision> getLayoutRevisions(long layoutSetBranchId, long layoutBranchId, long plid, int start, int end, OrderByComparator<LayoutRevision> orderByComparator)
getLayoutRevisions in interface LayoutRevisionLocalServicepublic List<LayoutRevision> getLayoutRevisionsByStatus(int status)
getLayoutRevisionsByStatus in interface LayoutRevisionLocalServicepublic int getLayoutRevisionsCount()
getLayoutRevisionsCount in interface LayoutRevisionLocalServicepublic int getLayoutRevisionsCount(long plid)
getLayoutRevisionsCount in interface LayoutRevisionLocalServicepublic int getLayoutRevisionsCount(long layoutSetBranchId,
long layoutBranchId,
long plid)
getLayoutRevisionsCount in interface LayoutRevisionLocalServicepublic String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface LayoutRevisionLocalServicepublic PersistedModel getPersistedModel(Serializable primaryKeyObj) throws PortalException
getPersistedModel in interface LayoutRevisionLocalServicegetPersistedModel in interface PersistedModelLocalServicePortalExceptionpublic LayoutRevision updateLayoutRevision(LayoutRevision layoutRevision)
Important: Inspect LayoutRevisionLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
updateLayoutRevision in interface LayoutRevisionLocalServicelayoutRevision - the layout revisionpublic LayoutRevision updateLayoutRevision(long userId, long layoutRevisionId, long layoutBranchId, String name, String title, String description, String keywords, String robots, String typeSettings, boolean iconImage, long iconImageId, String themeId, String colorSchemeId, String css, ServiceContext serviceContext) throws PortalException
updateLayoutRevision in interface LayoutRevisionLocalServicePortalExceptionpublic LayoutRevision updateStatus(long userId, long layoutRevisionId, int status, ServiceContext serviceContext) throws PortalException
updateStatus in interface LayoutRevisionLocalServicePortalExceptionpublic LayoutRevisionLocalService getWrappedService()
getWrappedService in interface ServiceWrapper<LayoutRevisionLocalService>public void setWrappedService(LayoutRevisionLocalService layoutRevisionLocalService)
setWrappedService in interface ServiceWrapper<LayoutRevisionLocalService>