com.liferay.portal.model.impl
Class LayoutTypePortletImpl
java.lang.Object
com.liferay.portal.model.impl.LayoutTypeImpl
com.liferay.portal.model.impl.LayoutTypePortletImpl
- All Implemented Interfaces:
- com.liferay.portal.model.LayoutType, com.liferay.portal.model.LayoutTypePortlet, java.io.Serializable
public class LayoutTypePortletImpl
- extends LayoutTypeImpl
- implements com.liferay.portal.model.LayoutTypePortlet
- Author:
- Brian Wing Shun Chan, Berentey Zsolt, Jorge Ferrer, Raymond Augé
- See Also:
- Serialized Form
|
Method Summary |
void |
addModeAboutPortletId(java.lang.String portletId)
|
void |
addModeConfigPortletId(java.lang.String portletId)
|
void |
addModeEditDefaultsPortletId(java.lang.String portletId)
|
void |
addModeEditGuestPortletId(java.lang.String portletId)
|
void |
addModeEditPortletId(java.lang.String portletId)
|
void |
addModeHelpPortletId(java.lang.String portletId)
|
void |
addModePreviewPortletId(java.lang.String portletId)
|
void |
addModePrintPortletId(java.lang.String portletId)
|
protected void |
addNestedColumn(java.lang.String columnId)
|
java.lang.String |
addPortletId(long userId,
java.lang.String portletId)
|
java.lang.String |
addPortletId(long userId,
java.lang.String portletId,
boolean checkPermission)
|
java.lang.String |
addPortletId(long userId,
java.lang.String portletId,
java.lang.String columnId,
int columnPos)
|
java.lang.String |
addPortletId(long userId,
java.lang.String portletId,
java.lang.String columnId,
int columnPos,
boolean checkPermission)
|
void |
addPortletIds(long userId,
java.lang.String[] portletIds,
boolean checkPermission)
|
void |
addPortletIds(long userId,
java.lang.String[] portletIds,
java.lang.String columnId,
boolean checkPermission)
|
void |
addStateMaxPortletId(java.lang.String portletId)
|
void |
addStateMinPortletId(java.lang.String portletId)
|
java.util.List<com.liferay.portal.model.Portlet> |
addStaticPortlets(java.util.List<com.liferay.portal.model.Portlet> portlets,
java.util.List<com.liferay.portal.model.Portlet> startPortlets,
java.util.List<com.liferay.portal.model.Portlet> endPortlets)
|
protected void |
copyPreferences(java.lang.String sourcePortletId,
java.lang.String targetPortletId)
|
protected void |
deletePortletSetup(java.lang.String portletId)
|
java.util.List<com.liferay.portal.model.Portlet> |
getAllPortlets()
|
java.util.List<com.liferay.portal.model.Portlet> |
getAllPortlets(java.lang.String columnId)
|
protected java.lang.String |
getColumn(java.lang.String portletId)
|
protected java.util.List<java.lang.String> |
getColumns()
|
protected java.lang.String |
getColumnValue(java.lang.String columnId)
|
protected long |
getCompanyId()
|
static java.lang.String |
getFullInstanceSeparator()
|
com.liferay.portal.model.LayoutTemplate |
getLayoutTemplate()
|
java.lang.String |
getLayoutTemplateId()
|
java.lang.String |
getModeAbout()
|
java.lang.String |
getModeConfig()
|
java.lang.String |
getModeEdit()
|
java.lang.String |
getModeEditDefaults()
|
java.lang.String |
getModeEditGuest()
|
java.lang.String |
getModeHelp()
|
java.lang.String |
getModePreview()
|
java.lang.String |
getModePrint()
|
protected java.util.List<java.lang.String> |
getNestedColumns()
|
int |
getNumOfColumns()
|
protected long |
getPlid()
|
com.liferay.portlet.PortalPreferences |
getPortalPreferences()
|
java.util.List<java.lang.String> |
getPortletIds()
|
java.util.List<com.liferay.portal.model.Portlet> |
getPortlets()
|
com.liferay.portal.model.Layout |
getSourcePrototypeLayout()
|
static com.liferay.portal.model.Layout |
getSourcePrototypeLayout(com.liferay.portal.model.Layout layout)
|
java.lang.String |
getSourcePrototypeLayoutProperty(java.lang.String key)
|
java.lang.String |
getStateMax()
|
java.lang.String |
getStateMaxPortletId()
|
java.lang.String |
getStateMin()
|
protected java.lang.String[] |
getStaticPortletIds(java.lang.String position)
|
protected java.util.List<com.liferay.portal.model.Portlet> |
getStaticPortlets(java.lang.String position)
|
protected java.lang.String |
getThemeId()
|
protected java.lang.String |
getUserPreference(java.lang.String key)
|
boolean |
hasDefaultScopePortletId(long groupId,
java.lang.String portletId)
|
boolean |
hasModeAboutPortletId(java.lang.String portletId)
|
boolean |
hasModeConfigPortletId(java.lang.String portletId)
|
boolean |
hasModeEditDefaultsPortletId(java.lang.String portletId)
|
boolean |
hasModeEditGuestPortletId(java.lang.String portletId)
|
boolean |
hasModeEditPortletId(java.lang.String portletId)
|
boolean |
hasModeHelpPortletId(java.lang.String portletId)
|
boolean |
hasModePreviewPortletId(java.lang.String portletId)
|
boolean |
hasModePrintPortletId(java.lang.String portletId)
|
boolean |
hasModeViewPortletId(java.lang.String portletId)
|
protected boolean |
hasNonstaticPortletId(java.lang.String portletId)
|
protected boolean |
hasNonstaticPortletId(java.lang.String columnId,
java.lang.String portletId)
|
boolean |
hasPortletId(java.lang.String portletId)
|
boolean |
hasSourcePrototypeLayout()
|
boolean |
hasStateMax()
|
boolean |
hasStateMaxPortletId(java.lang.String portletId)
|
boolean |
hasStateMin()
|
boolean |
hasStateMinPortletId(java.lang.String portletId)
|
boolean |
hasStateNormalPortletId(java.lang.String portletId)
|
protected boolean |
hasStaticPortletId(java.lang.String columnId,
java.lang.String portletId)
|
boolean |
hasUpdatePermission()
|
protected boolean |
hasUserPreferences()
|
boolean |
isColumnCustomizable(java.lang.String columnId)
|
boolean |
isColumnDisabled(java.lang.String columnId)
|
boolean |
isCustomizable()
|
boolean |
isCustomizedView()
|
boolean |
isDefaultUpdated()
|
protected boolean |
isLayoutSetPrototype()
|
boolean |
isPortletCustomizable(java.lang.String portletId)
|
boolean |
isTemplateCustomizable(java.lang.String columnId)
|
void |
movePortletId(long userId,
java.lang.String portletId,
java.lang.String columnId,
int columnPos)
|
protected void |
onRemoveFromLayout(java.lang.String portletId)
|
void |
removeModeAboutPortletId(java.lang.String portletId)
|
void |
removeModeConfigPortletId(java.lang.String portletId)
|
void |
removeModeEditDefaultsPortletId(java.lang.String portletId)
|
void |
removeModeEditGuestPortletId(java.lang.String portletId)
|
void |
removeModeEditPortletId(java.lang.String portletId)
|
void |
removeModeHelpPortletId(java.lang.String portletId)
|
void |
removeModePreviewPortletId(java.lang.String portletId)
|
void |
removeModePrintPortletId(java.lang.String portletId)
|
void |
removeModesPortletId(java.lang.String portletId)
|
void |
removeNestedColumns(java.lang.String portletNamespace)
|
void |
removePortletId(long userId,
java.lang.String portletId)
|
void |
removePortletId(long userId,
java.lang.String portletId,
boolean cleanUp)
|
void |
removeStateMaxPortletId(java.lang.String portletId)
|
void |
removeStateMinPortletId(java.lang.String portletId)
|
void |
removeStatesPortletId(java.lang.String portletId)
|
void |
reorganizePortlets(java.util.List<java.lang.String> newColumns,
java.util.List<java.lang.String> oldColumns)
|
void |
resetModes()
|
void |
resetStates()
|
void |
resetUserPreferences()
|
void |
setCustomizedView(boolean customizedView)
|
void |
setLayoutTemplateId(long userId,
java.lang.String newLayoutTemplateId)
|
void |
setLayoutTemplateId(long userId,
java.lang.String newLayoutTemplateId,
boolean checkPermission)
|
void |
setModeAbout(java.lang.String modeAbout)
|
void |
setModeConfig(java.lang.String modeConfig)
|
void |
setModeEdit(java.lang.String modeEdit)
|
void |
setModeEditDefaults(java.lang.String modeEditDefaults)
|
void |
setModeEditGuest(java.lang.String modeEditGuest)
|
void |
setModeHelp(java.lang.String modeHelp)
|
void |
setModePreview(java.lang.String modePreview)
|
void |
setModePrint(java.lang.String modePrint)
|
void |
setPortalPreferences(com.liferay.portlet.PortalPreferences portalPreferences)
|
void |
setPortletIds(java.lang.String columnId,
java.lang.String portletIds)
|
void |
setStateMax(java.lang.String stateMax)
|
void |
setStateMin(java.lang.String stateMin)
|
void |
setUpdatePermission(boolean updatePermission)
|
protected void |
setUserPreference(java.lang.String key,
java.lang.String value)
|
| 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.model.LayoutType |
getLayout, getTypeSettingsProperties, getTypeSettingsProperty, setLayout, setTypeSettingsProperty |
LayoutTypePortletImpl
public LayoutTypePortletImpl(com.liferay.portal.model.Layout layout)
getFullInstanceSeparator
public static java.lang.String getFullInstanceSeparator()
getSourcePrototypeLayout
public static com.liferay.portal.model.Layout getSourcePrototypeLayout(com.liferay.portal.model.Layout layout)
addModeAboutPortletId
public void addModeAboutPortletId(java.lang.String portletId)
- Specified by:
addModeAboutPortletId in interface com.liferay.portal.model.LayoutTypePortlet
addModeConfigPortletId
public void addModeConfigPortletId(java.lang.String portletId)
- Specified by:
addModeConfigPortletId in interface com.liferay.portal.model.LayoutTypePortlet
addModeEditDefaultsPortletId
public void addModeEditDefaultsPortletId(java.lang.String portletId)
- Specified by:
addModeEditDefaultsPortletId in interface com.liferay.portal.model.LayoutTypePortlet
addModeEditGuestPortletId
public void addModeEditGuestPortletId(java.lang.String portletId)
- Specified by:
addModeEditGuestPortletId in interface com.liferay.portal.model.LayoutTypePortlet
addModeEditPortletId
public void addModeEditPortletId(java.lang.String portletId)
- Specified by:
addModeEditPortletId in interface com.liferay.portal.model.LayoutTypePortlet
addModeHelpPortletId
public void addModeHelpPortletId(java.lang.String portletId)
- Specified by:
addModeHelpPortletId in interface com.liferay.portal.model.LayoutTypePortlet
addModePreviewPortletId
public void addModePreviewPortletId(java.lang.String portletId)
- Specified by:
addModePreviewPortletId in interface com.liferay.portal.model.LayoutTypePortlet
addModePrintPortletId
public void addModePrintPortletId(java.lang.String portletId)
- Specified by:
addModePrintPortletId in interface com.liferay.portal.model.LayoutTypePortlet
addPortletId
public java.lang.String addPortletId(long userId,
java.lang.String portletId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
addPortletId in interface com.liferay.portal.model.LayoutTypePortlet
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
addPortletId
public java.lang.String addPortletId(long userId,
java.lang.String portletId,
boolean checkPermission)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
addPortletId in interface com.liferay.portal.model.LayoutTypePortlet
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
addPortletId
public java.lang.String addPortletId(long userId,
java.lang.String portletId,
java.lang.String columnId,
int columnPos)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
addPortletId in interface com.liferay.portal.model.LayoutTypePortlet
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
addPortletId
public java.lang.String addPortletId(long userId,
java.lang.String portletId,
java.lang.String columnId,
int columnPos,
boolean checkPermission)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
addPortletId in interface com.liferay.portal.model.LayoutTypePortlet
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
addPortletIds
public void addPortletIds(long userId,
java.lang.String[] portletIds,
boolean checkPermission)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
addPortletIds in interface com.liferay.portal.model.LayoutTypePortlet
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
addPortletIds
public void addPortletIds(long userId,
java.lang.String[] portletIds,
java.lang.String columnId,
boolean checkPermission)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
addPortletIds in interface com.liferay.portal.model.LayoutTypePortlet
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
addStateMaxPortletId
public void addStateMaxPortletId(java.lang.String portletId)
- Specified by:
addStateMaxPortletId in interface com.liferay.portal.model.LayoutTypePortlet
addStateMinPortletId
public void addStateMinPortletId(java.lang.String portletId)
- Specified by:
addStateMinPortletId in interface com.liferay.portal.model.LayoutTypePortlet
addStaticPortlets
public java.util.List<com.liferay.portal.model.Portlet> addStaticPortlets(java.util.List<com.liferay.portal.model.Portlet> portlets,
java.util.List<com.liferay.portal.model.Portlet> startPortlets,
java.util.List<com.liferay.portal.model.Portlet> endPortlets)
- Specified by:
addStaticPortlets in interface com.liferay.portal.model.LayoutTypePortlet
getAllPortlets
public java.util.List<com.liferay.portal.model.Portlet> getAllPortlets()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
getAllPortlets in interface com.liferay.portal.model.LayoutTypePortlet
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getAllPortlets
public java.util.List<com.liferay.portal.model.Portlet> getAllPortlets(java.lang.String columnId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
getAllPortlets in interface com.liferay.portal.model.LayoutTypePortlet
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getLayoutTemplate
public com.liferay.portal.model.LayoutTemplate getLayoutTemplate()
- Specified by:
getLayoutTemplate in interface com.liferay.portal.model.LayoutTypePortlet
getLayoutTemplateId
public java.lang.String getLayoutTemplateId()
- Specified by:
getLayoutTemplateId in interface com.liferay.portal.model.LayoutTypePortlet
getModeAbout
public java.lang.String getModeAbout()
- Specified by:
getModeAbout in interface com.liferay.portal.model.LayoutTypePortlet
getModeConfig
public java.lang.String getModeConfig()
- Specified by:
getModeConfig in interface com.liferay.portal.model.LayoutTypePortlet
getModeEdit
public java.lang.String getModeEdit()
- Specified by:
getModeEdit in interface com.liferay.portal.model.LayoutTypePortlet
getModeEditDefaults
public java.lang.String getModeEditDefaults()
- Specified by:
getModeEditDefaults in interface com.liferay.portal.model.LayoutTypePortlet
getModeEditGuest
public java.lang.String getModeEditGuest()
- Specified by:
getModeEditGuest in interface com.liferay.portal.model.LayoutTypePortlet
getModeHelp
public java.lang.String getModeHelp()
- Specified by:
getModeHelp in interface com.liferay.portal.model.LayoutTypePortlet
getModePreview
public java.lang.String getModePreview()
- Specified by:
getModePreview in interface com.liferay.portal.model.LayoutTypePortlet
getModePrint
public java.lang.String getModePrint()
- Specified by:
getModePrint in interface com.liferay.portal.model.LayoutTypePortlet
getNumOfColumns
public int getNumOfColumns()
- Specified by:
getNumOfColumns in interface com.liferay.portal.model.LayoutTypePortlet
getPortalPreferences
public com.liferay.portlet.PortalPreferences getPortalPreferences()
- Specified by:
getPortalPreferences in interface com.liferay.portal.model.LayoutTypePortlet
getPortletIds
public java.util.List<java.lang.String> getPortletIds()
- Specified by:
getPortletIds in interface com.liferay.portal.model.LayoutTypePortlet
getPortlets
public java.util.List<com.liferay.portal.model.Portlet> getPortlets()
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getPortlets in interface com.liferay.portal.model.LayoutTypePortlet
- Throws:
com.liferay.portal.kernel.exception.SystemException
getSourcePrototypeLayout
public com.liferay.portal.model.Layout getSourcePrototypeLayout()
- Specified by:
getSourcePrototypeLayout in interface com.liferay.portal.model.LayoutTypePortlet
getSourcePrototypeLayoutProperty
public java.lang.String getSourcePrototypeLayoutProperty(java.lang.String key)
- Specified by:
getSourcePrototypeLayoutProperty in interface com.liferay.portal.model.LayoutTypePortlet
getStateMax
public java.lang.String getStateMax()
- Specified by:
getStateMax in interface com.liferay.portal.model.LayoutTypePortlet
getStateMaxPortletId
public java.lang.String getStateMaxPortletId()
- Specified by:
getStateMaxPortletId in interface com.liferay.portal.model.LayoutTypePortlet
getStateMin
public java.lang.String getStateMin()
- Specified by:
getStateMin in interface com.liferay.portal.model.LayoutTypePortlet
hasDefaultScopePortletId
public boolean hasDefaultScopePortletId(long groupId,
java.lang.String portletId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
hasDefaultScopePortletId in interface com.liferay.portal.model.LayoutTypePortlet
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
hasModeAboutPortletId
public boolean hasModeAboutPortletId(java.lang.String portletId)
- Specified by:
hasModeAboutPortletId in interface com.liferay.portal.model.LayoutTypePortlet
hasModeConfigPortletId
public boolean hasModeConfigPortletId(java.lang.String portletId)
- Specified by:
hasModeConfigPortletId in interface com.liferay.portal.model.LayoutTypePortlet
hasModeEditDefaultsPortletId
public boolean hasModeEditDefaultsPortletId(java.lang.String portletId)
- Specified by:
hasModeEditDefaultsPortletId in interface com.liferay.portal.model.LayoutTypePortlet
hasModeEditGuestPortletId
public boolean hasModeEditGuestPortletId(java.lang.String portletId)
- Specified by:
hasModeEditGuestPortletId in interface com.liferay.portal.model.LayoutTypePortlet
hasModeEditPortletId
public boolean hasModeEditPortletId(java.lang.String portletId)
- Specified by:
hasModeEditPortletId in interface com.liferay.portal.model.LayoutTypePortlet
hasModeHelpPortletId
public boolean hasModeHelpPortletId(java.lang.String portletId)
- Specified by:
hasModeHelpPortletId in interface com.liferay.portal.model.LayoutTypePortlet
hasModePreviewPortletId
public boolean hasModePreviewPortletId(java.lang.String portletId)
- Specified by:
hasModePreviewPortletId in interface com.liferay.portal.model.LayoutTypePortlet
hasModePrintPortletId
public boolean hasModePrintPortletId(java.lang.String portletId)
- Specified by:
hasModePrintPortletId in interface com.liferay.portal.model.LayoutTypePortlet
hasModeViewPortletId
public boolean hasModeViewPortletId(java.lang.String portletId)
- Specified by:
hasModeViewPortletId in interface com.liferay.portal.model.LayoutTypePortlet
hasPortletId
public boolean hasPortletId(java.lang.String portletId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
hasPortletId in interface com.liferay.portal.model.LayoutTypePortlet
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
hasSourcePrototypeLayout
public boolean hasSourcePrototypeLayout()
- Specified by:
hasSourcePrototypeLayout in interface com.liferay.portal.model.LayoutTypePortlet
hasStateMax
public boolean hasStateMax()
- Specified by:
hasStateMax in interface com.liferay.portal.model.LayoutTypePortlet
hasStateMaxPortletId
public boolean hasStateMaxPortletId(java.lang.String portletId)
- Specified by:
hasStateMaxPortletId in interface com.liferay.portal.model.LayoutTypePortlet
hasStateMin
public boolean hasStateMin()
- Specified by:
hasStateMin in interface com.liferay.portal.model.LayoutTypePortlet
hasStateMinPortletId
public boolean hasStateMinPortletId(java.lang.String portletId)
- Specified by:
hasStateMinPortletId in interface com.liferay.portal.model.LayoutTypePortlet
hasStateNormalPortletId
public boolean hasStateNormalPortletId(java.lang.String portletId)
- Specified by:
hasStateNormalPortletId in interface com.liferay.portal.model.LayoutTypePortlet
hasUpdatePermission
public boolean hasUpdatePermission()
- Specified by:
hasUpdatePermission in interface com.liferay.portal.model.LayoutTypePortlet
isColumnCustomizable
public boolean isColumnCustomizable(java.lang.String columnId)
- Specified by:
isColumnCustomizable in interface com.liferay.portal.model.LayoutTypePortlet
isColumnDisabled
public boolean isColumnDisabled(java.lang.String columnId)
- Specified by:
isColumnDisabled in interface com.liferay.portal.model.LayoutTypePortlet
isCustomizable
public boolean isCustomizable()
- Specified by:
isCustomizable in interface com.liferay.portal.model.LayoutTypePortlet
isCustomizedView
public boolean isCustomizedView()
- Specified by:
isCustomizedView in interface com.liferay.portal.model.LayoutTypePortlet
isDefaultUpdated
public boolean isDefaultUpdated()
- Specified by:
isDefaultUpdated in interface com.liferay.portal.model.LayoutTypePortlet
isPortletCustomizable
public boolean isPortletCustomizable(java.lang.String portletId)
- Specified by:
isPortletCustomizable in interface com.liferay.portal.model.LayoutTypePortlet
isTemplateCustomizable
public boolean isTemplateCustomizable(java.lang.String columnId)
- Specified by:
isTemplateCustomizable in interface com.liferay.portal.model.LayoutTypePortlet
movePortletId
public void movePortletId(long userId,
java.lang.String portletId,
java.lang.String columnId,
int columnPos)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
movePortletId in interface com.liferay.portal.model.LayoutTypePortlet
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
removeModeAboutPortletId
public void removeModeAboutPortletId(java.lang.String portletId)
- Specified by:
removeModeAboutPortletId in interface com.liferay.portal.model.LayoutTypePortlet
removeModeConfigPortletId
public void removeModeConfigPortletId(java.lang.String portletId)
- Specified by:
removeModeConfigPortletId in interface com.liferay.portal.model.LayoutTypePortlet
removeModeEditDefaultsPortletId
public void removeModeEditDefaultsPortletId(java.lang.String portletId)
- Specified by:
removeModeEditDefaultsPortletId in interface com.liferay.portal.model.LayoutTypePortlet
removeModeEditGuestPortletId
public void removeModeEditGuestPortletId(java.lang.String portletId)
- Specified by:
removeModeEditGuestPortletId in interface com.liferay.portal.model.LayoutTypePortlet
removeModeEditPortletId
public void removeModeEditPortletId(java.lang.String portletId)
- Specified by:
removeModeEditPortletId in interface com.liferay.portal.model.LayoutTypePortlet
removeModeHelpPortletId
public void removeModeHelpPortletId(java.lang.String portletId)
- Specified by:
removeModeHelpPortletId in interface com.liferay.portal.model.LayoutTypePortlet
removeModePreviewPortletId
public void removeModePreviewPortletId(java.lang.String portletId)
- Specified by:
removeModePreviewPortletId in interface com.liferay.portal.model.LayoutTypePortlet
removeModePrintPortletId
public void removeModePrintPortletId(java.lang.String portletId)
- Specified by:
removeModePrintPortletId in interface com.liferay.portal.model.LayoutTypePortlet
removeModesPortletId
public void removeModesPortletId(java.lang.String portletId)
- Specified by:
removeModesPortletId in interface com.liferay.portal.model.LayoutTypePortlet
removeNestedColumns
public void removeNestedColumns(java.lang.String portletNamespace)
- Specified by:
removeNestedColumns in interface com.liferay.portal.model.LayoutTypePortlet
removePortletId
public void removePortletId(long userId,
java.lang.String portletId)
- Specified by:
removePortletId in interface com.liferay.portal.model.LayoutTypePortlet
removePortletId
public void removePortletId(long userId,
java.lang.String portletId,
boolean cleanUp)
- Specified by:
removePortletId in interface com.liferay.portal.model.LayoutTypePortlet
removeStateMaxPortletId
public void removeStateMaxPortletId(java.lang.String portletId)
- Specified by:
removeStateMaxPortletId in interface com.liferay.portal.model.LayoutTypePortlet
removeStateMinPortletId
public void removeStateMinPortletId(java.lang.String portletId)
- Specified by:
removeStateMinPortletId in interface com.liferay.portal.model.LayoutTypePortlet
removeStatesPortletId
public void removeStatesPortletId(java.lang.String portletId)
- Specified by:
removeStatesPortletId in interface com.liferay.portal.model.LayoutTypePortlet
reorganizePortlets
public void reorganizePortlets(java.util.List<java.lang.String> newColumns,
java.util.List<java.lang.String> oldColumns)
- Specified by:
reorganizePortlets in interface com.liferay.portal.model.LayoutTypePortlet
resetModes
public void resetModes()
- Specified by:
resetModes in interface com.liferay.portal.model.LayoutTypePortlet
resetStates
public void resetStates()
- Specified by:
resetStates in interface com.liferay.portal.model.LayoutTypePortlet
resetUserPreferences
public void resetUserPreferences()
- Specified by:
resetUserPreferences in interface com.liferay.portal.model.LayoutTypePortlet
setCustomizedView
public void setCustomizedView(boolean customizedView)
- Specified by:
setCustomizedView in interface com.liferay.portal.model.LayoutTypePortlet
setLayoutTemplateId
public void setLayoutTemplateId(long userId,
java.lang.String newLayoutTemplateId)
- Specified by:
setLayoutTemplateId in interface com.liferay.portal.model.LayoutTypePortlet
setLayoutTemplateId
public void setLayoutTemplateId(long userId,
java.lang.String newLayoutTemplateId,
boolean checkPermission)
- Specified by:
setLayoutTemplateId in interface com.liferay.portal.model.LayoutTypePortlet
setModeAbout
public void setModeAbout(java.lang.String modeAbout)
- Specified by:
setModeAbout in interface com.liferay.portal.model.LayoutTypePortlet
setModeConfig
public void setModeConfig(java.lang.String modeConfig)
- Specified by:
setModeConfig in interface com.liferay.portal.model.LayoutTypePortlet
setModeEdit
public void setModeEdit(java.lang.String modeEdit)
- Specified by:
setModeEdit in interface com.liferay.portal.model.LayoutTypePortlet
setModeEditDefaults
public void setModeEditDefaults(java.lang.String modeEditDefaults)
- Specified by:
setModeEditDefaults in interface com.liferay.portal.model.LayoutTypePortlet
setModeEditGuest
public void setModeEditGuest(java.lang.String modeEditGuest)
- Specified by:
setModeEditGuest in interface com.liferay.portal.model.LayoutTypePortlet
setModeHelp
public void setModeHelp(java.lang.String modeHelp)
- Specified by:
setModeHelp in interface com.liferay.portal.model.LayoutTypePortlet
setModePreview
public void setModePreview(java.lang.String modePreview)
- Specified by:
setModePreview in interface com.liferay.portal.model.LayoutTypePortlet
setModePrint
public void setModePrint(java.lang.String modePrint)
- Specified by:
setModePrint in interface com.liferay.portal.model.LayoutTypePortlet
setPortalPreferences
public void setPortalPreferences(com.liferay.portlet.PortalPreferences portalPreferences)
- Specified by:
setPortalPreferences in interface com.liferay.portal.model.LayoutTypePortlet
setPortletIds
public void setPortletIds(java.lang.String columnId,
java.lang.String portletIds)
- Specified by:
setPortletIds in interface com.liferay.portal.model.LayoutTypePortlet
setStateMax
public void setStateMax(java.lang.String stateMax)
- Specified by:
setStateMax in interface com.liferay.portal.model.LayoutTypePortlet
setStateMin
public void setStateMin(java.lang.String stateMin)
- Specified by:
setStateMin in interface com.liferay.portal.model.LayoutTypePortlet
setUpdatePermission
public void setUpdatePermission(boolean updatePermission)
- Specified by:
setUpdatePermission in interface com.liferay.portal.model.LayoutTypePortlet
addNestedColumn
protected void addNestedColumn(java.lang.String columnId)
copyPreferences
protected void copyPreferences(java.lang.String sourcePortletId,
java.lang.String targetPortletId)
deletePortletSetup
protected void deletePortletSetup(java.lang.String portletId)
getColumn
protected java.lang.String getColumn(java.lang.String portletId)
getColumns
protected java.util.List<java.lang.String> getColumns()
getColumnValue
protected java.lang.String getColumnValue(java.lang.String columnId)
getCompanyId
protected long getCompanyId()
getNestedColumns
protected java.util.List<java.lang.String> getNestedColumns()
getPlid
protected long getPlid()
getStaticPortletIds
protected java.lang.String[] getStaticPortletIds(java.lang.String position)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getStaticPortlets
protected java.util.List<com.liferay.portal.model.Portlet> getStaticPortlets(java.lang.String position)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getThemeId
protected java.lang.String getThemeId()
getUserPreference
protected java.lang.String getUserPreference(java.lang.String key)
hasNonstaticPortletId
protected boolean hasNonstaticPortletId(java.lang.String portletId)
hasNonstaticPortletId
protected boolean hasNonstaticPortletId(java.lang.String columnId,
java.lang.String portletId)
hasStaticPortletId
protected boolean hasStaticPortletId(java.lang.String columnId,
java.lang.String portletId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
hasUserPreferences
protected boolean hasUserPreferences()
isLayoutSetPrototype
protected boolean isLayoutSetPrototype()
onRemoveFromLayout
protected void onRemoveFromLayout(java.lang.String portletId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
setUserPreference
protected void setUserPreference(java.lang.String key,
java.lang.String value)