Liferay 6.1.2-ce-ga3

com.liferay.portal.service
Interface LayoutSetService

All Superinterfaces:
BaseService
All Known Implementing Classes:
LayoutSetServiceBaseImpl, LayoutSetServiceImpl, LayoutSetServiceWrapper

@JSONWebService
@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,SystemException.class})
public interface LayoutSetService
extends BaseService

The interface for the layout set remote service.

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:
LayoutSetServiceUtil, LayoutSetServiceBaseImpl, LayoutSetServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Method Summary
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void updateLayoutSetPrototypeLinkEnabled(long groupId, boolean privateLayout, boolean layoutSetPrototypeLinkEnabled)
          Deprecated. updateLayoutSetPrototypeLinkEnabled(long, boolean, boolean, String)
 void updateLayoutSetPrototypeLinkEnabled(long groupId, boolean privateLayout, boolean layoutSetPrototypeLinkEnabled, String layoutSetPrototypeUuid)
          Updates the state of the layout set prototype link.
 void updateLogo(long groupId, boolean privateLayout, boolean logo, InputStream inputStream)
           
 void updateLogo(long groupId, boolean privateLayout, boolean logo, InputStream inputStream, boolean cleanUpStream)
           
 LayoutSet updateLookAndFeel(long groupId, boolean privateLayout, String themeId, String colorSchemeId, String css, boolean wapTheme)
           
 LayoutSet updateSettings(long groupId, boolean privateLayout, String settings)
           
 LayoutSet updateVirtualHost(long groupId, boolean privateLayout, String virtualHost)
           
 

Method Detail

getBeanIdentifier

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

Returns:
the Spring bean ID for this bean

setBeanIdentifier

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

Parameters:
beanIdentifier - the Spring bean ID for this bean

updateLayoutSetPrototypeLinkEnabled

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

Throws:
PortalException
SystemException

updateLayoutSetPrototypeLinkEnabled

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

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

updateLogo

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

updateLookAndFeel

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

updateSettings

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

updateVirtualHost

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

Liferay 6.1.2-ce-ga3