com.liferay.portal.service
Class LayoutServiceWrapper

java.lang.Object
  extended by com.liferay.portal.service.LayoutServiceWrapper
All Implemented Interfaces:
LayoutService

public class LayoutServiceWrapper
extends java.lang.Object
implements LayoutService

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This class is a wrapper for LayoutService.

Author:
Brian Wing Shun Chan
See Also:
LayoutService
Generated:

Constructor Summary
LayoutServiceWrapper(LayoutService layoutService)
           
 
Method Summary
 Layout addLayout(long groupId, boolean privateLayout, long parentLayoutId, java.util.Map<java.util.Locale,java.lang.String> localeNamesMap, java.util.Map<java.util.Locale,java.lang.String> localeTitlesMap, java.lang.String description, java.lang.String type, boolean hidden, java.lang.String friendlyURL)
           
 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, long[] layoutIds, java.util.Map<java.lang.String,java.lang.String[]> parameterMap, java.util.Date startDate, java.util.Date endDate)
           
 byte[] exportLayouts(long groupId, boolean privateLayout, java.util.Map<java.lang.String,java.lang.String[]> parameterMap, java.util.Date startDate, java.util.Date endDate)
           
 java.io.File exportLayoutsAsFile(long groupId, boolean privateLayout, long[] layoutIds, java.util.Map<java.lang.String,java.lang.String[]> parameterMap, java.util.Date startDate, java.util.Date endDate)
           
 byte[] exportPortletInfo(long plid, long groupId, java.lang.String portletId, java.util.Map<java.lang.String,java.lang.String[]> parameterMap, java.util.Date startDate, java.util.Date endDate)
           
 java.io.File exportPortletInfoAsFile(long plid, long groupId, java.lang.String portletId, java.util.Map<java.lang.String,java.lang.String[]> parameterMap, java.util.Date startDate, java.util.Date endDate)
           
 java.lang.String getLayoutName(long groupId, boolean privateLayout, long layoutId, java.lang.String languageId)
           
 LayoutReference[] getLayoutReferences(long companyId, java.lang.String portletId, java.lang.String prefsKey, java.lang.String prefsValue)
           
 LayoutService getWrappedLayoutService()
           
 void importLayouts(long groupId, boolean privateLayout, java.util.Map<java.lang.String,java.lang.String[]> parameterMap, byte[] bytes)
           
 void importLayouts(long groupId, boolean privateLayout, java.util.Map<java.lang.String,java.lang.String[]> parameterMap, java.io.File file)
           
 void importLayouts(long groupId, boolean privateLayout, java.util.Map<java.lang.String,java.lang.String[]> parameterMap, java.io.InputStream is)
           
 void importPortletInfo(long plid, long groupId, java.lang.String portletId, java.util.Map<java.lang.String,java.lang.String[]> parameterMap, java.io.File file)
           
 void importPortletInfo(long plid, long groupId, java.lang.String portletId, java.util.Map<java.lang.String,java.lang.String[]> parameterMap, java.io.InputStream is)
           
 void schedulePublishToLive(long sourceGroupId, long targetGroupId, boolean privateLayout, java.util.Map<java.lang.Long,java.lang.Boolean> layoutIdMap, java.util.Map<java.lang.String,java.lang.String[]> parameterMap, java.lang.String scope, java.util.Date startDate, java.util.Date endDate, java.lang.String groupName, java.lang.String cronText, java.util.Date schedulerStartDate, java.util.Date schedulerEndDate, java.lang.String description)
           
 void schedulePublishToRemote(long sourceGroupId, boolean privateLayout, java.util.Map<java.lang.Long,java.lang.Boolean> layoutIdMap, java.util.Map<java.lang.String,java.lang.String[]> parameterMap, java.lang.String remoteAddress, int remotePort, boolean secureConnection, long remoteGroupId, boolean remotePrivateLayout, java.util.Date startDate, java.util.Date endDate, java.lang.String groupName, java.lang.String cronText, java.util.Date schedulerStartDate, java.util.Date schedulerEndDate, java.lang.String description)
           
 void setLayouts(long groupId, boolean privateLayout, long parentLayoutId, long[] layoutIds)
           
 void unschedulePublishToLive(long groupId, java.lang.String jobName, java.lang.String groupName)
           
 void unschedulePublishToRemote(long groupId, java.lang.String jobName, java.lang.String groupName)
           
 Layout updateLayout(long groupId, boolean privateLayout, long layoutId, long parentLayoutId, java.util.Map<java.util.Locale,java.lang.String> localeNamesMap, java.util.Map<java.util.Locale,java.lang.String> localeTitlesMap, java.lang.String description, java.lang.String type, boolean hidden, java.lang.String friendlyURL)
           
 Layout updateLayout(long groupId, boolean privateLayout, long layoutId, long parentLayoutId, java.util.Map<java.util.Locale,java.lang.String> localeNamesMap, java.util.Map<java.util.Locale,java.lang.String> localeTitlesMap, java.lang.String description, java.lang.String type, boolean hidden, java.lang.String friendlyURL, java.lang.Boolean iconImage, byte[] iconBytes)
           
 Layout updateLayout(long groupId, boolean privateLayout, long layoutId, java.lang.String typeSettings)
           
 Layout updateLookAndFeel(long groupId, boolean privateLayout, long layoutId, java.lang.String themeId, java.lang.String colorSchemeId, java.lang.String css, boolean wapTheme)
           
 Layout updateName(long groupId, boolean privateLayout, long layoutId, java.lang.String name, java.lang.String languageId)
           
 Layout updateName(long plid, java.lang.String name, java.lang.String languageId)
           
 Layout updateParentLayoutId(long groupId, boolean privateLayout, long layoutId, long parentLayoutId)
           
 Layout updateParentLayoutId(long plid, long parentPlid)
           
 Layout updatePriority(long groupId, boolean privateLayout, long layoutId, int priority)
           
 Layout updatePriority(long plid, int priority)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LayoutServiceWrapper

public LayoutServiceWrapper(LayoutService layoutService)
Method Detail

addLayout

public Layout addLayout(long groupId,
                        boolean privateLayout,
                        long parentLayoutId,
                        java.util.Map<java.util.Locale,java.lang.String> localeNamesMap,
                        java.util.Map<java.util.Locale,java.lang.String> localeTitlesMap,
                        java.lang.String description,
                        java.lang.String type,
                        boolean hidden,
                        java.lang.String friendlyURL)
                 throws com.liferay.portal.PortalException,
                        com.liferay.portal.SystemException,
                        java.rmi.RemoteException
Specified by:
addLayout in interface LayoutService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

addLayout

public 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,
                        java.rmi.RemoteException
Specified by:
addLayout in interface LayoutService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

deleteLayout

public void deleteLayout(long plid)
                  throws com.liferay.portal.PortalException,
                         com.liferay.portal.SystemException,
                         java.rmi.RemoteException
Specified by:
deleteLayout in interface LayoutService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

deleteLayout

public void deleteLayout(long groupId,
                         boolean privateLayout,
                         long layoutId)
                  throws com.liferay.portal.PortalException,
                         com.liferay.portal.SystemException,
                         java.rmi.RemoteException
Specified by:
deleteLayout in interface LayoutService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

exportLayouts

public byte[] exportLayouts(long groupId,
                            boolean privateLayout,
                            long[] layoutIds,
                            java.util.Map<java.lang.String,java.lang.String[]> parameterMap,
                            java.util.Date startDate,
                            java.util.Date endDate)
                     throws com.liferay.portal.PortalException,
                            com.liferay.portal.SystemException,
                            java.rmi.RemoteException
Specified by:
exportLayouts in interface LayoutService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

exportLayouts

public byte[] exportLayouts(long groupId,
                            boolean privateLayout,
                            java.util.Map<java.lang.String,java.lang.String[]> parameterMap,
                            java.util.Date startDate,
                            java.util.Date endDate)
                     throws com.liferay.portal.PortalException,
                            com.liferay.portal.SystemException,
                            java.rmi.RemoteException
Specified by:
exportLayouts in interface LayoutService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

exportLayoutsAsFile

public java.io.File exportLayoutsAsFile(long groupId,
                                        boolean privateLayout,
                                        long[] layoutIds,
                                        java.util.Map<java.lang.String,java.lang.String[]> parameterMap,
                                        java.util.Date startDate,
                                        java.util.Date endDate)
                                 throws com.liferay.portal.PortalException,
                                        com.liferay.portal.SystemException,
                                        java.rmi.RemoteException
Specified by:
exportLayoutsAsFile in interface LayoutService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

exportPortletInfo

public byte[] exportPortletInfo(long plid,
                                long groupId,
                                java.lang.String portletId,
                                java.util.Map<java.lang.String,java.lang.String[]> parameterMap,
                                java.util.Date startDate,
                                java.util.Date endDate)
                         throws com.liferay.portal.PortalException,
                                com.liferay.portal.SystemException,
                                java.rmi.RemoteException
