Liferay 6.0.5

com.liferay.portal.service
Class LayoutServiceWrapper

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

public class LayoutServiceWrapper
extends Object
implements LayoutService

This class is a wrapper for LayoutService.

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

Constructor Summary
LayoutServiceWrapper(LayoutService layoutService)
           
 
Method Summary
 Layout addLayout(long groupId, boolean privateLayout, long parentLayoutId, Map<Locale,String> localeNamesMap, Map<Locale,String> localeTitlesMap, String description, String type, boolean hidden, String friendlyURL, ServiceContext serviceContext)
           
 Layout addLayout(long groupId, boolean privateLayout, long parentLayoutId, String name, String title, String description, String type, boolean hidden, String friendlyURL, ServiceContext serviceContext)
           
 void deleteLayout(long plid)
           
 void deleteLayout(long groupId, boolean privateLayout, long layoutId)
           
 byte[] exportLayouts(long groupId, boolean privateLayout, long[] layoutIds, Map<String,String[]> parameterMap, Date startDate, Date endDate)
           
 byte[] exportLayouts(long groupId, boolean privateLayout, Map<String,String[]> parameterMap, Date startDate, Date endDate)
           
 File exportLayoutsAsFile(long groupId, boolean privateLayout, long[] layoutIds, Map<String,String[]> parameterMap, Date startDate, Date endDate)
           
 byte[] exportPortletInfo(long plid, long groupId, String portletId, Map<String,String[]> parameterMap, Date startDate, Date endDate)
           
 File exportPortletInfoAsFile(long plid, long groupId, String portletId, Map<String,String[]> parameterMap, Date startDate, Date endDate)
           
 String getLayoutName(long groupId, boolean privateLayout, long layoutId, String languageId)
           
 LayoutReference[] getLayoutReferences(long companyId, String portletId, String preferencesKey, String preferencesValue)
           
 LayoutService getWrappedLayoutService()
           
 void importLayouts(long groupId, boolean privateLayout, Map<String,String[]> parameterMap, byte[] bytes)
           
 void importLayouts(long groupId, boolean privateLayout, Map<String,String[]> parameterMap, File file)
           
 void importLayouts(long groupId, boolean privateLayout, Map<String,String[]> parameterMap, InputStream is)
           
 void importPortletInfo(long plid, long groupId, String portletId, Map<String,String[]> parameterMap, File file)
           
 void importPortletInfo(long plid, long groupId, String portletId, Map<String,String[]> parameterMap, InputStream is)
           
 void schedulePublishToLive(long sourceGroupId, long targetGroupId, boolean privateLayout, Map<Long,Boolean> layoutIdMap, Map<String,String[]> parameterMap, String scope, Date startDate, Date endDate, String groupName, String cronText, Date schedulerStartDate, Date schedulerEndDate, String description)
           
 void schedulePublishToRemote(long sourceGroupId, boolean privateLayout, Map<Long,Boolean> layoutIdMap, Map<String,String[]> parameterMap, String remoteAddress, int remotePort, boolean secureConnection, long remoteGroupId, boolean remotePrivateLayout, Date startDate, Date endDate, String groupName, String cronText, Date schedulerStartDate, Date schedulerEndDate, String description)
           
 void setLayouts(long groupId, boolean privateLayout, long parentLayoutId, long[] layoutIds)
           
 void unschedulePublishToLive(long groupId, String jobName, String groupName)
           
 void unschedulePublishToRemote(long groupId, String jobName, String groupName)
           
 Layout updateLayout(long groupId, boolean privateLayout, long layoutId, long parentLayoutId, Map<Locale,String> localeNamesMap, Map<Locale,String> localeTitlesMap, String description, String type, boolean hidden, String friendlyURL, Boolean iconImage, byte[] iconBytes, ServiceContext serviceContext)
           
 Layout updateLayout(long groupId, boolean privateLayout, long layoutId, long parentLayoutId, Map<Locale,String> localeNamesMap, Map<Locale,String> localeTitlesMap, String description, String type, boolean hidden, String friendlyURL, ServiceContext serviceContext)
           
 Layout updateLayout(long groupId, boolean privateLayout, long layoutId, String typeSettings)
           
 Layout updateLookAndFeel(long groupId, boolean privateLayout, long layoutId, String themeId, String colorSchemeId, String css, boolean wapTheme)
           
 Layout updateName(long groupId, boolean privateLayout, long layoutId, String name, String languageId)
           
 Layout updateName(long plid, String name, 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,
                        Map<Locale,String> localeNamesMap,
                        Map<Locale,String> localeTitlesMap,
                        String description,
                        String type,
                        boolean hidden,
                        String friendlyURL,
                        ServiceContext serviceContext)
                 throws PortalException,
                        SystemException
Specified by:
addLayout in interface LayoutService
Throws:
PortalException
SystemException

addLayout

public Layout addLayout(long groupId,
                        boolean privateLayout,
                        long parentLayoutId,
                        String name,
                        String title,
                        String description,
                        String type,
                        boolean hidden,
                        String friendlyURL,
                        ServiceContext serviceContext)
                 throws PortalException,
                        SystemException
Specified by:
addLayout in interface LayoutService
Throws:
PortalException
SystemException

deleteLayout

public void deleteLayout(long plid)
                  throws PortalException,
                         SystemException
Specified by:
deleteLayout in interface LayoutService
Throws:
PortalException
SystemException

deleteLayout

public void deleteLayout(long groupId,
                         boolean privateLayout,
                         long layoutId)
                  throws PortalException,
                         SystemException
Specified by:
deleteLayout in interface LayoutService
Throws:
PortalException
SystemException

exportLayouts

public byte[] exportLayouts(long groupId,
                            boolean privateLayout,
                            long[] layoutIds,
                            Map<String,String[]> parameterMap,
                            Date startDate,
                            Date endDate)
                     throws PortalException,
                            SystemException
Specified by:
exportLayouts in interface LayoutService
Throws:
PortalException
SystemException

exportLayouts

public byte[] exportLayouts(long groupId,
                            boolean privateLayout,
                            Map<String,String[]> parameterMap,
                            Date startDate,
                            Date endDate)
                     throws PortalException,
                            SystemException
Specified by:
exportLayouts in interface LayoutService
Throws:
PortalException
SystemException

exportLayoutsAsFile

public File exportLayoutsAsFile(long groupId,
                                boolean privateLayout,
                                long[] layoutIds,
                                Map<String,String[]> parameterMap,
                                Date startDate,
                                Date endDate)
                         throws PortalException,
                                SystemException
Specified by:
exportLayoutsAsFile in interface LayoutService
Throws:
PortalException
SystemException

exportPortletInfo

public byte[] exportPortletInfo(long plid,
                                long groupId,
                                String portletId,
                                Map<String,String[]> parameterMap,
                                Date startDate,
                                Date endDate)
                         throws PortalException,
                                SystemException
Specified by:
exportPortletInfo in interface LayoutService
Throws:
PortalException
SystemException

exportPortletInfoAsFile

public File exportPortletInfoAsFile(long plid,
                                    long groupId,
                                    String portletId,
                                    Map<String,String[]> parameterMap,
                                    Date startDate,
                                    Date endDate)
                             throws PortalException,
                                    SystemException
Specified by:
exportPortletInfoAsFile in interface LayoutService
Throws:
PortalException
SystemException

getLayoutName

public String getLayoutName(long groupId,
                            boolean privateLayout,
                            long layoutId,
                            String languageId)
                     throws PortalException,
                            SystemException
Specified by:
getLayoutName in interface LayoutService
Throws:
PortalException
SystemException

getLayoutReferences

public LayoutReference[] getLayoutReferences(long companyId,
                                             String portletId,
                                             String preferencesKey,
                                             String preferencesValue)
                                      throws SystemException
Specified by:
getLayoutReferences in interface LayoutService
Throws:
SystemException

importLayouts

public void importLayouts(long groupId,
                          boolean privateLayout,
                          Map<String,String[]> parameterMap,
                          byte[] bytes)
                   throws PortalException,
                          SystemException
Specified by:
importLayouts in interface LayoutService
Throws:
PortalException
SystemException

importLayouts

public void importLayouts(long groupId,
                          boolean privateLayout,
                          Map<String,String[]> parameterMap,
                          File file)
                   throws PortalException,
                          SystemException
Specified by:
importLayouts in interface LayoutService
Throws:
PortalException
SystemException

importLayouts

public void importLayouts(long groupId,
                          boolean privateLayout,
                          Map<String,String[]> parameterMap,
                          InputStream is)
                   throws PortalException,
                          SystemException
Specified by:
importLayouts in interface LayoutService
Throws:
PortalException
SystemException

importPortletInfo

public void importPortletInfo(long plid,
                              long groupId,
                              String portletId,
                              Map<String,String[]> parameterMap,
                              File file)
                       throws PortalException,
                              SystemException
Specified by:
importPortletInfo in interface LayoutService
Throws:
PortalException
SystemException

importPortletInfo

public void importPortletInfo(long plid,
                              long groupId,
                              String portletId,
                              Map<String,String[]> parameterMap,
                              InputStream is)
                       throws PortalException,
                              SystemException
Specified by:
importPortletInfo in interface LayoutService
Throws:
PortalException
SystemException

schedulePublishToLive

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

schedulePublishToRemote

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

setLayouts

public void setLayouts(long groupId,
                       boolean privateLayout,
                       long parentLayoutId,
                       long[] layoutIds)
                throws PortalException,
                       SystemException
Specified by:
setLayouts in interface LayoutService
Throws:
PortalException
SystemException

unschedulePublishToLive

public void unschedulePublishToLive(long groupId,
                                    String jobName,
                                    String groupName)
                             throws PortalException,
                                    SystemException
Specified by:
unschedulePublishToLive in interface LayoutService
Throws:
PortalException
SystemException

unschedulePublishToRemote

public void unschedulePublishToRemote(long groupId,
                                      String jobName,
                                      String groupName)
                               throws PortalException,
                                      SystemException
Specified by:
unschedulePublishToRemote in interface LayoutService
Throws:
PortalException
SystemException

updateLayout

public Layout updateLayout(long groupId,
                           boolean privateLayout,
                           long layoutId,
                           long parentLayoutId,
                           Map<Locale,String> localeNamesMap,
                           Map<Locale,String> localeTitlesMap,
                           String description,
                           String type,
                           boolean hidden,
                           String friendlyURL,
                           Boolean iconImage,
                           byte[] iconBytes,
                           ServiceContext serviceContext)
                    throws PortalException,
                           SystemException
Specified by:
updateLayout in interface LayoutService
Throws:
PortalException
SystemException

updateLayout

public Layout updateLayout(long groupId,
                           boolean privateLayout,
                           long layoutId,
                           long parentLayoutId,
                           Map<Locale,String> localeNamesMap,
                           Map<Locale,String> localeTitlesMap,
                           String description,
                           String type,
                           boolean hidden,
                           String friendlyURL,
                           ServiceContext serviceContext)
                    throws PortalException,
                           SystemException
Specified by:
updateLayout in interface LayoutService
Throws:
PortalException
SystemException

updateLayout

public Layout updateLayout(long groupId,
                           boolean privateLayout,
                           long layoutId,
                           String typeSettings)
                    throws PortalException,
                           SystemException
Specified by:
updateLayout in interface LayoutService
Throws:
PortalException
SystemException

updateLookAndFeel

public Layout updateLookAndFeel(long groupId,
                                boolean privateLayout,
                                long layoutId,
                                String themeId,
                                String colorSchemeId,
                                String css,
                                boolean wapTheme)
                         throws PortalException,
                                SystemException
Specified by:
updateLookAndFeel in interface LayoutService
Throws:
PortalException
SystemException

updateName

public Layout updateName(long groupId,
                         boolean privateLayout,
                         long layoutId,
                         String name,
                         String languageId)
                  throws PortalException,
                         SystemException
Specified by:
updateName in interface LayoutService
Throws:
PortalException
SystemException

updateName

public Layout updateName(long plid,
                         String name,
                         String languageId)
                  throws PortalException,
                         SystemException
Specified by:
updateName in interface LayoutService
Throws:
PortalException
SystemException

updateParentLayoutId

public Layout updateParentLayoutId(long groupId,
                                   boolean privateLayout,
                                   long layoutId,
                                   long parentLayoutId)
                            throws PortalException,
                                   SystemException
Specified by:
updateParentLayoutId in interface LayoutService
Throws:
PortalException
SystemException

updateParentLayoutId

public Layout updateParentLayoutId(long plid,
                                   long parentPlid)
                            throws PortalException,
                                   SystemException
Specified by:
updateParentLayoutId in interface LayoutService
Throws:
PortalException
SystemException

updatePriority

public Layout updatePriority(long groupId,
                             boolean privateLayout,
                             long layoutId,
                             int priority)
                      throws PortalException,
                             SystemException
Specified by:
updatePriority in interface LayoutService
Throws:
PortalException
SystemException

updatePriority

public Layout updatePriority(long plid,
                             int priority)
                      throws PortalException,
                             SystemException
Specified by:
updatePriority in interface LayoutService
Throws:
PortalException
SystemException

getWrappedLayoutService

public LayoutService getWrappedLayoutService()

Liferay 6.0.5