public class LayoutSetBranchLocalServiceImpl extends LayoutSetBranchLocalServiceBaseImpl
counterLocalService, imageLocalService, imagePersistence, layoutBranchLocalService, layoutBranchPersistence, layoutFinder, layoutLocalService, layoutPersistence, layoutRevisionLocalService, layoutRevisionPersistence, layoutSetBranchLocalService, layoutSetBranchPersistence, layoutSetLocalService, layoutSetPersistence, persistedModelLocalServiceRegistry, recentLayoutSetBranchLocalService, recentLayoutSetBranchPersistence, resourceLocalService, userFinder, userLocalService, userPersistence
Constructor and Description |
---|
LayoutSetBranchLocalServiceImpl() |
Modifier and Type | Method and Description |
---|---|
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) |
com.liferay.portal.kernel.model.LayoutSetBranch |
deleteLayoutSetBranch(com.liferay.portal.kernel.model.LayoutSetBranch layoutSetBranch)
Deletes the layout set branch from the database.
|
com.liferay.portal.kernel.model.LayoutSetBranch |
deleteLayoutSetBranch(com.liferay.portal.kernel.model.LayoutSetBranch layoutSetBranch,
boolean includeMaster) |
com.liferay.portal.kernel.model.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) |
com.liferay.portal.kernel.model.LayoutSetBranch |
fetchLayoutSetBranch(long groupId,
boolean privateLayout,
String name) |
protected String |
getLayoutBranchName(long layoutSetBranchId,
Locale locale,
String mergeBranchName,
String mergeLayoutSetBranchName,
long plid) |
com.liferay.portal.kernel.model.LayoutSetBranch |
getLayoutSetBranch(long groupId,
boolean privateLayout,
String name) |
List<com.liferay.portal.kernel.model.LayoutSetBranch> |
getLayoutSetBranches(long groupId,
boolean privateLayout) |
com.liferay.portal.kernel.model.LayoutSetBranch |
getMasterLayoutSetBranch(long groupId,
boolean privateLayout) |
com.liferay.portal.kernel.model.LayoutSetBranch |
getUserLayoutSetBranch(long userId,
long groupId,
boolean privateLayout,
long layoutSetId,
long layoutSetBranchId) |
com.liferay.portal.kernel.model.LayoutSetBranch |
mergeLayoutSetBranch(long layoutSetBranchId,
long mergeLayoutSetBranchId,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
com.liferay.portal.kernel.model.LayoutSetBranch |
updateLayoutSetBranch(long layoutSetBranchId,
String name,
String description,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
protected void |
validate(long layoutSetBranchId,
long groupId,
boolean privateLayout,
String name,
boolean master) |
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
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
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.LayoutSetBranch deleteLayoutSetBranch(com.liferay.portal.kernel.model.LayoutSetBranch layoutSetBranch) throws com.liferay.portal.kernel.exception.PortalException
LayoutSetBranchLocalServiceBaseImpl
deleteLayoutSetBranch
in interface com.liferay.portal.kernel.service.LayoutSetBranchLocalService
deleteLayoutSetBranch
in class LayoutSetBranchLocalServiceBaseImpl
layoutSetBranch
- the layout set branchcom.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.LayoutSetBranch deleteLayoutSetBranch(com.liferay.portal.kernel.model.LayoutSetBranch layoutSetBranch, boolean includeMaster) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.LayoutSetBranch deleteLayoutSetBranch(long layoutSetBranchId) throws com.liferay.portal.kernel.exception.PortalException
LayoutSetBranchLocalServiceBaseImpl
deleteLayoutSetBranch
in interface com.liferay.portal.kernel.service.LayoutSetBranchLocalService
deleteLayoutSetBranch
in class LayoutSetBranchLocalServiceBaseImpl
layoutSetBranchId
- the primary key of the layout set branchcom.liferay.portal.kernel.exception.PortalException
- if a layout set branch with the primary key could not be foundpublic void deleteLayoutSetBranches(long groupId, boolean privateLayout) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void deleteLayoutSetBranches(long groupId, boolean privateLayout, boolean includeMaster) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.LayoutSetBranch fetchLayoutSetBranch(long groupId, boolean privateLayout, String name)
public com.liferay.portal.kernel.model.LayoutSetBranch getLayoutSetBranch(long groupId, boolean privateLayout, String name) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public List<com.liferay.portal.kernel.model.LayoutSetBranch> getLayoutSetBranches(long groupId, boolean privateLayout)
public com.liferay.portal.kernel.model.LayoutSetBranch getMasterLayoutSetBranch(long groupId, boolean privateLayout) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
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
com.liferay.portal.kernel.exception.PortalException
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
com.liferay.portal.kernel.exception.PortalException
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
com.liferay.portal.kernel.exception.PortalException
protected String getLayoutBranchName(long layoutSetBranchId, Locale locale, String mergeBranchName, String mergeLayoutSetBranchName, long plid)
protected void validate(long layoutSetBranchId, long groupId, boolean privateLayout, String name, boolean master) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException