public class LayoutRevisionLocalServiceImpl extends LayoutRevisionLocalServiceBaseImpl
counterLocalService, imageLocalService, imagePersistence, layoutBranchLocalService, layoutBranchPersistence, layoutFinder, layoutLocalService, layoutPersistence, layoutRevisionLocalService, layoutRevisionPersistence, layoutSetBranchLocalService, layoutSetBranchPersistence, layoutSetLocalService, layoutSetPersistence, persistedModelLocalServiceRegistry, portletPreferencesFinder, portletPreferencesLocalService, portletPreferencesPersistence, recentLayoutRevisionLocalService, recentLayoutRevisionPersistence, resourceLocalService, userFinder, userLocalService, userPersistence, workflowInstanceLinkLocalService, workflowInstanceLinkPersistence
Constructor and Description |
---|
LayoutRevisionLocalServiceImpl() |
Modifier and Type | Method and Description |
---|---|
com.liferay.portal.kernel.model.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,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
protected void |
copyPortletPreferences(com.liferay.portal.kernel.model.LayoutRevision layoutRevision,
long parentLayoutRevisionId) |
void |
deleteLayoutLayoutRevisions(long plid) |
com.liferay.portal.kernel.model.LayoutRevision |
deleteLayoutRevision(com.liferay.portal.kernel.model.LayoutRevision layoutRevision)
Deletes the layout revision from the database.
|
com.liferay.portal.kernel.model.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) |
com.liferay.portal.kernel.model.LayoutRevision |
fetchLastLayoutRevision(long plid,
boolean head) |
com.liferay.portal.kernel.model.LayoutRevision |
fetchLatestLayoutRevision(long layoutSetBranchId,
long plid) |
com.liferay.portal.kernel.model.LayoutRevision |
fetchLayoutRevision(long layoutSetBranchId,
boolean head,
long plid)
Deprecated.
As of Judson (7.1.x), with no direct replacement
|
com.liferay.portal.kernel.model.LayoutRevision |
fetchLayoutRevision(long layoutSetBranchId,
long layoutBranchId,
boolean head,
long plid) |
List<com.liferay.portal.kernel.model.LayoutRevision> |
getChildLayoutRevisions(long layoutSetBranchId,
long parentLayoutRevisionId,
long plid) |
List<com.liferay.portal.kernel.model.LayoutRevision> |
getChildLayoutRevisions(long layoutSetBranchId,
long parentLayoutRevision,
long plid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutRevision> orderByComparator) |
int |
getChildLayoutRevisionsCount(long layoutSetBranchId,
long parentLayoutRevision,
long plid) |
com.liferay.portal.kernel.model.LayoutRevision |
getLayoutRevision(long layoutSetBranchId,
long plid,
boolean head)
Deprecated.
As of Judson (7.1.x), with no direct replacement
|
com.liferay.portal.kernel.model.LayoutRevision |
getLayoutRevision(long layoutSetBranchId,
long layoutBranchId,
long plid) |
List<com.liferay.portal.kernel.model.LayoutRevision> |
getLayoutRevisions(long plid) |
List<com.liferay.portal.kernel.model.LayoutRevision> |
getLayoutRevisions(long layoutSetBranchId,
boolean head) |
List<com.liferay.portal.kernel.model.LayoutRevision> |
getLayoutRevisions(long layoutSetBranchId,
boolean head,
int status) |
List<com.liferay.portal.kernel.model.LayoutRevision> |
getLayoutRevisions(long layoutSetBranchId,
int status) |
List<com.liferay.portal.kernel.model.LayoutRevision> |
getLayoutRevisions(long layoutSetBranchId,
long plid) |
List<com.liferay.portal.kernel.model.LayoutRevision> |
getLayoutRevisions(long layoutSetBranchId,
long plid,
boolean head) |
List<com.liferay.portal.kernel.model.LayoutRevision> |
getLayoutRevisions(long layoutSetBranchId,
long plid,
int status) |
List<com.liferay.portal.kernel.model.LayoutRevision> |
getLayoutRevisions(long layoutSetBranchId,
long plid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutRevision> orderByComparator) |
List<com.liferay.portal.kernel.model.LayoutRevision> |
getLayoutRevisions(long layoutSetBranchId,
long layoutBranchId,
long plid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutRevision> orderByComparator) |
int |
getLayoutRevisionsCount(long layoutSetBranchId,
long layoutBranchId,
long plid) |
protected long |
getParentLayoutRevisionId(long layoutSetBranchId,
long parentLayoutRevisionId,
long plid) |
protected boolean |
isWorkflowEnabled(long plid) |
com.liferay.portal.kernel.model.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,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
protected com.liferay.portal.kernel.model.LayoutRevision |
updateMajor(com.liferay.portal.kernel.model.LayoutRevision layoutRevision) |
com.liferay.portal.kernel.model.LayoutRevision |
updateStatus(long userId,
long layoutRevisionId,
int status,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
addLayoutRevision, afterPropertiesSet, createLayoutRevision, deletePersistedModel, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchLayoutRevision, getActionableDynamicQuery, getCounterLocalService, getImageLocalService, getImagePersistence, getIndexableActionableDynamicQuery, getLayoutBranchLocalService, getLayoutBranchPersistence, getLayoutFinder, getLayoutLocalService, getLayoutPersistence, getLayoutRevision, getLayoutRevisionLocalService, getLayoutRevisionPersistence, getLayoutRevisions, getLayoutRevisionsCount, getLayoutSetBranchLocalService, getLayoutSetBranchPersistence, getLayoutSetLocalService, getLayoutSetPersistence, getModelClass, getModelClassName, getOSGiServiceIdentifier, getPersistedModel, getPortletPreferencesFinder, getPortletPreferencesLocalService, getPortletPreferencesPersistence, getRecentLayoutRevisionLocalService, getRecentLayoutRevisionPersistence, getResourceLocalService, getUserFinder, getUserLocalService, getUserPersistence, getWorkflowInstanceLinkLocalService, getWorkflowInstanceLinkPersistence, initActionableDynamicQuery, runSQL, setCounterLocalService, setImageLocalService, setImagePersistence, setLayoutBranchLocalService, setLayoutBranchPersistence, setLayoutFinder, setLayoutLocalService, setLayoutPersistence, setLayoutRevisionLocalService, setLayoutRevisionPersistence, setLayoutSetBranchLocalService, setLayoutSetBranchPersistence, setLayoutSetLocalService, setLayoutSetPersistence, setPortletPreferencesFinder, setPortletPreferencesLocalService, setPortletPreferencesPersistence, setRecentLayoutRevisionLocalService, setRecentLayoutRevisionPersistence, setResourceLocalService, setUserFinder, setUserLocalService, setUserPersistence, setWorkflowInstanceLinkLocalService, setWorkflowInstanceLinkPersistence, updateLayoutRevision
public com.liferay.portal.kernel.model.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, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void deleteLayoutLayoutRevisions(long plid) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.LayoutRevision deleteLayoutRevision(com.liferay.portal.kernel.model.LayoutRevision layoutRevision) throws com.liferay.portal.kernel.exception.PortalException
LayoutRevisionLocalServiceBaseImpl
deleteLayoutRevision
in interface com.liferay.portal.kernel.service.LayoutRevisionLocalService
deleteLayoutRevision
in class LayoutRevisionLocalServiceBaseImpl
layoutRevision
- the layout revisioncom.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.LayoutRevision deleteLayoutRevision(long layoutRevisionId) throws com.liferay.portal.kernel.exception.PortalException
LayoutRevisionLocalServiceBaseImpl
deleteLayoutRevision
in interface com.liferay.portal.kernel.service.LayoutRevisionLocalService
deleteLayoutRevision
in class LayoutRevisionLocalServiceBaseImpl
layoutRevisionId
- the primary key of the layout revisioncom.liferay.portal.kernel.exception.PortalException
- if a layout revision with the primary key could not be foundpublic void deleteLayoutRevisions(long layoutSetBranchId, long plid) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void deleteLayoutRevisions(long layoutSetBranchId, long layoutBranchId, long plid) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void deleteLayoutSetBranchLayoutRevisions(long layoutSetBranchId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.LayoutRevision fetchLastLayoutRevision(long plid, boolean head)
public com.liferay.portal.kernel.model.LayoutRevision fetchLatestLayoutRevision(long layoutSetBranchId, long plid)
@Deprecated public com.liferay.portal.kernel.model.LayoutRevision fetchLayoutRevision(long layoutSetBranchId, boolean head, long plid)
public com.liferay.portal.kernel.model.LayoutRevision fetchLayoutRevision(long layoutSetBranchId, long layoutBranchId, boolean head, long plid)
public List<com.liferay.portal.kernel.model.LayoutRevision> getChildLayoutRevisions(long layoutSetBranchId, long parentLayoutRevisionId, long plid)
public List<com.liferay.portal.kernel.model.LayoutRevision> getChildLayoutRevisions(long layoutSetBranchId, long parentLayoutRevision, long plid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutRevision> orderByComparator)
public int getChildLayoutRevisionsCount(long layoutSetBranchId, long parentLayoutRevision, long plid)
@Deprecated public com.liferay.portal.kernel.model.LayoutRevision getLayoutRevision(long layoutSetBranchId, long plid, boolean head) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.LayoutRevision getLayoutRevision(long layoutSetBranchId, long layoutBranchId, long plid) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public List<com.liferay.portal.kernel.model.LayoutRevision> getLayoutRevisions(long plid)
public List<com.liferay.portal.kernel.model.LayoutRevision> getLayoutRevisions(long layoutSetBranchId, boolean head)
public List<com.liferay.portal.kernel.model.LayoutRevision> getLayoutRevisions(long layoutSetBranchId, boolean head, int status)
public List<com.liferay.portal.kernel.model.LayoutRevision> getLayoutRevisions(long layoutSetBranchId, int status)
public List<com.liferay.portal.kernel.model.LayoutRevision> getLayoutRevisions(long layoutSetBranchId, long plid)
public List<com.liferay.portal.kernel.model.LayoutRevision> getLayoutRevisions(long layoutSetBranchId, long plid, boolean head)
public List<com.liferay.portal.kernel.model.LayoutRevision> getLayoutRevisions(long layoutSetBranchId, long plid, int status)
public List<com.liferay.portal.kernel.model.LayoutRevision> getLayoutRevisions(long layoutSetBranchId, long plid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutRevision> orderByComparator)
public List<com.liferay.portal.kernel.model.LayoutRevision> getLayoutRevisions(long layoutSetBranchId, long layoutBranchId, long plid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutRevision> orderByComparator)
public int getLayoutRevisionsCount(long layoutSetBranchId, long layoutBranchId, long plid)
public com.liferay.portal.kernel.model.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, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.LayoutRevision updateStatus(long userId, long layoutRevisionId, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected void copyPortletPreferences(com.liferay.portal.kernel.model.LayoutRevision layoutRevision, long parentLayoutRevisionId)
protected long getParentLayoutRevisionId(long layoutSetBranchId, long parentLayoutRevisionId, long plid)
protected boolean isWorkflowEnabled(long plid) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected com.liferay.portal.kernel.model.LayoutRevision updateMajor(com.liferay.portal.kernel.model.LayoutRevision layoutRevision) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException