com.liferay.portal.service
Class LayoutLocalServiceUtil
java.lang.Object
com.liferay.portal.service.LayoutLocalServiceUtil
- public class LayoutLocalServiceUtil
- extends java.lang.Object
View Source
ServiceBuilder generated this class. Modifications in this class will be overwritten
the next time is generated.
This class provides static methods for the com.liferay.portal.service.LayoutLocalService
bean. The static methods of this class calls the same methods of the bean instance.
It's convenient to be able to just write one line to call a method on a bean
instead of writing a lookup call and a method call.
com.liferay.portal.service.LayoutLocalServiceFactory
is responsible
for the lookup of the bean.
- Author:
- Brian Wing Shun Chan
- See Also:
LayoutLocalService
,
LayoutLocalServiceFactory
Method Summary |
static Layout |
addLayout(Layout model)
|
static Layout |
addLayout(long userId,
long groupId,
boolean privateLayout,
long parentLayoutId,
java.lang.String name,
java.lang.String title,
java.lang.String description,
java.lang.String type,
boolean hidden,
java.lang.String friendlyURL)
|
static Layout |
addLayout(long userId,
long groupId,
boolean privateLayout,
long parentLayoutId,
java.lang.String name,
java.lang.String title,
java.lang.String description,
java.lang.String type,
boolean hidden,
java.lang.String friendlyURL,
long dlFolderId)
|
static void |
deleteLayout(Layout layout,
boolean updateLayoutSet)
|
static void |
deleteLayout(long plid)
|
static void |
deleteLayout(long groupId,
boolean privateLayout,
long layoutId)
|
static void |
deleteLayouts(long groupId,
boolean privateLayout)
|
static java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
|
static java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
|
static byte[] |
exportLayouts(long groupId,
boolean privateLayout,
java.util.Map parameterMap)
|
static long |
getDefaultPlid(long groupId,
boolean privateLayout)
|
static Layout |
getDLFolderLayout(long dlFolderId)
|
static Layout |
getFriendlyURLLayout(long groupId,
boolean privateLayout,
java.lang.String friendlyURL)
|
static Layout |
getLayout(long plid)
|
static Layout |
getLayout(long groupId,
boolean privateLayout,
long layoutId)
|
static java.util.List |
getLayouts(long groupId,
boolean privateLayout)
|
static java.util.List |
getLayouts(long groupId,
boolean privateLayout,
long parentLayoutId)
|
static java.util.List |
getLayouts(long groupId,
boolean privateLayout,
long parentLayoutId,
int begin,
int end)
|
static LayoutReference[] |
getLayouts(long companyId,
java.lang.String portletId,
java.lang.String prefsKey,
java.lang.String prefsValue)
|
static void |
importLayouts(long userId,
long groupId,
boolean privateLayout,
java.util.Map parameterMap,
java.io.File file)
|
static void |
importLayouts(long userId,
long groupId,
boolean privateLayout,
java.util.Map parameterMap,
java.io.InputStream is)
|
static void |
setLayouts(long groupId,
boolean privateLayout,
long parentLayoutId,
long[] layoutIds)
|
static Layout |
updateLayout(Layout model)
|
static Layout |
updateLayout(long groupId,
boolean privateLayout,
long layoutId,
long parentLayoutId,
java.lang.String name,
java.lang.String title,
java.lang.String languageId,
java.lang.String description,
java.lang.String type,
boolean hidden,
java.lang.String friendlyURL)
|
static Layout |
updateLayout(long groupId,
boolean privateLayout,
long layoutId,
long parentLayoutId,
java.lang.String name,
java.lang.String title,
java.lang.String languageId,
java.lang.String description,
java.lang.String type,
boolean hidden,
java.lang.String friendlyURL,
java.lang.Boolean iconImage,
byte[] iconBytes)
|
static Layout |
updateLayout(long groupId,
boolean privateLayout,
long layoutId,
java.lang.String typeSettings)
|
static Layout |
updateLookAndFeel(long groupId,
boolean privateLayout,
long layoutId,
java.lang.String themeId,
java.lang.String colorSchemeId,
java.lang.String css,
boolean wapTheme)
|
static Layout |
updateName(Layout layout,
java.lang.String name,
java.lang.String languageId)
|
static Layout |
updateName(long groupId,
boolean privateLayout,
long layoutId,
java.lang.String name,
java.lang.String languageId)
|
static Layout |
updateName(long plid,
java.lang.String name,
java.lang.String languageId)
|
static Layout |
updateParentLayoutId(long groupId,
boolean privateLayout,
long layoutId,
long parentLayoutId)
|
static Layout |
updateParentLayoutId(long plid,
long parentPlid)
|
static Layout |
updatePriority(Layout layout,
int priority)
|
static Layout |
updatePriority(long groupId,
boolean privateLayout,
long layoutId,
int priority)
|
static Layout |
updatePriority(long plid,
int priority)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LayoutLocalServiceUtil
public LayoutLocalServiceUtil()
addLayout
public static Layout addLayout(Layout model)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public static java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public static java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateLayout
public static Layout updateLayout(Layout model)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addLayout
public static Layout addLayout(long userId,
long groupId,
boolean privateLayout,
long parentLayoutId,
java.lang.String name,
java.lang.String title,
java.lang.String description,
java.lang.String type,
boolean hidden,
java.lang.String friendlyURL)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addLayout
public static Layout addLayout(long userId,
long groupId,
boolean privateLayout,
long parentLayoutId,
java.lang.String name,
java.lang.String title,
java.lang.String description,
java.lang.String type,
boolean hidden,
java.lang.String friendlyURL,
long dlFolderId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteLayout
public static void deleteLayout(long plid)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteLayout
public static void deleteLayout(long groupId,
boolean privateLayout,
long layoutId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteLayout
public static void deleteLayout(Layout layout,
boolean updateLayoutSet)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteLayouts
public static void deleteLayouts(long groupId,
boolean privateLayout)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
exportLayouts
public static byte[] exportLayouts(long groupId,
boolean privateLayout,
java.util.Map parameterMap)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getDefaultPlid
public static long getDefaultPlid(long groupId,
boolean privateLayout)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getDLFolderLayout
public static Layout getDLFolderLayout(long dlFolderId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getFriendlyURLLayout
public static Layout getFriendlyURLLayout(long groupId,
boolean privateLayout,
java.lang.String friendlyURL)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getLayout
public static Layout getLayout(long plid)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getLayout
public static Layout getLayout(long groupId,
boolean privateLayout,
long layoutId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getLayouts
public static java.util.List getLayouts(long groupId,
boolean privateLayout)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getLayouts
public static java.util.List getLayouts(long groupId,
boolean privateLayout,
long parentLayoutId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getLayouts
public static java.util.List getLayouts(long groupId,
boolean privateLayout,
long parentLayoutId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getLayouts
public static LayoutReference[] getLayouts(long companyId,
java.lang.String portletId,
java.lang.String prefsKey,
java.lang.String prefsValue)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
importLayouts
public static void importLayouts(long userId,
long groupId,
boolean privateLayout,
java.util.Map parameterMap,
java.io.File file)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
importLayouts
public static void importLayouts(long userId,
long groupId,
boolean privateLayout,
java.util.Map parameterMap,
java.io.InputStream is)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
setLayouts
public static void setLayouts(long groupId,
boolean privateLayout,
long parentLayoutId,
long[] layoutIds)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateLayout
public static Layout updateLayout(long groupId,
boolean privateLayout,
long layoutId,
long parentLayoutId,
java.lang.String name,
java.lang.String title,
java.lang.String languageId,
java.lang.String description,
java.lang.String type,
boolean hidden,
java.lang.String friendlyURL)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateLayout
public static Layout updateLayout(long groupId,
boolean privateLayout,
long layoutId,
long parentLayoutId,
java.lang.String name,
java.lang.String title,
java.lang.String languageId,
java.lang.String description,
java.lang.String type,
boolean hidden,
java.lang.String friendlyURL,
java.lang.Boolean iconImage,
byte[] iconBytes)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateLayout
public static Layout updateLayout(long groupId,
boolean privateLayout,
long layoutId,
java.lang.String typeSettings)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateLookAndFeel
public static Layout updateLookAndFeel(long groupId,
boolean privateLayout,
long layoutId,
java.lang.String themeId,
java.lang.String colorSchemeId,
java.lang.String css,
boolean wapTheme)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateName
public static Layout updateName(long plid,
java.lang.String name,
java.lang.String languageId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateName
public static Layout updateName(long groupId,
boolean privateLayout,
long layoutId,
java.lang.String name,
java.lang.String languageId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateName
public static Layout updateName(Layout layout,
java.lang.String name,
java.lang.String languageId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateParentLayoutId
public static Layout updateParentLayoutId(long plid,
long parentPlid)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateParentLayoutId
public static Layout updateParentLayoutId(long groupId,
boolean privateLayout,
long layoutId,
long parentLayoutId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updatePriority
public static Layout updatePriority(long plid,
int priority)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updatePriority
public static Layout updatePriority(long groupId,
boolean privateLayout,
long layoutId,
int priority)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updatePriority
public static Layout updatePriority(Layout layout,
int priority)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException