public class LayoutRevisionLocalServiceWrapper extends 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,
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) |
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 |
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 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, wait
getBasePersistence
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 LayoutRevisionLocalService
layoutRevision
- 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 LayoutRevisionLocalService
PortalException
public LayoutRevision createLayoutRevision(long layoutRevisionId)
createLayoutRevision
in interface LayoutRevisionLocalService
layoutRevisionId
- the primary key for the new layout revisionpublic PersistedModel createPersistedModel(Serializable primaryKeyObj) throws PortalException
createPersistedModel
in interface LayoutRevisionLocalService
createPersistedModel
in interface PersistedModelLocalService
PortalException
public void deleteLayoutLayoutRevisions(long plid) throws PortalException
deleteLayoutLayoutRevisions
in interface LayoutRevisionLocalService
PortalException
public 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 LayoutRevisionLocalService
layoutRevision
- the layout revisionPortalException
public 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 LayoutRevisionLocalService
layoutRevisionId
- 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 LayoutRevisionLocalService
PortalException
public void deleteLayoutRevisions(long layoutSetBranchId, long layoutBranchId, long plid) throws PortalException
deleteLayoutRevisions
in interface LayoutRevisionLocalService
PortalException
public void deleteLayoutSetBranchLayoutRevisions(long layoutSetBranchId) throws PortalException
deleteLayoutSetBranchLayoutRevisions
in interface LayoutRevisionLocalService
PortalException
public PersistedModel deletePersistedModel(PersistedModel persistedModel) throws PortalException
deletePersistedModel
in interface LayoutRevisionLocalService
deletePersistedModel
in interface PersistedModelLocalService
PortalException
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQuery
in interface LayoutRevisionLocalService
public DynamicQuery dynamicQuery()
dynamicQuery
in interface LayoutRevisionLocalService
public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery)
dynamicQuery
in interface LayoutRevisionLocalService
dynamicQuery
- 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 LayoutRevisionLocalService
dynamicQuery
- 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 LayoutRevisionLocalService
dynamicQuery
- 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 LayoutRevisionLocalService
dynamicQuery
- the dynamic querypublic long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection)
dynamicQueryCount
in interface LayoutRevisionLocalService
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the querypublic LayoutRevision fetchLastLayoutRevision(long plid, boolean head)
fetchLastLayoutRevision
in interface LayoutRevisionLocalService
public LayoutRevision fetchLatestLayoutRevision(long layoutSetBranchId, long plid)
fetchLatestLayoutRevision
in interface LayoutRevisionLocalService
public LayoutRevision fetchLayoutRevision(long layoutRevisionId)
fetchLayoutRevision
in interface LayoutRevisionLocalService
public LayoutRevision fetchLayoutRevision(long layoutSetBranchId, long layoutBranchId, boolean head, long plid)
fetchLayoutRevision
in interface LayoutRevisionLocalService
public ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery
in interface LayoutRevisionLocalService
public List<LayoutRevision> getChildLayoutRevisions(long layoutSetBranchId, long parentLayoutRevisionId, long plid)
getChildLayoutRevisions
in interface LayoutRevisionLocalService
public List<LayoutRevision> getChildLayoutRevisions(long layoutSetBranchId, long parentLayoutRevision, long plid, int start, int end, OrderByComparator<LayoutRevision> orderByComparator)
getChildLayoutRevisions
in interface LayoutRevisionLocalService
public int getChildLayoutRevisionsCount(long layoutSetBranchId, long parentLayoutRevision, long plid)
getChildLayoutRevisionsCount
in interface LayoutRevisionLocalService
public IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery
in interface LayoutRevisionLocalService
public LayoutRevision getLayoutRevision(long layoutRevisionId) throws PortalException
getLayoutRevision
in interface LayoutRevisionLocalService
layoutRevisionId
- 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 LayoutRevisionLocalService
PortalException
public 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 LayoutRevisionLocalService
start
- 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 LayoutRevisionLocalService
public List<LayoutRevision> getLayoutRevisions(long layoutSetBranchId, boolean head)
getLayoutRevisions
in interface LayoutRevisionLocalService
public List<LayoutRevision> getLayoutRevisions(long layoutSetBranchId, boolean head, int status)
getLayoutRevisions
in interface LayoutRevisionLocalService
public List<LayoutRevision> getLayoutRevisions(long layoutSetBranchId, int status)
getLayoutRevisions
in interface LayoutRevisionLocalService
public List<LayoutRevision> getLayoutRevisions(long layoutSetBranchId, long plid)
getLayoutRevisions
in interface LayoutRevisionLocalService
public List<LayoutRevision> getLayoutRevisions(long layoutSetBranchId, long plid, boolean head)
getLayoutRevisions
in interface LayoutRevisionLocalService
public List<LayoutRevision> getLayoutRevisions(long layoutSetBranchId, long plid, int status)
getLayoutRevisions
in interface LayoutRevisionLocalService
public List<LayoutRevision> getLayoutRevisions(long layoutSetBranchId, long plid, int start, int end, OrderByComparator<LayoutRevision> orderByComparator)
getLayoutRevisions
in interface LayoutRevisionLocalService
public List<LayoutRevision> getLayoutRevisions(long layoutSetBranchId, long layoutBranchId, long plid, int start, int end, OrderByComparator<LayoutRevision> orderByComparator)
getLayoutRevisions
in interface LayoutRevisionLocalService
public List<LayoutRevision> getLayoutRevisionsByStatus(int status)
getLayoutRevisionsByStatus
in interface LayoutRevisionLocalService
public int getLayoutRevisionsCount()
getLayoutRevisionsCount
in interface LayoutRevisionLocalService
public int getLayoutRevisionsCount(long layoutSetBranchId, long layoutBranchId, long plid)
getLayoutRevisionsCount
in interface LayoutRevisionLocalService
public String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface LayoutRevisionLocalService
public PersistedModel getPersistedModel(Serializable primaryKeyObj) throws PortalException
getPersistedModel
in interface LayoutRevisionLocalService
getPersistedModel
in interface PersistedModelLocalService
PortalException
public 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 LayoutRevisionLocalService
layoutRevision
- 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 LayoutRevisionLocalService
PortalException
public LayoutRevision updateStatus(long userId, long layoutRevisionId, int status, ServiceContext serviceContext) throws PortalException
updateStatus
in interface LayoutRevisionLocalService
PortalException
public LayoutRevisionLocalService getWrappedService()
getWrappedService
in interface ServiceWrapper<LayoutRevisionLocalService>
public void setWrappedService(LayoutRevisionLocalService layoutRevisionLocalService)
setWrappedService
in interface ServiceWrapper<LayoutRevisionLocalService>