Liferay 7.0-ce-b4

com.liferay.portal.service
Class LayoutSetServiceWrapper

java.lang.Object
  extended by com.liferay.portal.service.LayoutSetServiceWrapper
All Implemented Interfaces:
BaseService, LayoutSetService, ServiceWrapper<LayoutSetService>

@ProviderType
public class LayoutSetServiceWrapper
extends Object
implements LayoutSetService, ServiceWrapper<LayoutSetService>

Provides a wrapper for LayoutSetService.

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

Constructor Summary
LayoutSetServiceWrapper(LayoutSetService layoutSetService)
           
 
Method Summary
 String getOSGiServiceIdentifier()
          Returns the OSGi service identifier.
 LayoutSetService getWrappedService()
           
 void setWrappedService(LayoutSetService layoutSetService)
           
 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, byte[] bytes)
           
 void updateLogo(long groupId, boolean privateLayout, boolean logo, File file)
           
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LayoutSetServiceWrapper

public LayoutSetServiceWrapper(LayoutSetService layoutSetService)
Method Detail

getOSGiServiceIdentifier

public String getOSGiServiceIdentifier()
Returns the OSGi service identifier.

Specified by:
getOSGiServiceIdentifier in interface LayoutSetService
Returns:
the OSGi service identifier

updateLayoutSetPrototypeLinkEnabled

public void updateLayoutSetPrototypeLinkEnabled(long groupId,
                                                boolean privateLayout,
                                                boolean layoutSetPrototypeLinkEnabled,
                                                String layoutSetPrototypeUuid)
                                         throws PortalException
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.

Specified by:
updateLayoutSetPrototypeLinkEnabled in interface LayoutSetService
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

updateLogo

public void updateLogo(long groupId,
                       boolean privateLayout,
                       boolean logo,
                       byte[] bytes)
                throws PortalException
Specified by:
updateLogo in interface LayoutSetService
Throws:
PortalException

updateLogo

public void updateLogo(long groupId,
                       boolean privateLayout,
                       boolean logo,
                       File file)
                throws PortalException
Specified by:
updateLogo in interface LayoutSetService
Throws:
PortalException

updateLogo

public void updateLogo(long groupId,
                       boolean privateLayout,
                       boolean logo,
                       InputStream inputStream)
                throws PortalException
Specified by:
updateLogo in interface LayoutSetService
Throws:
PortalException

updateLogo

public void updateLogo(long groupId,
                       boolean privateLayout,
                       boolean logo,
                       InputStream inputStream,
                       boolean cleanUpStream)
                throws PortalException
Specified by:
updateLogo in interface LayoutSetService
Throws:
PortalException

updateLookAndFeel

public LayoutSet updateLookAndFeel(long groupId,
                                   boolean privateLayout,
                                   String themeId,
                                   String colorSchemeId,
                                   String css,
                                   boolean wapTheme)
                            throws PortalException
Specified by:
updateLookAndFeel in interface LayoutSetService
Throws:
PortalException

updateSettings

public LayoutSet updateSettings(long groupId,
                                boolean privateLayout,
                                String settings)
                         throws PortalException
Specified by:
updateSettings in interface LayoutSetService
Throws:
PortalException

updateVirtualHost

public LayoutSet updateVirtualHost(long groupId,
                                   boolean privateLayout,
                                   String virtualHost)
                            throws PortalException
Specified by:
updateVirtualHost in interface LayoutSetService
Throws:
PortalException

getWrappedService

public LayoutSetService getWrappedService()
Specified by:
getWrappedService in interface ServiceWrapper<LayoutSetService>

setWrappedService

public void setWrappedService(LayoutSetService layoutSetService)
Specified by:
setWrappedService in interface ServiceWrapper<LayoutSetService>

Liferay 7.0-ce-b4