Liferay 6.1.2-ce-ga3

com.liferay.portal.service
Class LayoutSetServiceUtil

java.lang.Object
  extended by com.liferay.portal.service.LayoutSetServiceUtil

public class LayoutSetServiceUtil
extends Object

The utility for the layout set remote service. This utility wraps LayoutSetServiceImpl and is the primary access point for service operations in application layer code running on a remote server.

This is a remote service. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.

See Also:
LayoutSetService, LayoutSetServiceBaseImpl, LayoutSetServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

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.  
static void updateLayoutSetPrototypeLinkEnabled(long groupId, boolean privateLayout, boolean layoutSetPrototypeLinkEnabled)
          Deprecated. updateLayoutSetPrototypeLinkEnabled(long, boolean, boolean, String)
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, 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

LayoutSetServiceUtil

public LayoutSetServiceUtil()
Method Detail

getBeanIdentifier

public static String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Returns:
the Spring bean ID for this bean

setBeanIdentifier

public static void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Parameters:
beanIdentifier - the Spring bean ID for this bean

updateLayoutSetPrototypeLinkEnabled

public static void updateLayoutSetPrototypeLinkEnabled(long groupId,
                                                       boolean privateLayout,
                                                       boolean layoutSetPrototypeLinkEnabled)
                                                throws PortalException,
                                                       SystemException
Deprecated. updateLayoutSetPrototypeLinkEnabled(long, boolean, boolean, String)

Throws:
PortalException
SystemException

updateLayoutSetPrototypeLinkEnabled

public static void updateLayoutSetPrototypeLinkEnabled(long groupId,
                                                       boolean privateLayout,
                                                       boolean layoutSetPrototypeLinkEnabled,
                                                       String layoutSetPrototypeUuid)
                                                throws PortalException,
                                                       SystemException
Updates the state of the layout set prototype link.

Important: Setting layoutSetPrototypeLinkEnabled to true and layoutSetPrototypeUuid to null when the layout set prototype's current uuid is null will result in an IllegalStateException.

Parameters:
groupId - the primary key of the group
privateLayout - whether the layout set is private to the group
layoutSetPrototypeLinkEnabled - whether the layout set prototype is link enabled
layoutSetPrototypeUuid - the uuid of the layout set prototype to link with
Throws:
PortalException - if a portal exception occurred
SystemException - if a system exception occurred

updateLogo

public static void updateLogo(long groupId,
                              boolean privateLayout,
                              boolean logo,
                              InputStream inputStream)
                       throws PortalException,
                              SystemException
Throws:
PortalException
SystemException

updateLogo

public static void updateLogo(long groupId,
                              boolean privateLayout,
                              boolean logo,
                              InputStream inputStream,
                              boolean cleanUpStream)
                       throws PortalException,
                              SystemException
Throws:
PortalException
SystemException

updateLookAndFeel

public static LayoutSet updateLookAndFeel(long groupId,
                                          boolean privateLayout,
                                          String themeId,
                                          String colorSchemeId,
                                          String css,
                                          boolean wapTheme)
                                   throws PortalException,
                                          SystemException
Throws:
PortalException
SystemException

updateSettings

public static LayoutSet updateSettings(long groupId,
                                       boolean privateLayout,
                                       String settings)
                                throws PortalException,
                                       SystemException
Throws:
PortalException
SystemException

updateVirtualHost

public static LayoutSet updateVirtualHost(long groupId,
                                          boolean privateLayout,
                                          String virtualHost)
                                   throws PortalException,
                                          SystemException
Throws:
PortalException
SystemException

getService

public static LayoutSetService getService()

setService

public void setService(LayoutSetService service)
Deprecated. 


Liferay 6.1.2-ce-ga3