com.liferay.portal.service.impl
Class LayoutBranchLocalServiceImpl
java.lang.Object
com.liferay.portal.service.BaseLocalServiceImpl
com.liferay.portal.service.base.LayoutBranchLocalServiceBaseImpl
com.liferay.portal.service.impl.LayoutBranchLocalServiceImpl
- All Implemented Interfaces:
- IdentifiableOSGiService, BaseLocalService, LayoutBranchLocalService, 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, userFinder, userLocalService, userPersistence |
|
Method Summary |
LayoutBranch |
addLayoutBranch(long layoutSetBranchId,
long plid,
String name,
String description,
boolean master,
ServiceContext serviceContext)
|
LayoutBranch |
addLayoutBranch(long layoutRevisionId,
String name,
String description,
boolean master,
ServiceContext serviceContext)
|
LayoutBranch |
deleteLayoutBranch(long layoutBranchId)
Deletes the layout branch with the primary key from the database. |
void |
deleteLayoutSetBranchLayoutBranches(long layoutSetBranchId)
|
List<LayoutBranch> |
getLayoutBranches(long layoutSetBranchId,
long plid,
int start,
int end,
OrderByComparator<LayoutBranch> orderByComparator)
|
List<LayoutBranch> |
getLayoutSetBranchLayoutBranches(long layoutSetBranchId)
|
LayoutBranch |
getMasterLayoutBranch(long layoutSetBranchId,
long plid)
|
LayoutBranch |
getMasterLayoutBranch(long layoutSetBranchId,
long plid,
ServiceContext serviceContext)
|
LayoutBranch |
updateLayoutBranch(long layoutBranchId,
String name,
String description,
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, getUserFinder, getUserLocalService, getUserPersistence, initActionableDynamicQuery, runSQL, setCounterLocalService, setLayoutBranchLocalService, setLayoutBranchPersistence, setLayoutRevisionLocalService, setLayoutRevisionPersistence, setLayoutSetBranchLocalService, setLayoutSetBranchPersistence, setRecentLayoutBranchLocalService, setRecentLayoutBranchPersistence, setUserFinder, setUserLocalService, setUserPersistence, updateLayoutBranch |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LayoutBranchLocalServiceImpl
public LayoutBranchLocalServiceImpl()
addLayoutBranch
public LayoutBranch addLayoutBranch(long layoutSetBranchId,
long plid,
String name,
String description,
boolean master,
ServiceContext serviceContext)
throws PortalException
- Throws:
PortalException
addLayoutBranch
public LayoutBranch addLayoutBranch(long layoutRevisionId,
String name,
String description,
boolean master,
ServiceContext serviceContext)
throws PortalException
- Throws:
PortalException
deleteLayoutBranch
public LayoutBranch deleteLayoutBranch(long layoutBranchId)
throws 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 LayoutBranchLocalService- Overrides:
deleteLayoutBranch in class LayoutBranchLocalServiceBaseImpl
- Parameters:
layoutBranchId - the primary key of the layout branch
- Returns:
- the layout branch that was removed
- Throws:
PortalException - if a layout branch with the primary key could not be found
deleteLayoutSetBranchLayoutBranches
public void deleteLayoutSetBranchLayoutBranches(long layoutSetBranchId)
throws PortalException
- Throws:
PortalException
getLayoutBranches
public List<LayoutBranch> getLayoutBranches(long layoutSetBranchId,
long plid,
int start,
int end,
OrderByComparator<LayoutBranch> orderByComparator)
getLayoutSetBranchLayoutBranches
public List<LayoutBranch> getLayoutSetBranchLayoutBranches(long layoutSetBranchId)
getMasterLayoutBranch
public LayoutBranch getMasterLayoutBranch(long layoutSetBranchId,
long plid)
throws PortalException
- Throws:
PortalException
getMasterLayoutBranch
public LayoutBranch getMasterLayoutBranch(long layoutSetBranchId,
long plid,
ServiceContext serviceContext)
throws PortalException
- Throws:
PortalException
updateLayoutBranch
public LayoutBranch updateLayoutBranch(long layoutBranchId,
String name,
String description,
ServiceContext serviceContext)
throws PortalException
- Throws:
PortalException
validate
protected void validate(long layoutBranchId,
long layoutSetBranchId,
long plid,
String name)
throws PortalException
- Throws:
PortalException