Liferay 7.0-ce-b8 portal-impl

com.liferay.portal.model.impl
Class LayoutTypePortletImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.LayoutTypeImpl
      extended by com.liferay.portal.model.impl.LayoutTypePortletImpl
All Implemented Interfaces:
com.liferay.portal.kernel.model.LayoutType, com.liferay.portal.kernel.model.LayoutTypePortlet, Serializable
Direct Known Subclasses:
LayoutTypeURLImpl

public class LayoutTypePortletImpl
extends LayoutTypeImpl
implements com.liferay.portal.kernel.model.LayoutTypePortlet

See Also:
Serialized Form

Constructor Summary
LayoutTypePortletImpl(com.liferay.portal.kernel.model.Layout layout, com.liferay.portal.kernel.model.LayoutTypeController layoutTypeController, com.liferay.portal.kernel.model.LayoutTypeAccessPolicy layoutTypeAccessPolicy)
           
 
Method Summary
 void addModeAboutPortletId(String portletId)
           
 void addModeConfigPortletId(String portletId)
           
 void addModeEditDefaultsPortletId(String portletId)
           
 void addModeEditGuestPortletId(String portletId)
           
 void addModeEditPortletId(String portletId)
           
 void addModeHelpPortletId(String portletId)
           
 void addModePreviewPortletId(String portletId)
           
 void addModePrintPortletId(String portletId)
           
protected  void addNestedColumn(String columnId)
           
 String addPortletId(long userId, String portletId)
           
 String addPortletId(long userId, String portletId, boolean checkPermission)
           
 String addPortletId(long userId, String portletId, String columnId, int columnPos)
           
 String addPortletId(long userId, String portletId, String columnId, int columnPos, boolean checkPermission)
           
protected  String addPortletId(long userId, String portletId, String columnId, int columnPos, boolean checkPermission, boolean strictHasPortlet)
           
 void addPortletIds(long userId, String[] portletIds, boolean checkPermission)
           
 void addPortletIds(long userId, String[] portletIds, String columnId, boolean checkPermission)
           
 void addStateMaxPortletId(String portletId)
           
 void addStateMinPortletId(String portletId)
           
 List<com.liferay.portal.kernel.model.Portlet> addStaticPortlets(List<com.liferay.portal.kernel.model.Portlet> portlets, List<com.liferay.portal.kernel.model.Portlet> startPortlets, List<com.liferay.portal.kernel.model.Portlet> endPortlets)
           
protected  void copyPreferences(long userId, String sourcePortletId, String targetPortletId)
           
protected  void copyResourcePermissions(String sourcePortletId, String targetPortletId)
           
 List<com.liferay.portal.kernel.model.Portlet> getAllPortlets()
           
 List<com.liferay.portal.kernel.model.Portlet> getAllPortlets(boolean includeSystem)
           
 List<com.liferay.portal.kernel.model.Portlet> getAllPortlets(String columnId)
           
protected  String getColumn(String portletId)
           
protected  List<String> getColumns()
           
protected  String getColumnValue(String columnId)
           
protected  long getCompanyId()
           
protected  LayoutTypePortletImpl getDefaultLayoutTypePortletImpl()
           
 List<com.liferay.portal.kernel.model.Portlet> getEmbeddedPortlets()
           
 List<com.liferay.portal.kernel.model.Portlet> getExplicitlyAddedPortlets()
           
 com.liferay.portal.kernel.model.Layout getLayoutSetPrototypeLayout()
           
 String getLayoutSetPrototypeLayoutProperty(String key)
           
 com.liferay.portal.kernel.model.LayoutTemplate getLayoutTemplate()
           
 String getLayoutTemplateId()
           
 String getModeAbout()
           
 String getModeConfig()
           
 String getModeEdit()
           
 String getModeEditDefaults()
           
 String getModeEditGuest()
           
 String getModeHelp()
           
 String getModePreview()
           
 String getModePrint()
           
protected  List<String> getNestedColumns()
           
 int getNumOfColumns()
           
protected  long getPlid()
           
 com.liferay.portal.kernel.portlet.PortalPreferences getPortalPreferences()
           
 List<String> getPortletIds()
           
 List<com.liferay.portal.kernel.model.Portlet> getPortlets()
           
 String getStateMax()
           
 String getStateMaxPortletId()
           
 String getStateMin()
           
protected  String[] getStaticPortletIds(String position)
           
protected  List<com.liferay.portal.kernel.model.Portlet> getStaticPortlets(String position)
           
protected  String getThemeId()
           
protected  String getUserPreference(String key)
           
 boolean hasDefaultScopePortletId(long groupId, String portletId)
           
 boolean hasModeAboutPortletId(String portletId)
           
 boolean hasModeConfigPortletId(String portletId)
           
 boolean hasModeEditDefaultsPortletId(String portletId)
           
 boolean hasModeEditGuestPortletId(String portletId)
           
 boolean hasModeEditPortletId(String portletId)
           
 boolean hasModeHelpPortletId(String portletId)
           
 boolean hasModePreviewPortletId(String portletId)
           
 boolean hasModePrintPortletId(String portletId)
           
 boolean hasModeViewPortletId(String portletId)
           
protected  boolean hasNonstaticPortletId(String portletId)
           
protected  boolean hasNonstaticPortletId(String columnId, String portletId)
           
 boolean hasPortletId(String portletId)
           
 boolean hasPortletId(String portletId, boolean strict)
           
 boolean hasStateMax()
           
 boolean hasStateMaxPortletId(String portletId)
           
 boolean hasStateMin()
           
 boolean hasStateMinPortletId(String portletId)
           
 boolean hasStateNormalPortletId(String portletId)
           
protected  boolean hasStaticPortletId(String columnId, String portletId)
           
 boolean hasUpdatePermission()
           
protected  boolean hasUserPreferences()
           
 boolean isCacheable()
           
 boolean isColumnCustomizable(String columnId)
           
 boolean isColumnDisabled(String columnId)
           
 boolean isCustomizable()
           
 boolean isCustomizedView()
           
 boolean isDefaultUpdated()
           
protected  boolean isLayoutSetPrototype()
           
 boolean isPortletCustomizable(String portletId)
           
 boolean isPortletEmbedded(String portletId)
           
 void movePortletId(long userId, String portletId, String columnId, int columnPos)
           
protected  void onRemoveFromLayout(String[] portletIds)
           
 void removeCustomization(com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties)
           
 void removeModeAboutPortletId(String portletId)
           
 void removeModeConfigPortletId(String portletId)
           
 void removeModeEditDefaultsPortletId(String portletId)
           
 void removeModeEditGuestPortletId(String portletId)
           
 void removeModeEditPortletId(String portletId)
           
 void removeModeHelpPortletId(String portletId)
           
 void removeModePreviewPortletId(String portletId)
           
 void removeModePrintPortletId(String portletId)
           
 void removeModesPortletId(String portletId)
           
 void removeNestedColumns(String portletNamespace)
           
 void removePortletId(long userId, String portletId)
           
 void removePortletId(long userId, String portletId, boolean cleanUp)
           
 void removeStateMaxPortletId(String portletId)
           
 void removeStateMinPortletId(String portletId)
           
 void removeStatesPortletId(String portletId)
           
 void reorganizePortlets(List<String> newColumns, List<String> oldColumns)
           
 void resetModes()
           
 void resetStates()
           
 void resetUserPreferences()
           
 void setCustomizedView(boolean customizedView)
           
 void setLayoutTemplateId(long userId, String newLayoutTemplateId)
           
 void setLayoutTemplateId(long userId, String newLayoutTemplateId, boolean checkPermission)
           
 void setModeAbout(String modeAbout)
           
 void setModeConfig(String modeConfig)
           
 void setModeEdit(String modeEdit)
           
 void setModeEditDefaults(String modeEditDefaults)
           
 void setModeEditGuest(String modeEditGuest)
           
 void setModeHelp(String modeHelp)
           
 void setModePreview(String modePreview)
           
 void setModePrint(String modePrint)
           
 void setPortalPreferences(com.liferay.portal.kernel.portlet.PortalPreferences portalPreferences)
           
 void setStateMax(String stateMax)
           
 void setStateMin(String stateMin)
           
 void setUpdatePermission(boolean updatePermission)
           
protected  void setUserPreference(String key, String value)
           
 
Methods inherited from class com.liferay.portal.model.impl.LayoutTypeImpl
getConfigurationActionDelete, getConfigurationActionUpdate, getDefaultURL, getLayout, getLayoutTypeAccessPolicy, getLayoutTypeController, getTypeSettingsProperties, getTypeSettingsProperty, getTypeSettingsProperty, getURL, isBrowsable, isFirstPageable, isParentable, isSitemapable, isURLFriendliable, replaceVariables, setLayout, setTypeSettingsProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.kernel.model.LayoutType
getConfigurationActionDelete, getConfigurationActionUpdate, getLayout, getLayoutTypeAccessPolicy, getLayoutTypeController, getTypeSettingsProperties, getTypeSettingsProperty, getTypeSettingsProperty, getURL, isBrowsable, isFirstPageable, isParentable, isSitemapable, isURLFriendliable, setLayout, setTypeSettingsProperty
 

Constructor Detail

LayoutTypePortletImpl

public LayoutTypePortletImpl(com.liferay.portal.kernel.model.Layout layout,
                             com.liferay.portal.kernel.model.LayoutTypeController layoutTypeController,
                             com.liferay.portal.kernel.model.LayoutTypeAccessPolicy layoutTypeAccessPolicy)
Method Detail

addModeAboutPortletId

public void addModeAboutPortletId(String portletId)
Specified by:
addModeAboutPortletId in interface com.liferay.portal.kernel.model.LayoutTypePortlet

addModeConfigPortletId

public void addModeConfigPortletId(String portletId)
Specified by:
addModeConfigPortletId in interface com.liferay.portal.kernel.model.LayoutTypePortlet

addModeEditDefaultsPortletId

public void addModeEditDefaultsPortletId(String portletId)
Specified by:
addModeEditDefaultsPortletId in interface com.liferay.portal.kernel.model.LayoutTypePortlet

addModeEditGuestPortletId

public void addModeEditGuestPortletId(String portletId)
Specified by:
addModeEditGuestPortletId in interface com.liferay.portal.kernel.model.LayoutTypePortlet

addModeEditPortletId

public void addModeEditPortletId(String portletId)
Specified by:
addModeEditPortletId in interface com.liferay.portal.kernel.model.LayoutTypePortlet

addModeHelpPortletId

public void addModeHelpPortletId(String portletId)
Specified by:
addModeHelpPortletId in interface com.liferay.portal.kernel.model.LayoutTypePortlet

addModePreviewPortletId

public void addModePreviewPortletId(String portletId)
Specified by:
addModePreviewPortletId in interface com.liferay.portal.kernel.model.LayoutTypePortlet

addModePrintPortletId

public void addModePrintPortletId(String portletId)
Specified by:
addModePrintPortletId in interface com.liferay.portal.kernel.model.LayoutTypePortlet

addPortletId

public String addPortletId(long userId,
                           String portletId)
Specified by:
addPortletId in interface com.liferay.portal.kernel.model.LayoutTypePortlet

addPortletId

public String addPortletId(long userId,
                           String portletId,
                           boolean checkPermission)
Specified by:
addPortletId in interface com.liferay.portal.kernel.model.LayoutTypePortlet

addPortletId

public String addPortletId(long userId,
                           String portletId,
                           String columnId,
                           int columnPos)
Specified by:
addPortletId in interface com.liferay.portal.kernel.model.LayoutTypePortlet

addPortletId

public String addPortletId(long userId,
                           String portletId,
                           String columnId,
                           int columnPos,
                           boolean checkPermission)
Specified by:
addPortletId in interface com.liferay.portal.kernel.model.LayoutTypePortlet

addPortletIds

public void addPortletIds(long userId,
                          String[] portletIds,
                          boolean checkPermission)
Specified by:
addPortletIds in interface com.liferay.portal.kernel.model.LayoutTypePortlet

addPortletIds

public void addPortletIds(long userId,
                          String[] portletIds,
                          String columnId,
                          boolean checkPermission)
Specified by:
addPortletIds in interface com.liferay.portal.kernel.model.LayoutTypePortlet

addStateMaxPortletId

public void addStateMaxPortletId(String portletId)
Specified by:
addStateMaxPortletId in interface com.liferay.portal.kernel.model.LayoutTypePortlet

addStateMinPortletId

public void addStateMinPortletId(String portletId)
Specified by:
addStateMinPortletId in interface com.liferay.portal.kernel.model.LayoutTypePortlet

addStaticPortlets

public List<com.liferay.portal.kernel.model.Portlet> addStaticPortlets(List<com.liferay.portal.kernel.model.Portlet> portlets,
                                                                       List<com.liferay.portal.kernel.model.Portlet> startPortlets,
                                                                       List<com.liferay.portal.kernel.model.Portlet> endPortlets)
Specified by:
addStaticPortlets in interface com.liferay.portal.kernel.model.LayoutTypePortlet

getAllPortlets

public List<com.liferay.portal.kernel.model.Portlet> getAllPortlets()
Specified by:
getAllPortlets in interface com.liferay.portal.kernel.model.LayoutTypePortlet

getAllPortlets

public List<com.liferay.portal.kernel.model.Portlet> getAllPortlets(boolean includeSystem)
Specified by:
getAllPortlets in interface com.liferay.portal.kernel.model.LayoutTypePortlet

getAllPortlets

public List<com.liferay.portal.kernel.model.Portlet> getAllPortlets(String columnId)
Specified by:
getAllPortlets in interface com.liferay.portal.kernel.model.LayoutTypePortlet

getEmbeddedPortlets

public List<com.liferay.portal.kernel.model.Portlet> getEmbeddedPortlets()
Specified by:
getEmbeddedPortlets in interface com.liferay.portal.kernel.model.LayoutTypePortlet

getExplicitlyAddedPortlets

public List<com.liferay.portal.kernel.model.Portlet> getExplicitlyAddedPortlets()
Specified by:
getExplicitlyAddedPortlets in interface com.liferay.portal.kernel.model.LayoutTypePortlet

getLayoutSetPrototypeLayout

public com.liferay.portal.kernel.model.Layout getLayoutSetPrototypeLayout()
Specified by:
getLayoutSetPrototypeLayout in interface com.liferay.portal.kernel.model.LayoutTypePortlet

getLayoutSetPrototypeLayoutProperty

public String getLayoutSetPrototypeLayoutProperty(String key)
Specified by:
getLayoutSetPrototypeLayoutProperty in interface com.liferay.portal.kernel.model.LayoutTypePortlet

getLayoutTemplate

public com.liferay.portal.kernel.model.LayoutTemplate getLayoutTemplate()
Specified by:
getLayoutTemplate in interface com.liferay.portal.kernel.model.LayoutTypePortlet

getLayoutTemplateId

public String getLayoutTemplateId()
Specified by:
getLayoutTemplateId in interface com.liferay.portal.kernel.model.LayoutTypePortlet

getModeAbout

public String getModeAbout()
Specified by:
getModeAbout in interface com.liferay.portal.kernel.model.LayoutTypePortlet