Specified by:
exportPortletInfo in interface LayoutService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

exportPortletInfoAsFile

public java.io.File exportPortletInfoAsFile(long plid,
                                            long groupId,
                                            java.lang.String portletId,
                                            java.util.Map<java.lang.String,java.lang.String[]> parameterMap,
                                            java.util.Date startDate,
                                            java.util.Date endDate)
                                     throws com.liferay.portal.PortalException,
                                            com.liferay.portal.SystemException,
                                            java.rmi.RemoteException
Specified by:
exportPortletInfoAsFile in interface LayoutService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

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,
                                      java.rmi.RemoteException
Specified by:
getLayoutName in interface LayoutService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

getLayoutReferences

public LayoutReference[] getLayoutReferences(long companyId,
                                             java.lang.String portletId,
                                             java.lang.String prefsKey,
                                             java.lang.String prefsValue)
                                      throws com.liferay.portal.SystemException,
                                             java.rmi.RemoteException
Specified by:
getLayoutReferences in interface LayoutService
Throws:
com.liferay.portal.SystemException
java.rmi.RemoteException

importLayouts

public void importLayouts(long groupId,
                          boolean privateLayout,
                          java.util.Map<java.lang.String,java.lang.String[]> parameterMap,
                          byte[] bytes)
                   throws com.liferay.portal.PortalException,
                          com.liferay.portal.SystemException,
                          java.rmi.RemoteException
Specified by:
importLayouts in interface LayoutService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

importLayouts

public void importLayouts(long groupId,
                          boolean privateLayout,
                          java.util.Map<java.lang.String,java.lang.String[]> parameterMap,
                          java.io.File file)
                   throws com.liferay.portal.PortalException,
                          com.liferay.portal.SystemException,
                          java.rmi.RemoteException
Specified by:
importLayouts in interface LayoutService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

importLayouts

public void importLayouts(long groupId,
                          boolean privateLayout,
                          java.util.Map<java.lang.String,java.lang.String[]> parameterMap,
                          java.io.InputStream is)
                   throws com.liferay.portal.PortalException,
                          com.liferay.portal.SystemException,
                          java.rmi.RemoteException
Specified by:
importLayouts in interface LayoutService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

importPortletInfo

public void importPortletInfo(long plid,
                              long groupId,
                              java.lang.String portletId,
                              java.util.Map<java.lang.String,java.lang.String[]> parameterMap,
                              java.io.File file)
                       throws com.liferay.portal.PortalException,
                              com.liferay.portal.SystemException,
                              java.rmi.RemoteException
Specified by:
importPortletInfo in interface LayoutService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

importPortletInfo

public void importPortletInfo(long plid,
                              long groupId,
                              java.lang.String portletId,
                              java.util.Map<java.lang.String,java.lang.String[]> parameterMap,
                              java.io.InputStream is)
                       throws com.liferay.portal.PortalException,
                              com.liferay.portal.SystemException,
                              java.rmi.RemoteException
Specified by:
importPortletInfo in interface LayoutService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

schedulePublishToLive

public void schedulePublishToLive(long sourceGroupId,
                                  long targetGroupId,
                                  boolean privateLayout,
                                  java.util.Map<java.lang.Long,java.lang.Boolean> layoutIdMap,
                                  java.util.Map<java.lang.String,java.lang.String[]> parameterMap,
                                  java.lang.String scope,
                                  java.util.Date startDate,
                                  java.util.Date endDate,
                                  java.lang.String groupName,
                                  java.lang.String cronText,
                                  java.util.Date schedulerStartDate,
                                  java.util.Date schedulerEndDate,
                                  java.lang.String description)
                           throws com.liferay.portal.PortalException,
                                  com.liferay.portal.SystemException,
                                  java.rmi.RemoteException
Specified by:
schedulePublishToLive in interface LayoutService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

schedulePublishToRemote

public void schedulePublishToRemote(long sourceGroupId,
                                    boolean privateLayout,
                                    java.util.Map<java.lang.Long,java.lang.Boolean> layoutIdMap,
                                    java.util.Map<java.lang.String,java.lang.String[]> parameterMap,
                                    java.lang.String remoteAddress,
                                    int remotePort,
                                    boolean secureConnection,
                                    long remoteGroupId,
                                    boolean remotePrivateLayout,
                                    java.util.Date startDate,
                                    java.util.Date endDate,
                                    java.lang.String groupName,
                                    java.lang.String cronText,
                                    java.util.Date schedulerStartDate,
                                    java.util.Date schedulerEndDate,
                                    java.lang.String description)
                             throws com.liferay.portal.PortalException,
                                    com.liferay.portal.SystemException,
                                    java.rmi.RemoteException
