Package com.liferay.portal.service.impl
Class LayoutSetBranchLocalServiceImpl
Object
com.liferay.portal.kernel.service.BaseLocalServiceImpl
com.liferay.portal.service.base.LayoutSetBranchLocalServiceBaseImpl
com.liferay.portal.service.impl.LayoutSetBranchLocalServiceImpl
- All Implemented Interfaces:
com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService
,com.liferay.portal.kernel.service.BaseLocalService
,com.liferay.portal.kernel.service.LayoutSetBranchLocalService
,com.liferay.portal.kernel.service.PersistedModelLocalService
- Author:
- Raymond Augé, Brian Wing Shun Chan, Julio Camarero
-
Field Summary
Fields inherited from class com.liferay.portal.service.base.LayoutSetBranchLocalServiceBaseImpl
counterLocalService, layoutSetBranchLocalService, layoutSetBranchPersistence
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.liferay.portal.kernel.model.LayoutSetBranch
addLayoutSetBranch
(long userId, long groupId, boolean privateLayout, String name, String description, boolean master, long copyLayoutSetBranchId, com.liferay.portal.kernel.service.ServiceContext serviceContext) com.liferay.portal.kernel.model.LayoutSetBranch
deleteLayoutSetBranch
(long layoutSetBranchId) Deletes the layout set branch with the primary key from the database.com.liferay.portal.kernel.model.LayoutSetBranch
deleteLayoutSetBranch
(long currentLayoutPlid, long layoutSetBranchId) com.liferay.portal.kernel.model.LayoutSetBranch
deleteLayoutSetBranch
(long currentLayoutPlid, com.liferay.portal.kernel.model.LayoutSetBranch layoutSetBranch, boolean includeMaster) com.liferay.portal.kernel.model.LayoutSetBranch
deleteLayoutSetBranch
(com.liferay.portal.kernel.model.LayoutSetBranch layoutSetBranch) Deletes the layout set branch from the database.com.liferay.portal.kernel.model.LayoutSetBranch
deleteLayoutSetBranch
(com.liferay.portal.kernel.model.LayoutSetBranch layoutSetBranch, boolean includeMaster) void
deleteLayoutSetBranches
(long groupId, boolean privateLayout) void
deleteLayoutSetBranches
(long groupId, boolean privateLayout, boolean includeMaster) com.liferay.portal.kernel.model.LayoutSetBranch
fetchLayoutSetBranch
(long groupId, boolean privateLayout, String name) protected String
getLayoutBranchName
(long layoutSetBranchId, Locale locale, String mergeBranchName, String mergeLayoutSetBranchName, long plid) com.liferay.portal.kernel.model.LayoutSetBranch
getLayoutSetBranch
(long groupId, boolean privateLayout, String name) List<com.liferay.portal.kernel.model.LayoutSetBranch>
getLayoutSetBranches
(long groupId, boolean privateLayout) com.liferay.portal.kernel.model.LayoutSetBranch
getMasterLayoutSetBranch
(long groupId, boolean privateLayout) com.liferay.portal.kernel.model.LayoutSetBranch
getUserLayoutSetBranch
(long userId, long groupId, boolean privateLayout, long layoutSetId, long layoutSetBranchId) com.liferay.portal.kernel.model.LayoutSetBranch
mergeLayoutSetBranch
(long layoutSetBranchId, long mergeLayoutSetBranchId, com.liferay.portal.kernel.service.ServiceContext serviceContext) com.liferay.portal.kernel.model.LayoutSetBranch
updateLayoutSetBranch
(long layoutSetBranchId, String name, String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) protected void
Methods inherited from class com.liferay.portal.service.base.LayoutSetBranchLocalServiceBaseImpl
addLayoutSetBranch, afterPropertiesSet, createLayoutSetBranch, createPersistedModel, deletePersistedModel, destroy, dslQuery, dslQueryCount, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchLayoutSetBranch, getActionableDynamicQuery, getBasePersistence, getCounterLocalService, getIndexableActionableDynamicQuery, getLayoutSetBranch, getLayoutSetBranchLocalService, getLayoutSetBranchPersistence, getLayoutSetBranchs, getLayoutSetBranchsCount, getModelClass, getModelClassName, getOSGiServiceIdentifier, getPersistedModel, initActionableDynamicQuery, runSQL, setCounterLocalService, setLayoutSetBranchLocalService, setLayoutSetBranchPersistence, updateLayoutSetBranch
Methods inherited from class com.liferay.portal.kernel.service.BaseLocalServiceImpl
getClassLoader, getLocalizationMap
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.service.PersistedModelLocalService
fetchPersistedModel
-
Constructor Details
-
LayoutSetBranchLocalServiceImpl
public LayoutSetBranchLocalServiceImpl()
-
-
Method Details
-
addLayoutSetBranch
public com.liferay.portal.kernel.model.LayoutSetBranch addLayoutSetBranch(long userId, long groupId, boolean privateLayout, String name, String description, boolean master, long copyLayoutSetBranchId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteLayoutSetBranch
public com.liferay.portal.kernel.model.LayoutSetBranch deleteLayoutSetBranch(com.liferay.portal.kernel.model.LayoutSetBranch layoutSetBranch) throws com.liferay.portal.kernel.exception.PortalException Description copied from class:LayoutSetBranchLocalServiceBaseImpl
Deletes the layout set branch from the database. Also notifies the appropriate model listeners.Important: Inspect LayoutSetBranchLocalServiceImpl 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.
- Specified by:
deleteLayoutSetBranch
in interfacecom.liferay.portal.kernel.service.LayoutSetBranchLocalService
- Overrides:
deleteLayoutSetBranch
in classLayoutSetBranchLocalServiceBaseImpl
- Parameters:
layoutSetBranch
- the layout set branch- Returns:
- the layout set branch that was removed
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteLayoutSetBranch
public com.liferay.portal.kernel.model.LayoutSetBranch deleteLayoutSetBranch(com.liferay.portal.kernel.model.LayoutSetBranch layoutSetBranch, boolean includeMaster) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteLayoutSetBranch
public com.liferay.portal.kernel.model.LayoutSetBranch deleteLayoutSetBranch(long layoutSetBranchId) throws com.liferay.portal.kernel.exception.PortalException Description copied from class:LayoutSetBranchLocalServiceBaseImpl
Deletes the layout set branch with the primary key from the database. Also notifies the appropriate model listeners.Important: Inspect LayoutSetBranchLocalServiceImpl 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.
- Specified by:
deleteLayoutSetBranch
in interfacecom.liferay.portal.kernel.service.LayoutSetBranchLocalService
- Overrides:
deleteLayoutSetBranch
in classLayoutSetBranchLocalServiceBaseImpl
- Parameters:
layoutSetBranchId
- the primary key of the layout set branch- Returns:
- the layout set branch that was removed
- Throws:
com.liferay.portal.kernel.exception.PortalException
- if a layout set branch with the primary key could not be found
-
deleteLayoutSetBranch
public com.liferay.portal.kernel.model.LayoutSetBranch deleteLayoutSetBranch(long currentLayoutPlid, com.liferay.portal.kernel.model.LayoutSetBranch layoutSetBranch, boolean includeMaster) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteLayoutSetBranch
public com.liferay.portal.kernel.model.LayoutSetBranch deleteLayoutSetBranch(long currentLayoutPlid, long layoutSetBranchId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteLayoutSetBranches
public void deleteLayoutSetBranches(long groupId, boolean privateLayout) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteLayoutSetBranches
public void deleteLayoutSetBranches(long groupId, boolean privateLayout, boolean includeMaster) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchLayoutSetBranch
public com.liferay.portal.kernel.model.LayoutSetBranch fetchLayoutSetBranch(long groupId, boolean privateLayout, String name) -
getLayoutSetBranch
public com.liferay.portal.kernel.model.LayoutSetBranch getLayoutSetBranch(long groupId, boolean privateLayout, String name) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getLayoutSetBranches
public List<com.liferay.portal.kernel.model.LayoutSetBranch> getLayoutSetBranches(long groupId, boolean privateLayout) -
getMasterLayoutSetBranch
public com.liferay.portal.kernel.model.LayoutSetBranch getMasterLayoutSetBranch(long groupId, boolean privateLayout) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getUserLayoutSetBranch
public com.liferay.portal.kernel.model.LayoutSetBranch getUserLayoutSetBranch(long userId, long groupId, boolean privateLayout, long layoutSetId, long layoutSetBranchId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
mergeLayoutSetBranch
public com.liferay.portal.kernel.model.LayoutSetBranch mergeLayoutSetBranch(long layoutSetBranchId, long mergeLayoutSetBranchId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateLayoutSetBranch
public com.liferay.portal.kernel.model.LayoutSetBranch updateLayoutSetBranch(long layoutSetBranchId, String name, String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getLayoutBranchName
-
validate
protected void validate(long layoutSetBranchId, long groupId, boolean privateLayout, String name, boolean master) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-