getModeConfig

public String getModeConfig()
Specified by:
getModeConfig in interface com.liferay.portal.kernel.model.LayoutTypePortlet

getModeEdit

public String getModeEdit()
Specified by:
getModeEdit in interface com.liferay.portal.kernel.model.LayoutTypePortlet

getModeEditDefaults

public String getModeEditDefaults()
Specified by:
getModeEditDefaults in interface com.liferay.portal.kernel.model.LayoutTypePortlet

getModeEditGuest

public String getModeEditGuest()
Specified by:
getModeEditGuest in interface com.liferay.portal.kernel.model.LayoutTypePortlet

getModeHelp

public String getModeHelp()
Specified by:
getModeHelp in interface com.liferay.portal.kernel.model.LayoutTypePortlet

getModePreview

public String getModePreview()
Specified by:
getModePreview in interface com.liferay.portal.kernel.model.LayoutTypePortlet

getModePrint

public String getModePrint()
Specified by:
getModePrint in interface com.liferay.portal.kernel.model.LayoutTypePortlet

getNumOfColumns

public int getNumOfColumns()
Specified by:
getNumOfColumns in interface com.liferay.portal.kernel.model.LayoutTypePortlet

getPortalPreferences

public com.liferay.portal.kernel.portlet.PortalPreferences getPortalPreferences()
Specified by:
getPortalPreferences in interface com.liferay.portal.kernel.model.LayoutTypePortlet

getPortletIds

public List<String> getPortletIds()
Specified by:
getPortletIds in interface com.liferay.portal.kernel.model.LayoutTypePortlet

getPortlets

public List<com.liferay.portal.kernel.model.Portlet> getPortlets()
Specified by:
getPortlets in interface com.liferay.portal.kernel.model.LayoutTypePortlet

getStateMax

public String getStateMax()
Specified by:
getStateMax in interface com.liferay.portal.kernel.model.LayoutTypePortlet

getStateMaxPortletId

public String getStateMaxPortletId()
Specified by:
getStateMaxPortletId in interface com.liferay.portal.kernel.model.LayoutTypePortlet

getStateMin

public String getStateMin()
Specified by:
getStateMin in interface com.liferay.portal.kernel.model.LayoutTypePortlet

hasDefaultScopePortletId

public boolean hasDefaultScopePortletId(long groupId,
                                        String portletId)
Specified by:
hasDefaultScopePortletId in interface com.liferay.portal.kernel.model.LayoutTypePortlet

hasModeAboutPortletId

public boolean hasModeAboutPortletId(String portletId)
Specified by:
hasModeAboutPortletId in interface com.liferay.portal.kernel.model.LayoutTypePortlet

hasModeConfigPortletId

public boolean hasModeConfigPortletId(String portletId)
Specified by:
hasModeConfigPortletId in interface com.liferay.portal.kernel.model.LayoutTypePortlet

hasModeEditDefaultsPortletId

public boolean hasModeEditDefaultsPortletId(String portletId)
Specified by:
hasModeEditDefaultsPortletId in interface com.liferay.portal.kernel.model.LayoutTypePortlet

hasModeEditGuestPortletId

public boolean hasModeEditGuestPortletId(String portletId)
Specified by:
hasModeEditGuestPortletId in interface com.liferay.portal.kernel.model.LayoutTypePortlet

hasModeEditPortletId

public boolean hasModeEditPortletId(String portletId)
Specified by:
hasModeEditPortletId in interface com.liferay.portal.kernel.model.LayoutTypePortlet

hasModeHelpPortletId

public boolean hasModeHelpPortletId(String portletId)
Specified by:
hasModeHelpPortletId in interface com.liferay.portal.kernel.model.LayoutTypePortlet

hasModePreviewPortletId

public boolean hasModePreviewPortletId(String portletId)
Specified by:
hasModePreviewPortletId in interface com.liferay.portal.kernel.model.LayoutTypePortlet

hasModePrintPortletId

public boolean hasModePrintPortletId(String portletId)
Specified by:
hasModePrintPortletId in interface com.liferay.portal.kernel.model.LayoutTypePortlet

hasModeViewPortletId

public boolean hasModeViewPortletId(String portletId)
Specified by:
hasModeViewPortletId in interface com.liferay.portal.kernel.model.LayoutTypePortlet

hasPortletId

public boolean hasPortletId(String portletId)
Specified by:
hasPortletId in interface com.liferay.portal.kernel.model.LayoutTypePortlet

hasPortletId

public boolean hasPortletId(String portletId,
                            boolean strict)
Specified by:
hasPortletId in interface com.liferay.portal.kernel.model.LayoutTypePortlet

hasStateMax

public boolean hasStateMax()
Specified by:
hasStateMax in interface com.liferay.portal.kernel.model.LayoutTypePortlet

hasStateMaxPortletId

public boolean hasStateMaxPortletId(String portletId)
Specified by:
hasStateMaxPortletId in interface com.liferay.portal.kernel.model.LayoutTypePortlet

hasStateMin

public boolean hasStateMin()
Specified by:
hasStateMin in interface com.liferay.portal.kernel.model.LayoutTypePortlet

hasStateMinPortletId

public boolean hasStateMinPortletId(String portletId)
Specified by:
hasStateMinPortletId in interface com.liferay.portal.kernel.model.LayoutTypePortlet

hasStateNormalPortletId

public boolean hasStateNormalPortletId(String portletId)
Specified by:
hasStateNormalPortletId in interface com.liferay.portal.kernel.model.LayoutTypePortlet

hasUpdatePermission

public boolean hasUpdatePermission()
Specified by:
hasUpdatePermission in interface com.liferay.portal.kernel.model.LayoutTypePortlet

isCacheable

public boolean isCacheable()
Specified by:
isCacheable in interface com.liferay.portal.kernel.model.LayoutTypePortlet

isColumnCustomizable

public boolean isColumnCustomizable(String columnId)
Specified by:
isColumnCustomizable in interface com.liferay.portal.kernel.model.LayoutTypePortlet

isColumnDisabled

public boolean isColumnDisabled(String columnId)
Specified by:
isColumnDisabled in interface com.liferay.portal.kernel.model.LayoutTypePortlet

isCustomizable

public boolean isCustomizable()
Specified by:
isCustomizable in interface com.liferay.portal.kernel.model.LayoutTypePortlet

isCustomizedView

public boolean isCustomizedView()
Specified by:
isCustomizedView in interface com.liferay.portal.kernel.model.LayoutTypePortlet

isDefaultUpdated

public boolean isDefaultUpdated()
Specified by:
isDefaultUpdated in interface com.liferay.portal.kernel.model.LayoutTypePortlet

isPortletCustomizable

public boolean isPortletCustomizable(String portletId)
Specified by:
isPortletCustomizable in interface com.liferay.portal.kernel.model.LayoutTypePortlet

isPortletEmbedded

public boolean isPortletEmbedded(String portletId)
Specified by:
isPortletEmbedded in interface com.liferay.portal.kernel.model.LayoutTypePortlet

movePortletId

public void movePortletId(long userId,
                          String portletId,
                          String columnId,
                          int columnPos)
Specified by:
movePortletId in interface com.liferay.portal.kernel.model.LayoutTypePortlet

removeCustomization

public void removeCustomization(com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties)
Specified by:
removeCustomization in interface com.liferay.portal.kernel.model.LayoutTypePortlet

removeModeAboutPortletId

public void removeModeAboutPortletId(String portletId)
Specified by:
removeModeAboutPortletId in interface com.liferay.portal.kernel.model.LayoutTypePortlet

removeModeConfigPortletId

