|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.liferay.portal.service.LayoutSetServiceUtil
@ProviderType public class LayoutSetServiceUtil
Provides the remote service utility for LayoutSet. This utility wraps
com.liferay.portal.service.impl.LayoutSetServiceImpl
and is the
primary access point for service operations in application layer code running
on a remote server. Methods of this service are expected to have security
checks based on the propagated JAAS credentials because this service can be
accessed remotely.
LayoutSetService
,
LayoutSetServiceBaseImpl
,
com.liferay.portal.service.impl.LayoutSetServiceImpl
Constructor Summary | |
---|---|
LayoutSetServiceUtil()
|
Method Summary | |
---|---|
static String |
getBeanIdentifier()
Returns the Spring bean ID for this bean. |
static LayoutSetService |
getService()
|
static void |
setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean. |
void |
setService(LayoutSetService service)
Deprecated. As of 6.2.0 |
static void |
updateLayoutSetPrototypeLinkEnabled(long groupId,
boolean privateLayout,
boolean layoutSetPrototypeLinkEnabled,
String layoutSetPrototypeUuid)
Updates the state of the layout set prototype link. |
static void |
updateLogo(long groupId,
boolean privateLayout,
boolean logo,
byte[] bytes)
|
static void |
updateLogo(long groupId,
boolean privateLayout,
boolean logo,
File file)
|
static void |
updateLogo(long groupId,
boolean privateLayout,
boolean logo,
InputStream inputStream)
|
static void |
updateLogo(long groupId,
boolean privateLayout,
boolean logo,
InputStream inputStream,
boolean cleanUpStream)
|
static LayoutSet |
updateLookAndFeel(long groupId,
boolean privateLayout,
String themeId,
String colorSchemeId,
String css,
boolean wapTheme)
|
static LayoutSet |
updateSettings(long groupId,
boolean privateLayout,
String settings)
|
static LayoutSet |
updateVirtualHost(long groupId,
boolean privateLayout,
String virtualHost)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LayoutSetServiceUtil()
Method Detail |
---|
public static String getBeanIdentifier()
public static void setBeanIdentifier(String beanIdentifier)
beanIdentifier
- the Spring bean ID for this beanpublic static void updateLayoutSetPrototypeLinkEnabled(long groupId, boolean privateLayout, boolean layoutSetPrototypeLinkEnabled, String layoutSetPrototypeUuid) throws PortalException, SystemException
Important: Setting
layoutSetPrototypeLinkEnabled
to true
and
layoutSetPrototypeUuid
to null
when the layout
set prototype's current uuid is null
will result in an
IllegalStateException
.
groupId
- the primary key of the groupprivateLayout
- whether the layout set is private to the grouplayoutSetPrototypeLinkEnabled
- whether the layout set prototype is
link enabledlayoutSetPrototypeUuid
- the uuid of the layout set prototype to
link with
PortalException
- if a portal exception occurred
SystemException
- if a system exception occurredpublic static void updateLogo(long groupId, boolean privateLayout, boolean logo, byte[] bytes) throws PortalException, SystemException
PortalException
SystemException
public static void updateLogo(long groupId, boolean privateLayout, boolean logo, File file) throws PortalException, SystemException
PortalException
SystemException
public static void updateLogo(long groupId, boolean privateLayout, boolean logo, InputStream inputStream) throws PortalException, SystemException
PortalException
SystemException
public static void updateLogo(long groupId, boolean privateLayout, boolean logo, InputStream inputStream, boolean cleanUpStream) throws PortalException, SystemException
PortalException
SystemException
public static LayoutSet updateLookAndFeel(long groupId, boolean privateLayout, String themeId, String colorSchemeId, String css, boolean wapTheme) throws PortalException, SystemException
PortalException
SystemException
public static LayoutSet updateSettings(long groupId, boolean privateLayout, String settings) throws PortalException, SystemException
PortalException
SystemException
public static LayoutSet updateVirtualHost(long groupId, boolean privateLayout, String virtualHost) throws PortalException, SystemException
PortalException
SystemException
public static LayoutSetService getService()
public void setService(LayoutSetService service)
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |