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.LayoutSetBranchaddLayoutSetBranch(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.LayoutSetBranchdeleteLayoutSetBranch(long layoutSetBranchId) Deletes the layout set branch with the primary key from the database.com.liferay.portal.kernel.model.LayoutSetBranchdeleteLayoutSetBranch(long currentLayoutPlid, long layoutSetBranchId) com.liferay.portal.kernel.model.LayoutSetBranchdeleteLayoutSetBranch(long currentLayoutPlid, com.liferay.portal.kernel.model.LayoutSetBranch layoutSetBranch, boolean includeMaster) com.liferay.portal.kernel.model.LayoutSetBranchdeleteLayoutSetBranch(com.liferay.portal.kernel.model.LayoutSetBranch layoutSetBranch) Deletes the layout set branch from the database.com.liferay.portal.kernel.model.LayoutSetBranchdeleteLayoutSetBranch(com.liferay.portal.kernel.model.LayoutSetBranch layoutSetBranch, boolean includeMaster) voiddeleteLayoutSetBranches(long groupId, boolean privateLayout) voiddeleteLayoutSetBranches(long groupId, boolean privateLayout, boolean includeMaster) com.liferay.portal.kernel.model.LayoutSetBranchfetchLayoutSetBranch(long groupId, boolean privateLayout, String name) protected StringgetLayoutBranchName(long layoutSetBranchId, Locale locale, String mergeBranchName, String mergeLayoutSetBranchName, long plid) com.liferay.portal.kernel.model.LayoutSetBranchgetLayoutSetBranch(long groupId, boolean privateLayout, String name) List<com.liferay.portal.kernel.model.LayoutSetBranch>getLayoutSetBranches(long groupId, boolean privateLayout) com.liferay.portal.kernel.model.LayoutSetBranchgetMasterLayoutSetBranch(long groupId, boolean privateLayout) com.liferay.portal.kernel.model.LayoutSetBranchgetUserLayoutSetBranch(long userId, long groupId, boolean privateLayout, long layoutSetId, long layoutSetBranchId) com.liferay.portal.kernel.model.LayoutSetBranchmergeLayoutSetBranch(long layoutSetBranchId, long mergeLayoutSetBranchId, com.liferay.portal.kernel.service.ServiceContext serviceContext) com.liferay.portal.kernel.model.LayoutSetBranchupdateLayoutSetBranch(long layoutSetBranchId, String name, String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) protected voidMethods 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, updateLayoutSetBranchMethods inherited from class com.liferay.portal.kernel.service.BaseLocalServiceImpl
getClassLoader, getLocalizationMapMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:LayoutSetBranchLocalServiceBaseImplDeletes 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:
deleteLayoutSetBranchin interfacecom.liferay.portal.kernel.service.LayoutSetBranchLocalService- Overrides:
deleteLayoutSetBranchin 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:LayoutSetBranchLocalServiceBaseImplDeletes 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:
deleteLayoutSetBranchin interfacecom.liferay.portal.kernel.service.LayoutSetBranchLocalService- Overrides:
deleteLayoutSetBranchin 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
-