com.liferay.portal.service.impl
Class LayoutSetBranchLocalServiceImpl
java.lang.Object
com.liferay.portal.service.BaseLocalServiceImpl
com.liferay.portal.service.base.LayoutSetBranchLocalServiceBaseImpl
com.liferay.portal.service.impl.LayoutSetBranchLocalServiceImpl
- All Implemented Interfaces:
- IdentifiableOSGiService, BaseLocalService, LayoutSetBranchLocalService, PersistedModelLocalService
public class LayoutSetBranchLocalServiceImpl
- extends LayoutSetBranchLocalServiceBaseImpl
| Fields inherited from class com.liferay.portal.service.base.LayoutSetBranchLocalServiceBaseImpl |
counterLocalService, imageLocalService, imagePersistence, layoutBranchLocalService, layoutBranchPersistence, layoutFinder, layoutLocalService, layoutPersistence, layoutRevisionLocalService, layoutRevisionPersistence, layoutSetBranchLocalService, layoutSetBranchPersistence, layoutSetLocalService, layoutSetPersistence, persistedModelLocalServiceRegistry, recentLayoutSetBranchLocalService, recentLayoutSetBranchPersistence, resourceLocalService, userFinder, userLocalService, userPersistence |
|
Method Summary |
LayoutSetBranch |
addLayoutSetBranch(long userId,
long groupId,
boolean privateLayout,
String name,
String description,
boolean master,
long copyLayoutSetBranchId,
ServiceContext serviceContext)
|
LayoutSetBranch |
deleteLayoutSetBranch(LayoutSetBranch layoutSetBranch)
Deletes the layout set branch from the database. |
LayoutSetBranch |
deleteLayoutSetBranch(LayoutSetBranch layoutSetBranch,
boolean includeMaster)
|
LayoutSetBranch |
deleteLayoutSetBranch(long layoutSetBranchId)
Deletes the layout set branch with the primary key from the database. |
void |
deleteLayoutSetBranches(long groupId,
boolean privateLayout)
|
void |
deleteLayoutSetBranches(long groupId,
boolean privateLayout,
boolean includeMaster)
|
LayoutSetBranch |
fetchLayoutSetBranch(long groupId,
boolean privateLayout,
String name)
|
protected String |
getLayoutBranchName(long layoutSetBranchId,
Locale locale,
String mergeBranchName,
String mergeLayoutSetBranchName,
long plid)
|
LayoutSetBranch |
getLayoutSetBranch(long groupId,
boolean privateLayout,
String name)
|
List<LayoutSetBranch> |
getLayoutSetBranches(long groupId,
boolean privateLayout)
|
LayoutSetBranch |
getMasterLayoutSetBranch(long groupId,
boolean privateLayout)
|
LayoutSetBranch |
getUserLayoutSetBranch(long userId,
long groupId,
boolean privateLayout,
long layoutSetBranchId)
Deprecated. As of 6.2.0, replaced by getUserLayoutSetBranch(long,
long, boolean, long, long) |
LayoutSetBranch |
getUserLayoutSetBranch(long userId,
long groupId,
boolean privateLayout,
long layoutSetId,
long layoutSetBranchId)
|
LayoutSetBranch |
mergeLayoutSetBranch(long layoutSetBranchId,
long mergeLayoutSetBranchId,
ServiceContext serviceContext)
|
LayoutSetBranch |
updateLayoutSetBranch(long layoutSetBranchId,
String name,
String description,
ServiceContext serviceContext)
|
protected void |
validate(long layoutSetBranchId,
long groupId,
boolean privateLayout,
String name,
boolean master)
|
| Methods inherited from class com.liferay.portal.service.base.LayoutSetBranchLocalServiceBaseImpl |
addLayoutSetBranch, afterPropertiesSet, createLayoutSetBranch, deletePersistedModel, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchLayoutSetBranch, getActionableDynamicQuery, getCounterLocalService, getImageLocalService, getImagePersistence, getIndexableActionableDynamicQuery, getLayoutBranchLocalService, getLayoutBranchPersistence, getLayoutFinder, getLayoutLocalService, getLayoutPersistence, getLayoutRevisionLocalService, getLayoutRevisionPersistence, getLayoutSetBranch, getLayoutSetBranchLocalService, getLayoutSetBranchPersistence, getLayoutSetBranchs, getLayoutSetBranchsCount, getLayoutSetLocalService, getLayoutSetPersistence, getModelClass, getModelClassName, getOSGiServiceIdentifier, getPersistedModel, getRecentLayoutSetBranchLocalService, getRecentLayoutSetBranchPersistence, getResourceLocalService, getUserFinder, getUserLocalService, getUserPersistence, initActionableDynamicQuery, runSQL, setCounterLocalService, setImageLocalService, setImagePersistence, setLayoutBranchLocalService, setLayoutBranchPersistence, setLayoutFinder, setLayoutLocalService, setLayoutPersistence, setLayoutRevisionLocalService, setLayoutRevisionPersistence, setLayoutSetBranchLocalService, setLayoutSetBranchPersistence, setLayoutSetLocalService, setLayoutSetPersistence, setRecentLayoutSetBranchLocalService, setRecentLayoutSetBranchPersistence, setResourceLocalService, setUserFinder, setUserLocalService, setUserPersistence, updateLayoutSetBranch |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LayoutSetBranchLocalServiceImpl
public LayoutSetBranchLocalServiceImpl()
addLayoutSetBranch
public LayoutSetBranch addLayoutSetBranch(long userId,
long groupId,
boolean privateLayout,
String name,
String description,
boolean master,
long copyLayoutSetBranchId,
ServiceContext serviceContext)
throws PortalException
- Throws:
PortalException
deleteLayoutSetBranch
public LayoutSetBranch deleteLayoutSetBranch(LayoutSetBranch layoutSetBranch)
throws PortalException
- Description copied from class:
LayoutSetBranchLocalServiceBaseImpl
- Deletes the layout set branch from the database. Also notifies the appropriate model listeners.
- Specified by:
deleteLayoutSetBranch in interface LayoutSetBranchLocalService- Overrides:
deleteLayoutSetBranch in class LayoutSetBranchLocalServiceBaseImpl
- Parameters:
layoutSetBranch - the layout set branch
- Returns:
- the layout set branch that was removed
- Throws:
PortalException
deleteLayoutSetBranch
public LayoutSetBranch deleteLayoutSetBranch(LayoutSetBranch layoutSetBranch,
boolean includeMaster)
throws PortalException
- Throws:
PortalException
deleteLayoutSetBranch
public LayoutSetBranch deleteLayoutSetBranch(long layoutSetBranchId)
throws PortalException
- Description copied from class:
LayoutSetBranchLocalServiceBaseImpl
- Deletes the layout set branch with the primary key from the database. Also notifies the appropriate model listeners.
- Specified by:
deleteLayoutSetBranch in interface LayoutSetBranchLocalService- Overrides:
deleteLayoutSetBranch in class LayoutSetBranchLocalServiceBaseImpl
- Parameters:
layoutSetBranchId - the primary key of the layout set branch
- Returns:
- the layout set branch that was removed
- Throws:
PortalException - if a layout set branch with the primary key could not be found
deleteLayoutSetBranches
public void deleteLayoutSetBranches(long groupId,
boolean privateLayout)
throws PortalException
- Throws:
PortalException
deleteLayoutSetBranches
public void deleteLayoutSetBranches(long groupId,
boolean privateLayout,
boolean includeMaster)
throws PortalException
- Throws:
PortalException
fetchLayoutSetBranch
public LayoutSetBranch fetchLayoutSetBranch(long groupId,
boolean privateLayout,
String name)
getLayoutSetBranch
public LayoutSetBranch getLayoutSetBranch(long groupId,
boolean privateLayout,
String name)
throws PortalException
- Throws:
PortalException
getLayoutSetBranches
public List<LayoutSetBranch> getLayoutSetBranches(long groupId,
boolean privateLayout)
getMasterLayoutSetBranch
public LayoutSetBranch getMasterLayoutSetBranch(long groupId,
boolean privateLayout)
throws PortalException
- Throws:
PortalException
getUserLayoutSetBranch
@Deprecated
public LayoutSetBranch getUserLayoutSetBranch(long userId,
long groupId,
boolean privateLayout,
long layoutSetBranchId)
throws PortalException
- Deprecated. As of 6.2.0, replaced by
getUserLayoutSetBranch(long,
long, boolean, long, long)
- Throws:
PortalException
getUserLayoutSetBranch
public LayoutSetBranch getUserLayoutSetBranch(long userId,
long groupId,
boolean privateLayout,
long layoutSetId,
long layoutSetBranchId)
throws PortalException
- Throws:
PortalException
mergeLayoutSetBranch
public LayoutSetBranch mergeLayoutSetBranch(long layoutSetBranchId,
long mergeLayoutSetBranchId,
ServiceContext serviceContext)
throws PortalException
- Throws:
PortalException
updateLayoutSetBranch
public LayoutSetBranch updateLayoutSetBranch(long layoutSetBranchId,
String name,
String description,
ServiceContext serviceContext)
throws PortalException
- Throws:
PortalException
getLayoutBranchName
protected String getLayoutBranchName(long layoutSetBranchId,
Locale locale,
String mergeBranchName,
String mergeLayoutSetBranchName,
long plid)
validate
protected void validate(long layoutSetBranchId,
long groupId,
boolean privateLayout,
String name,
boolean master)
throws PortalException
- Throws:
PortalException