public void removeModeConfigPortletId(String portletId)
Specified by:
removeModeConfigPortletId in interface com.liferay.portal.kernel.model.LayoutTypePortlet

removeModeEditDefaultsPortletId

public void removeModeEditDefaultsPortletId(String portletId)
Specified by:
removeModeEditDefaultsPortletId in interface com.liferay.portal.kernel.model.LayoutTypePortlet

removeModeEditGuestPortletId

public void removeModeEditGuestPortletId(String portletId)
Specified by:
removeModeEditGuestPortletId in interface com.liferay.portal.kernel.model.LayoutTypePortlet

removeModeEditPortletId

public void removeModeEditPortletId(String portletId)
Specified by:
removeModeEditPortletId in interface com.liferay.portal.kernel.model.LayoutTypePortlet

removeModeHelpPortletId

public void removeModeHelpPortletId(String portletId)
Specified by:
removeModeHelpPortletId in interface com.liferay.portal.kernel.model.LayoutTypePortlet

removeModePreviewPortletId

public void removeModePreviewPortletId(String portletId)
Specified by:
removeModePreviewPortletId in interface com.liferay.portal.kernel.model.LayoutTypePortlet

removeModePrintPortletId

public void removeModePrintPortletId(String portletId)
Specified by:
removeModePrintPortletId in interface com.liferay.portal.kernel.model.LayoutTypePortlet

removeModesPortletId

public void removeModesPortletId(String portletId)
Specified by:
removeModesPortletId in interface com.liferay.portal.kernel.model.LayoutTypePortlet

removeNestedColumns

public void removeNestedColumns(String portletNamespace)
Specified by:
removeNestedColumns in interface com.liferay.portal.kernel.model.LayoutTypePortlet

removePortletId

public void removePortletId(long userId,
                            String portletId)
Specified by:
removePortletId in interface com.liferay.portal.kernel.model.LayoutTypePortlet

removePortletId

public void removePortletId(long userId,
                            String portletId,
                            boolean cleanUp)
Specified by:
removePortletId in interface com.liferay.portal.kernel.model.LayoutTypePortlet

removeStateMaxPortletId

public void removeStateMaxPortletId(String portletId)
Specified by:
removeStateMaxPortletId in interface com.liferay.portal.kernel.model.LayoutTypePortlet

removeStateMinPortletId

public void removeStateMinPortletId(String portletId)
Specified by:
removeStateMinPortletId in interface com.liferay.portal.kernel.model.LayoutTypePortlet

removeStatesPortletId

public void removeStatesPortletId(String portletId)
Specified by:
removeStatesPortletId in interface com.liferay.portal.kernel.model.LayoutTypePortlet

reorganizePortlets

public void reorganizePortlets(List<String> newColumns,
                               List<String> oldColumns)
Specified by:
reorganizePortlets in interface com.liferay.portal.kernel.model.LayoutTypePortlet

resetModes

public void resetModes()
Specified by:
resetModes in interface com.liferay.portal.kernel.model.LayoutTypePortlet

resetStates

public void resetStates()
Specified by:
resetStates in interface com.liferay.portal.kernel.model.LayoutTypePortlet

resetUserPreferences

public void resetUserPreferences()
Specified by:
resetUserPreferences in interface com.liferay.portal.kernel.model.LayoutTypePortlet

setCustomizedView

public void setCustomizedView(boolean customizedView)
Specified by:
setCustomizedView in interface com.liferay.portal.kernel.model.LayoutTypePortlet

setLayoutTemplateId

public void setLayoutTemplateId(long userId,
                                String newLayoutTemplateId)
Specified by:
setLayoutTemplateId in interface com.liferay.portal.kernel.model.LayoutTypePortlet

setLayoutTemplateId

public void setLayoutTemplateId(long userId,
                                String newLayoutTemplateId,
                                boolean checkPermission)
Specified by:
setLayoutTemplateId in interface com.liferay.portal.kernel.model.LayoutTypePortlet

