Package com.liferay.portal.service.impl
Class LayoutBranchLocalServiceImpl
Object
com.liferay.portal.kernel.service.BaseLocalServiceImpl
com.liferay.portal.service.base.LayoutBranchLocalServiceBaseImpl
com.liferay.portal.service.impl.LayoutBranchLocalServiceImpl
- All Implemented Interfaces:
com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService
,com.liferay.portal.kernel.service.BaseLocalService
,com.liferay.portal.kernel.service.LayoutBranchLocalService
,com.liferay.portal.kernel.service.PersistedModelLocalService
- Author:
- Julio Camarero
-
Field Summary
Fields inherited from class com.liferay.portal.service.base.LayoutBranchLocalServiceBaseImpl
counterLocalService, layoutBranchLocalService, layoutBranchPersistence
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.liferay.portal.kernel.model.LayoutBranch
addLayoutBranch
(long layoutSetBranchId, long plid, String name, String description, boolean master, com.liferay.portal.kernel.service.ServiceContext serviceContext) com.liferay.portal.kernel.model.LayoutBranch
addLayoutBranch
(long layoutRevisionId, String name, String description, boolean master, com.liferay.portal.kernel.service.ServiceContext serviceContext) com.liferay.portal.kernel.model.LayoutBranch
deleteLayoutBranch
(long layoutBranchId) Deletes the layout branch with the primary key from the database.void
deleteLayoutBranchesByPlid
(long plid) void
deleteLayoutSetBranchLayoutBranches
(long layoutSetBranchId) List<com.liferay.portal.kernel.model.LayoutBranch>
getLayoutBranches
(long layoutSetBranchId, long plid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutBranch> orderByComparator) List<com.liferay.portal.kernel.model.LayoutBranch>
getLayoutSetBranchLayoutBranches
(long layoutSetBranchId) com.liferay.portal.kernel.model.LayoutBranch
getMasterLayoutBranch
(long layoutSetBranchId, long plid) com.liferay.portal.kernel.model.LayoutBranch
getMasterLayoutBranch
(long layoutSetBranchId, long plid, com.liferay.portal.kernel.service.ServiceContext serviceContext) com.liferay.portal.kernel.model.LayoutBranch
updateLayoutBranch
(long layoutBranchId, String name, String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) protected void
Methods inherited from class com.liferay.portal.service.base.LayoutBranchLocalServiceBaseImpl
addLayoutBranch, afterPropertiesSet, createLayoutBranch, createPersistedModel, deleteLayoutBranch, deletePersistedModel, destroy, dslQuery, dslQueryCount, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchLayoutBranch, getActionableDynamicQuery, getBasePersistence, getCounterLocalService, getIndexableActionableDynamicQuery, getLayoutBranch, getLayoutBranchLocalService, getLayoutBranchPersistence, getLayoutBranchs, getLayoutBranchsCount, getModelClass, getModelClassName, getOSGiServiceIdentifier, getPersistedModel, initActionableDynamicQuery, runSQL, setCounterLocalService, setLayoutBranchLocalService, setLayoutBranchPersistence, updateLayoutBranch
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
-
LayoutBranchLocalServiceImpl
public LayoutBranchLocalServiceImpl()
-
-
Method Details
-
addLayoutBranch
public com.liferay.portal.kernel.model.LayoutBranch addLayoutBranch(long layoutSetBranchId, long plid, String name, String description, boolean master, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addLayoutBranch
public com.liferay.portal.kernel.model.LayoutBranch addLayoutBranch(long layoutRevisionId, String name, String description, boolean master, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteLayoutBranch
public com.liferay.portal.kernel.model.LayoutBranch deleteLayoutBranch(long layoutBranchId) throws com.liferay.portal.kernel.exception.PortalException Description copied from class:LayoutBranchLocalServiceBaseImpl
Deletes the layout branch with the primary key from the database. Also notifies the appropriate model listeners.Important: Inspect LayoutBranchLocalServiceImpl 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:
deleteLayoutBranch
in interfacecom.liferay.portal.kernel.service.LayoutBranchLocalService
- Overrides:
deleteLayoutBranch
in classLayoutBranchLocalServiceBaseImpl
- Parameters:
layoutBranchId
- the primary key of the layout branch- Returns:
- the layout branch that was removed
- Throws:
com.liferay.portal.kernel.exception.PortalException
- if a layout branch with the primary key could not be found
-
deleteLayoutBranchesByPlid
public void deleteLayoutBranchesByPlid(long plid) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteLayoutSetBranchLayoutBranches
public void deleteLayoutSetBranchLayoutBranches(long layoutSetBranchId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getLayoutBranches
public List<com.liferay.portal.kernel.model.LayoutBranch> getLayoutBranches(long layoutSetBranchId, long plid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutBranch> orderByComparator) -
getLayoutSetBranchLayoutBranches
public List<com.liferay.portal.kernel.model.LayoutBranch> getLayoutSetBranchLayoutBranches(long layoutSetBranchId) -
getMasterLayoutBranch
public com.liferay.portal.kernel.model.LayoutBranch getMasterLayoutBranch(long layoutSetBranchId, long plid) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getMasterLayoutBranch
public com.liferay.portal.kernel.model.LayoutBranch getMasterLayoutBranch(long layoutSetBranchId, long plid, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateLayoutBranch
public com.liferay.portal.kernel.model.LayoutBranch updateLayoutBranch(long layoutBranchId, 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
-
validate
protected void validate(long layoutBranchId, long layoutSetBranchId, long plid, String name) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-