com.liferay.portal.service.impl
Class LayoutBranchLocalServiceImpl
java.lang.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
public class LayoutBranchLocalServiceImpl
- extends LayoutBranchLocalServiceBaseImpl
| Fields inherited from class com.liferay.portal.service.base.LayoutBranchLocalServiceBaseImpl |
counterLocalService, layoutBranchLocalService, layoutBranchPersistence, layoutRevisionLocalService, layoutRevisionPersistence, layoutSetBranchLocalService, layoutSetBranchPersistence, persistedModelLocalServiceRegistry, recentLayoutBranchLocalService, recentLayoutBranchPersistence, resourceLocalService, userFinder, userLocalService, userPersistence |
|
Method Summary |
com.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 |
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 |
validate(long layoutBranchId,
long layoutSetBranchId,
long plid,
String name)
|
| Methods inherited from class com.liferay.portal.service.base.LayoutBranchLocalServiceBaseImpl |
addLayoutBranch, afterPropertiesSet, createLayoutBranch, deleteLayoutBranch, deletePersistedModel, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchLayoutBranch, getActionableDynamicQuery, getCounterLocalService, getIndexableActionableDynamicQuery, getLayoutBranch, getLayoutBranchLocalService, getLayoutBranchPersistence, getLayoutBranchs, getLayoutBranchsCount, getLayoutRevisionLocalService, getLayoutRevisionPersistence, getLayoutSetBranchLocalService, getLayoutSetBranchPersistence, getModelClass, getModelClassName, getOSGiServiceIdentifier, getPersistedModel, getRecentLayoutBranchLocalService, getRecentLayoutBranchPersistence, getResourceLocalService, getUserFinder, getUserLocalService, getUserPersistence, initActionableDynamicQuery, runSQL, setCounterLocalService, setLayoutBranchLocalService, setLayoutBranchPersistence, setLayoutRevisionLocalService, setLayoutRevisionPersistence, setLayoutSetBranchLocalService, setLayoutSetBranchPersistence, setRecentLayoutBranchLocalService, setRecentLayoutBranchPersistence, setResourceLocalService, setUserFinder, setUserLocalService, setUserPersistence, 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 |
LayoutBranchLocalServiceImpl
public LayoutBranchLocalServiceImpl()
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.
- Specified by:
deleteLayoutBranch in interface com.liferay.portal.kernel.service.LayoutBranchLocalService- Overrides:
deleteLayoutBranch in class LayoutBranchLocalServiceBaseImpl
- 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
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