setModeAbout

public void setModeAbout(String modeAbout)
Specified by:
setModeAbout in interface com.liferay.portal.kernel.model.LayoutTypePortlet

setModeConfig

public void setModeConfig(String modeConfig)
Specified by:
setModeConfig in interface com.liferay.portal.kernel.model.LayoutTypePortlet

setModeEdit

public void setModeEdit(String modeEdit)
Specified by:
setModeEdit in interface com.liferay.portal.kernel.model.LayoutTypePortlet

setModeEditDefaults

public void setModeEditDefaults(String modeEditDefaults)
Specified by:
setModeEditDefaults in interface com.liferay.portal.kernel.model.LayoutTypePortlet

setModeEditGuest

public void setModeEditGuest(String modeEditGuest)
Specified by:
setModeEditGuest in interface com.liferay.portal.kernel.model.LayoutTypePortlet

setModeHelp

public void setModeHelp(String modeHelp)
Specified by:
setModeHelp in interface com.liferay.portal.kernel.model.LayoutTypePortlet

setModePreview

public void setModePreview(String modePreview)
Specified by:
setModePreview in interface com.liferay.portal.kernel.model.LayoutTypePortlet

setModePrint

public void setModePrint(String modePrint)
Specified by:
setModePrint in interface com.liferay.portal.kernel.model.LayoutTypePortlet

setPortalPreferences

public void setPortalPreferences(com.liferay.portal.kernel.portlet.PortalPreferences portalPreferences)
Specified by:
setPortalPreferences in interface com.liferay.portal.kernel.model.LayoutTypePortlet

setStateMax

public void setStateMax(String stateMax)
Specified by:
setStateMax in interface com.liferay.portal.kernel.model.LayoutTypePortlet

setStateMin

public void setStateMin(String stateMin)
Specified by:
setStateMin in interface com.liferay.portal.kernel.model.LayoutTypePortlet

setUpdatePermission

public void setUpdatePermission(boolean updatePermission)
Specified by:
setUpdatePermission in interface com.liferay.portal.kernel.model.LayoutTypePortlet

addNestedColumn

protected void addNestedColumn(String columnId)

addPortletId

protected String addPortletId(long userId,
                              String portletId,
                              String columnId,
                              int columnPos,
                              boolean checkPermission,
                              boolean strictHasPortlet)

copyPreferences

protected void copyPreferences(long userId,
                               String sourcePortletId,
                               String targetPortletId)

copyResourcePermissions

protected void copyResourcePermissions(String sourcePortletId,
                                       String targetPortletId)

getColumn

protected String getColumn(String portletId)

getColumns

protected List<String> getColumns()

getColumnValue

protected String getColumnValue(String columnId)

getCompanyId

protected long getCompanyId()

getDefaultLayoutTypePortletImpl

protected LayoutTypePortletImpl getDefaultLayoutTypePortletImpl()

getNestedColumns

protected List<String> getNestedColumns()

getPlid

protected long getPlid()

getStaticPortletIds

protected String[] getStaticPortletIds(String position)

getStaticPortlets

protected List<com.liferay.portal.kernel.model.Portlet> getStaticPortlets(String position)

getThemeId

protected String getThemeId()

getUserPreference

protected String getUserPreference(String key)

hasNonstaticPortletId

protected boolean hasNonstaticPortletId(String portletId)

hasNonstaticPortletId

protected boolean hasNonstaticPortletId(String columnId,
                                        String portletId)

hasStaticPortletId

protected boolean hasStaticPortletId(String columnId,
                                     String portletId)

hasUserPreferences

protected boolean hasUserPreferences()

isLayoutSetPrototype

protected boolean isLayoutSetPrototype()

onRemoveFromLayout

protected void onRemoveFromLayout(String[] portletIds)

setUserPreference

protected void setUserPreference(String key,
                                 String value)

Liferay 7.0-ce-b8 portal-impl