Specified by:
schedulePublishToRemote in interface LayoutService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

setLayouts

public void setLayouts(long groupId,
                       boolean privateLayout,
                       long parentLayoutId,
                       long[] layoutIds)
                throws com.liferay.portal.PortalException,
                       com.liferay.portal.SystemException,
                       java.rmi.RemoteException
Specified by:
setLayouts in interface LayoutService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

unschedulePublishToLive

public void unschedulePublishToLive(long groupId,
                                    java.lang.String jobName,
                                    java.lang.String groupName)
                             throws com.liferay.portal.PortalException,
                                    com.liferay.portal.SystemException,
                                    java.rmi.RemoteException
Specified by:
unschedulePublishToLive in interface LayoutService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

unschedulePublishToRemote

public void unschedulePublishToRemote(long groupId,
                                      java.lang.String jobName,
                                      java.lang.String groupName)
                               throws com.liferay.portal.PortalException,
                                      com.liferay.portal.SystemException,
                                      java.rmi.RemoteException
Specified by:
unschedulePublishToRemote in interface LayoutService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

updateLayout

public Layout updateLayout(long groupId,
                           boolean privateLayout,
                           long layoutId,
                           long parentLayoutId,
                           java.util.Map<java.util.Locale,java.lang.String> localeNamesMap,
                           java.util.Map<java.util.Locale,java.lang.String> localeTitlesMap,
                           java.lang.String description,
                           java.lang.String type,
                           boolean hidden,
                           java.lang.String friendlyURL)
                    throws com.liferay.portal.PortalException,
                           com.liferay.portal.SystemException,
                           java.rmi.RemoteException
Specified by:
updateLayout in interface LayoutService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

updateLayout

public Layout updateLayout(long groupId,
                           boolean privateLayout,
                           long layoutId,
                           long parentLayoutId,
                           java.util.Map<java.util.Locale,java.lang.String> localeNamesMap,
                           java.util.Map<java.util.Locale,java.lang.String> localeTitlesMap,
                           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,
                           java.rmi.RemoteException
Specified by:
updateLayout in interface LayoutService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

updateLayout

public Layout updateLayout(long groupId,
                           boolean privateLayout,
                           long layoutId,
                           java.lang.String typeSettings)
                    throws com.liferay.portal.PortalException,
                           com.liferay.portal.SystemException,
                           java.rmi.RemoteException
Specified by:
updateLayout in interface LayoutService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

updateLookAndFeel

public 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,
                                java.rmi.RemoteException
Specified by:
updateLookAndFeel in interface LayoutService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

updateName

public 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,
                         java.rmi.RemoteException
Specified by:
updateName in interface LayoutService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

updateName

public Layout updateName(long plid,
                         java.lang.String name,
                         java.lang.String languageId)
                  throws com.liferay.portal.PortalException,
                         com.liferay.portal.SystemException,
                         java.rmi.RemoteException
Specified by:
updateName in interface LayoutService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

updateParentLayoutId

public Layout updateParentLayoutId(long groupId,
                                   boolean privateLayout,
                                   long layoutId,
                                   long parentLayoutId)
                            throws com.liferay.portal.PortalException,
                                   com.liferay.portal.SystemException,
                                   java.rmi.RemoteException
Specified by:
updateParentLayoutId in interface LayoutService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

updateParentLayoutId

public Layout updateParentLayoutId(long plid,
                                   long parentPlid)
                            throws com.liferay.portal.PortalException,
                                   com.liferay.portal.SystemException,
                                   java.rmi.RemoteException
Specified by:
updateParentLayoutId in interface LayoutService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

updatePriority

public Layout updatePriority(long groupId,
                             boolean privateLayout,
                             long layoutId,
                             int priority)
                      throws com.liferay.portal.PortalException,
                             com.liferay.portal.SystemException,
                             java.rmi.RemoteException
Specified by:
updatePriority in interface LayoutService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

updatePriority

public Layout updatePriority(long plid,
                             int priority)
                      throws com.liferay.portal.PortalException,
                             com.liferay.portal.SystemException,
                             java.rmi.RemoteException
Specified by:
updatePriority in interface LayoutService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

getWrappedLayoutService

public LayoutService getWrappedLayoutService()