com.liferay.portal.service.impl
Class LayoutServiceImpl
java.lang.Object
com.liferay.portal.service.impl.PrincipalBean
com.liferay.portal.service.impl.LayoutServiceImpl
- All Implemented Interfaces:
- com.liferay.portal.service.LayoutService
- public class LayoutServiceImpl
- extends PrincipalBean
- implements com.liferay.portal.service.LayoutService
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
com.liferay.portal.model.Layout |
addLayout(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)
|
void |
deleteLayout(long plid)
|
void |
deleteLayout(long groupId,
boolean privateLayout,
long layoutId)
|
byte[] |
exportLayouts(long groupId,
boolean privateLayout,
java.util.Map parameterMap)
|
java.lang.String |
getLayoutName(long groupId,
boolean privateLayout,
long layoutId,
java.lang.String languageId)
|
com.liferay.portal.model.LayoutReference[] |
getLayoutReferences(long companyId,
java.lang.String portletId,
java.lang.String prefsKey,
java.lang.String prefsValue)
|
void |
importLayouts(long groupId,
boolean privateLayout,
java.util.Map parameterMap,
java.io.File file)
|
void |
setLayouts(long groupId,
boolean privateLayout,
long parentLayoutId,
long[] layoutIds)
|
com.liferay.portal.model.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)
|
com.liferay.portal.model.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)
|
com.liferay.portal.model.Layout |
updateLayout(long groupId,
boolean privateLayout,
long layoutId,
java.lang.String typeSettings)
|
com.liferay.portal.model.Layout |
updateLookAndFeel(long groupId,
boolean privateLayout,
long layoutId,
java.lang.String themeId,
java.lang.String colorSchemeId,
java.lang.String css,
boolean wapTheme)
|
com.liferay.portal.model.Layout |
updateName(long groupId,
boolean privateLayout,
long layoutId,
java.lang.String name,
java.lang.String languageId)
|
com.liferay.portal.model.Layout |
updateName(long plid,
java.lang.String name,
java.lang.String languageId)
|
com.liferay.portal.model.Layout |
updateParentLayoutId(long groupId,
boolean privateLayout,
long layoutId,
long parentLayoutId)
|
com.liferay.portal.model.Layout |
updateParentLayoutId(long plid,
long parentPlid)
|
com.liferay.portal.model.Layout |
updatePriority(long groupId,
boolean privateLayout,
long layoutId,
int priority)
|
com.liferay.portal.model.Layout |
updatePriority(long plid,
int priority)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LayoutServiceImpl
public LayoutServiceImpl()
addLayout
public com.liferay.portal.model.Layout addLayout(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
- Specified by:
addLayout
in interface com.liferay.portal.service.LayoutService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteLayout
public void deleteLayout(long plid)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
deleteLayout
in interface com.liferay.portal.service.LayoutService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteLayout
public void deleteLayout(long groupId,
boolean privateLayout,
long layoutId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
deleteLayout
in interface com.liferay.portal.service.LayoutService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getLayoutName
public java.lang.String getLayoutName(long groupId,
boolean privateLayout,
long layoutId,
java.lang.String languageId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
getLayoutName
in interface com.liferay.portal.service.LayoutService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getLayoutReferences
public com.liferay.portal.model.LayoutReference[] getLayoutReferences(long companyId,
java.lang.String portletId,
java.lang.String prefsKey,
java.lang.String prefsValue)
throws com.liferay.portal.SystemException
- Specified by:
getLayoutReferences
in interface com.liferay.portal.service.LayoutService
- Throws:
com.liferay.portal.SystemException
exportLayouts
public byte[] exportLayouts(long groupId,
boolean privateLayout,
java.util.Map parameterMap)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
exportLayouts
in interface com.liferay.portal.service.LayoutService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
importLayouts
public void importLayouts(long groupId,
boolean privateLayout,
java.util.Map parameterMap,
java.io.File file)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
importLayouts
in interface com.liferay.portal.service.LayoutService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
setLayouts
public void setLayouts(long groupId,
boolean privateLayout,
long parentLayoutId,
long[] layoutIds)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
setLayouts
in interface com.liferay.portal.service.LayoutService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateLayout
public com.liferay.portal.model.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
- Specified by:
updateLayout
in interface com.liferay.portal.service.LayoutService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateLayout
public com.liferay.portal.model.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
- Specified by:
updateLayout
in interface com.liferay.portal.service.LayoutService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateLayout
public com.liferay.portal.model.Layout updateLayout(long groupId,
boolean privateLayout,
long layoutId,
java.lang.String typeSettings)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
updateLayout
in interface com.liferay.portal.service.LayoutService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateLookAndFeel
public com.liferay.portal.model.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
- Specified by:
updateLookAndFeel
in interface com.liferay.portal.service.LayoutService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateName
public com.liferay.portal.model.Layout updateName(long plid,
java.lang.String name,
java.lang.String languageId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
updateName
in interface com.liferay.portal.service.LayoutService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateName
public com.liferay.portal.model.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
- Specified by:
updateName
in interface com.liferay.portal.service.LayoutService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateParentLayoutId
public com.liferay.portal.model.Layout updateParentLayoutId(long plid,
long parentPlid)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
updateParentLayoutId
in interface com.liferay.portal.service.LayoutService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateParentLayoutId
public com.liferay.portal.model.Layout updateParentLayoutId(long groupId,
boolean privateLayout,
long layoutId,
long parentLayoutId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
updateParentLayoutId
in interface com.liferay.portal.service.LayoutService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updatePriority
public com.liferay.portal.model.Layout updatePriority(long plid,
int priority)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
updatePriority
in interface com.liferay.portal.service.LayoutService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updatePriority
public com.liferay.portal.model.Layout updatePriority(long groupId,
boolean privateLayout,
long layoutId,
int priority)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
updatePriority
in interface com.liferay.portal.service.LayoutService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException