|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.model.impl.BaseModelImpl com.liferay.portal.model.impl.PortletModelImpl com.liferay.portal.model.impl.PortletImpl
public class PortletImpl
Field Summary |
---|
Fields inherited from class com.liferay.portal.model.impl.PortletModelImpl |
---|
CACHE_ENABLED, DATA_SOURCE, LOCK_EXPIRATION_TIME, SESSION_FACTORY, TABLE_COLUMNS, TABLE_NAME, TABLE_SQL_CREATE, TABLE_SQL_DROP, TX_MANAGER |
Constructor Summary | |
---|---|
PortletImpl()
Constructs a portlet with no parameters. |
|
PortletImpl(long companyId,
java.lang.String portletId)
Constructs a portlet with the specified parameters. |
|
PortletImpl(java.lang.String portletId,
com.liferay.portal.kernel.plugin.PluginPackage pluginPackage,
com.liferay.portal.model.PluginSetting pluginSetting,
long companyId,
long timestamp,
java.lang.String icon,
java.lang.String virtualPath,
java.lang.String strutsPath,
java.lang.String portletName,
java.lang.String displayName,
java.lang.String portletClass,
java.lang.String configurationActionClass,
java.lang.String indexerClass,
java.lang.String openSearchClass,
java.lang.String schedulerClass,
java.lang.String portletURLClass,
java.lang.String friendlyURLMapperClass,
java.lang.String urlEncoderClass,
java.lang.String portletDataHandlerClass,
java.lang.String portletLayoutListenerClass,
java.lang.String popMessageListenerClass,
java.lang.String socialActivityInterpreterClass,
java.lang.String socialRequestInterpreterClass,
java.lang.String webDAVStorageToken,
java.lang.String webDAVStorageClass,
java.lang.String controlPanelEntryCategory,
double controlPanelEntryWeight,
java.lang.String controlPanelClass,
java.lang.String defaultPreferences,
java.lang.String preferencesValidator,
boolean preferencesCompanyWide,
boolean preferencesUniquePerLayout,
boolean preferencesOwnedByGroup,
boolean useDefaultTemplate,
boolean showPortletAccessDenied,
boolean showPortletInactive,
boolean actionURLRedirect,
boolean restoreCurrentView,
boolean maximizeEdit,
boolean maximizeHelp,
boolean popUpPrint,
boolean layoutCacheable,
boolean instanceable,
boolean scopeable,
java.lang.String userPrincipalStrategy,
boolean privateRequestAttributes,
boolean privateSessionAttributes,
int renderWeight,
boolean ajaxable,
java.util.List<java.lang.String> headerPortalCss,
java.util.List<java.lang.String> headerPortletCss,
java.util.List<java.lang.String> headerPortalJavaScript,
java.util.List<java.lang.String> headerPortletJavaScript,
java.util.List<java.lang.String> footerPortalCss,
java.util.List<java.lang.String> footerPortletCss,
java.util.List<java.lang.String> footerPortalJavaScript,
java.util.List<java.lang.String> footerPortletJavaScript,
java.lang.String cssClassWrapper,
java.lang.String facebookIntegration,
boolean addDefaultResource,
java.lang.String roles,
java.util.Set<java.lang.String> unlinkedRoles,
java.util.Map<java.lang.String,java.lang.String> roleMappers,
boolean system,
boolean active,
boolean include,
java.util.Map<java.lang.String,java.lang.String> initParams,
java.lang.Integer expCache,
java.util.Map<java.lang.String,java.util.Set<java.lang.String>> portletModes,
java.util.Set<java.lang.String> supportedLocales,
java.lang.String resourceBundle,
com.liferay.portal.model.PortletInfo portletInfo,
java.util.Map<java.lang.String,com.liferay.portal.model.PortletFilter> portletFilters,
java.util.Set<com.liferay.portal.kernel.xml.QName> processingEvents,
java.util.Set<com.liferay.portal.kernel.xml.QName> publishingEvents,
java.util.Set<com.liferay.portal.model.PublicRenderParameter> publicRenderParameters,
boolean remote,
java.lang.String remoteConsumerId,
java.lang.String remoteProducerEntityId,
java.lang.String remotePortletHandle,
java.lang.String remotePortletId,
com.liferay.portal.model.PortletApp portletApp)
Constructs a portlet with the specified parameters. |
Method Summary | |
---|---|
void |
addProcessingEvent(com.liferay.portal.kernel.xml.QName processingEvent)
Adds a supported processing event. |
void |
addPublicRenderParameter(com.liferay.portal.model.PublicRenderParameter publicRenderParameter)
Adds a supported public render parameter. |
void |
addPublishingEvent(com.liferay.portal.kernel.xml.QName publishingEvent)
Adds a supported publishing event. |
java.lang.Object |
clone()
Creates and returns a copy of this object. |
int |
compareTo(java.lang.Object obj)
Compares this portlet to the specified object. |
boolean |
equals(java.lang.Object obj)
Checks whether this portlet is equal to the specified object. |
boolean |
getActionURLRedirect()
Returns true if an action URL for this portlet should cause an auto redirect. |
boolean |
getAddDefaultResource()
Returns true if default resources for the portlet are added to a page. |
boolean |
getAjaxable()
Returns true if the portlet can be displayed via Ajax. |
java.util.Set<java.lang.String> |
getAllPortletModes()
Gets a list of all portlet modes supported by the portlet. |
com.liferay.portal.model.Portlet |
getClonedInstance(java.lang.String portletId)
Returns true if the portlet is found in a WAR file. |
java.lang.String |
getConfigurationActionClass()
Gets the configuration action class of the portlet. |
com.liferay.portal.kernel.portlet.ConfigurationAction |
getConfigurationActionInstance()
Gets the configuration action instance of the portlet. |
java.lang.String |
getContextPath()
Gets the servlet context path of the portlet. |
java.lang.String |
getControlPanelEntryCategory()
Gets the name of the category of the Control Panel where the portlet will be shown. |
java.lang.String |
getControlPanelEntryClass()
Gets the name of the class that will control when the portlet will be shown in the Control Panel. |
com.liferay.portlet.ControlPanelEntry |
getControlPanelEntryInstance()
Gets an instance of the class that will control when the portlet will be shown in the Control Panel |
double |
getControlPanelEntryWeight()
Gets the relative weight of the portlet with respect to the other portlets in the same category of the Control Panel. |
java.lang.String |
getCssClassWrapper()
Gets the name of the CSS class that will be injected in the DIV that wraps this portlet. |
com.liferay.portal.model.PluginSetting |
getDefaultPluginSetting()
Get the default plugin settings of the portlet. |
java.lang.String |
getDefaultPreferences()
Gets the default preferences of the portlet. |
java.lang.String |
getDisplayName()
Gets the display name of the portlet. |
java.lang.Integer |
getExpCache()
Gets expiration cache of the portlet. |
java.lang.String |
getFacebookIntegration()
Gets the Facebook integration method of the portlet. |
java.util.List<java.lang.String> |
getFooterPortalCss()
Gets a list of CSS files that will be referenced from the page's footer relative to the portal's context path. |
java.util.List<java.lang.String> |
getFooterPortalJavaScript()
Gets a list of JavaScript files that will be referenced from the page's footer relative to the portal's context path. |
java.util.List<java.lang.String> |
getFooterPortletCss()
Gets a list of CSS files that will be referenced from the page's footer relative to the portlet's context path. |
java.util.List<java.lang.String> |
getFooterPortletJavaScript()
Gets a list of JavaScript files that will be referenced from the page's footer relative to the portlet's context path. |
java.lang.String |
getFriendlyURLMapperClass()
Gets the name of the friendly URL mapper class of the portlet. |
com.liferay.portal.kernel.portlet.FriendlyURLMapper |
getFriendlyURLMapperInstance()
Gets the friendly URL mapper instance of the portlet. |
java.util.List<java.lang.String> |
getHeaderPortalCss()
Gets a list of CSS files that will be referenced from the page's header relative to the portal's context path. |
java.util.List<java.lang.String> |
getHeaderPortalJavaScript()
Gets a list of JavaScript files that will be referenced from the page's header relative to the portal's context path. |
java.util.List<java.lang.String> |
getHeaderPortletCss()
Gets a list of CSS files that will be referenced from the page's header relative to the portlet's context path. |
java.util.List<java.lang.String> |
getHeaderPortletJavaScript()
Gets a list of JavaScript files that will be referenced from the page's header relative to the portlet's context path. |
java.lang.String |
getIcon()
Gets the icon of the portlet. |
boolean |
getInclude()
Returns true to include the portlet and make it available to be made active. |
java.lang.String |
getIndexerClass()
Gets the name of the indexer class of the portlet. |
com.liferay.portal.kernel.search.Indexer |
getIndexerInstance()
Gets the indexer instance of the portlet. |
java.util.Map<java.lang.String,java.lang.String> |
getInitParams()
Gets the init parameters of the portlet. |
boolean |
getInstanceable()
Returns true if the portlet can be added multiple times to a layout. |
java.lang.String |
getInstanceId()
Gets the instance id of the portlet. |
boolean |
getLayoutCacheable()
Returns true to allow the portlet to be cached within the layout. |
boolean |
getMaximizeEdit()
Returns true if the portlet goes into the maximized state when the user goes into the edit mode. |
boolean |
getMaximizeHelp()
Returns true if the portlet goes into the maximized state when the user goes into the help mode. |
java.lang.String |
getOpenSearchClass()
Gets the name of the open search class of the portlet. |
com.liferay.portal.kernel.search.OpenSearch |
getOpenSearchInstance()
Gets the indexer instance of the portlet. |
java.lang.String |
getPluginId()
Gets the plugin id of the portlet. |
com.liferay.portal.kernel.plugin.PluginPackage |
getPluginPackage()
Get the package to which the portlet belongs to. |
java.lang.String |
getPluginType()
Gets the plugin type of the portlet. |
java.lang.String |
getPopMessageListenerClass()
Gets the name of the POP message listener class of the portlet. |
com.liferay.portal.kernel.pop.MessageListener |
getPopMessageListenerInstance()
Gets the POP message listener instance of the portlet. |
boolean |
getPopUpPrint()
Returns true if the portlet goes into the pop up state when the user goes into the print mode. |
com.liferay.portal.model.PortletApp |
getPortletApp()
Get the application this portlet belongs to. |
java.lang.String |
getPortletClass()
Gets the name of the portlet class of the portlet. |
java.lang.String |
getPortletDataHandlerClass()
Gets the name of the portlet data handler class of the portlet. |
com.liferay.portal.lar.PortletDataHandler |
getPortletDataHandlerInstance()
Gets the portlet data handler instance of the portlet. |
java.util.Map<java.lang.String,com.liferay.portal.model.PortletFilter> |
getPortletFilters()
Gets the filters of the portlet. |
com.liferay.portal.model.PortletInfo |
getPortletInfo()
Gets the portlet info of the portlet. |
com.liferay.portal.kernel.portlet.PortletLayoutListener |
getPortletLayoutListener()
Gets the portlet layout listener of the portlet. |
java.lang.String |
getPortletLayoutListenerClass()
Gets the name of the portlet layout listener class of the portlet. |
java.util.Map<java.lang.String,java.util.Set<java.lang.String>> |
getPortletModes()
Gets the portlet modes of the portlet. |
java.lang.String |
getPortletName()
Gets the name of the portlet. |
java.lang.String |
getPortletURLClass()
Gets the name of the portlet URL class of the portlet. |
boolean |
getPreferencesCompanyWide()
Returns true if preferences are shared across the entire company. |
boolean |
getPreferencesOwnedByGroup()
Returns true if preferences are owned by the group when the portlet is shown in a group layout. |
boolean |
getPreferencesUniquePerLayout()
Returns true if preferences are unique per layout. |
java.lang.String |
getPreferencesValidator()
Gets the name of the preferences validator class of the portlet. |
boolean |
getPrivateRequestAttributes()
Returns true if the portlet does not share request attributes with the portal or portlets from another WAR. |
boolean |
getPrivateSessionAttributes()
Returns true if the portlet does not share session attributes with the portal. |
com.liferay.portal.kernel.xml.QName |
getProcessingEvent(java.lang.String uri,
java.lang.String localPart)
Gets the supported processing event from a namespace URI and a local part. |
java.util.Set<com.liferay.portal.kernel.xml.QName> |
getProcessingEvents()
Gets the supported processing events of the portlet. |
com.liferay.portal.model.PublicRenderParameter |
getPublicRenderParameter(java.lang.String identifier)
Gets the supported public render parameter from an identifier. |
com.liferay.portal.model.PublicRenderParameter |
getPublicRenderParameter(java.lang.String uri,
java.lang.String localPart)
Gets the supported public render parameter from a namespace URI and a local part. |
java.util.Set<com.liferay.portal.model.PublicRenderParameter> |
getPublicRenderParameters()
Gets the supported public render parameters of the portlet. |
java.util.Set<com.liferay.portal.kernel.xml.QName> |
getPublishingEvents()
Gets the supported publishing events of the portlet. |
java.lang.String |
getRemoteConsumerId()
Gets the remote consumer id of the portlet. |
java.lang.String |
getRemotePortletHandle()
Gets the remote portlet handle of the portlet. |
java.lang.String |
getRemotePortletId()
Gets the remote portlet id of the portlet. |
java.lang.String |
getRemoteProducerEntityId()
Gets the remote producer entity id of the portlet. |
int |
getRenderWeight()
Returns the render weight of the portlet. |
java.lang.String |
getResourceBundle()
Gets the resource bundle of the portlet. |
boolean |
getRestoreCurrentView()
Returns true if the portlet restores to the current view from the maximized state. |
java.util.Map<java.lang.String,java.lang.String> |
getRoleMappers()
Gets the role mappers of the portlet. |
java.lang.String[] |
getRolesArray()
Gets an array of required roles of the portlet. |
java.lang.String |
getRootPortletId()
Gets the root portlet id of the portlet. |
java.lang.String |
getSchedulerClass()
Gets the name of the scheduler class of the portlet. |
com.liferay.portal.kernel.job.Scheduler |
getSchedulerInstance()
Gets the scheduler instance of the portlet. |
boolean |
getScopeable()
Returns true if the portlet supports scoping of data. |
boolean |
getShowPortletAccessDenied()
Returns true if users are shown that they do not have access to the portlet. |
boolean |
getShowPortletInactive()
Returns true if users are shown that the portlet is inactive. |
java.lang.String |
getSocialActivityInterpreterClass()
Gets the name of the social activity interpreter class of the portlet. |
com.liferay.portlet.social.model.SocialActivityInterpreter |
getSocialActivityInterpreterInstance()
Gets the name of the social activity interpreter instance of the portlet. |
java.lang.String |
getSocialRequestInterpreterClass()
Gets the name of the social request interpreter class of the portlet. |
com.liferay.portlet.social.model.SocialRequestInterpreter |
getSocialRequestInterpreterInstance()
Gets the name of the social request interpreter instance of the portlet. |
boolean |
getStatic()
Returns true if the portlet is a static portlet that is cannot be moved. |
boolean |
getStaticEnd()
Returns true if the portlet is a static portlet at the end of a list of portlets. |
boolean |
getStaticStart()
Returns true if the portlet is a static portlet at the start of a list of portlets. |
java.lang.String |
getStrutsPath()
Gets the struts path of the portlet. |
java.util.Set<java.lang.String> |
getSupportedLocales()
Gets the supported locales of the portlet. |
boolean |
getSystem()
Returns true if the portlet is a system portlet that a user cannot manually add to their page. |
long |
getTimestamp()
Gets the timestamp of the portlet. |
boolean |
getUndeployedPortlet()
Returns true if the portlet is an undeployed portlet. |
java.util.Set<java.lang.String> |
getUnlinkedRoles()
Gets the unlinked roles of the portlet. |
java.lang.String |
getURLEncoderClass()
Gets the name of the URL encoder class of the portlet. |
com.liferay.portal.kernel.servlet.URLEncoder |
getURLEncoderInstance()
Gets the URL encoder instance of the portlet. |
boolean |
getUseDefaultTemplate()
Returns true if the portlet uses the default template. |
java.lang.String |
getUserPrincipalStrategy()
Gets the user principal strategy of the portlet. |
java.lang.String |
getVirtualPath()
Gets the virtual path of the portlet. |
java.lang.String |
getWebDAVStorageClass()
Gets the name of the WebDAV storage class of the portlet. |
com.liferay.portal.webdav.WebDAVStorage |
getWebDAVStorageInstance()
Gets the name of the WebDAV storage instance of the portlet. |
java.lang.String |
getWebDAVStorageToken()
Gets the name of the WebDAV storage token of the portlet. |
boolean |
hasAddPortletPermission(long userId)
Returns true if the user has the permission to add the portlet to a layout. |
boolean |
hasMultipleMimeTypes()
Returns true if the portlet supports more than one mime type. |
boolean |
hasPortletMode(java.lang.String mimeType,
javax.portlet.PortletMode portletMode)
Returns true if the portlet supports the specified mime type and portlet mode. |
boolean |
hasRoleWithName(java.lang.String roleName)
Returns true if the portlet has a role with the specified name. |
boolean |
isActionURLRedirect()
Returns true if an action URL for this portlet should cause an auto redirect. |
boolean |
isAddDefaultResource()
Returns true if default resources for the portlet are added to a page. |
boolean |
isAjaxable()
Returns true if the portlet can be displayed via Ajax. |
boolean |
isInclude()
Returns true to include the portlet and make it available to be made active. |
boolean |
isInstanceable()
Returns true if the portlet can be added multiple times to a layout. |
boolean |
isLayoutCacheable()
Returns true to allow the portlet to be cached within the layout. |
boolean |
isMaximizeEdit()
Returns true if the portlet goes into the maximized state when the user goes into the edit mode. |
boolean |
isMaximizeHelp()
Returns true if the portlet goes into the maximized state when the user goes into the help mode. |
boolean |
isPopUpPrint()
Returns true if the portlet goes into the pop up state when the user goes into the print mode. |
boolean |
isPreferencesCompanyWide()
Returns true if preferences are shared across the entire company. |
boolean |
isPreferencesOwnedByGroup()
Returns true if preferences are owned by the group when the portlet is shown in a group layout. |
boolean |
isPreferencesUniquePerLayout()
Returns true if preferences are unique per layout. |
boolean |
isPrivateRequestAttributes()
Returns true if the portlet does not share request attributes with the portal or portlets from another WAR. |
boolean |
isPrivateSessionAttributes()
Returns true if the portlet does not share session attributes with the portal. |
boolean |
isRemote()
Returns true if the portlet is a remote portlet. |
boolean |
isRestoreCurrentView()
Returns true if the portlet restores to the current view from the maximized state. |
boolean |
isScopeable()
Returns true if the portlet supports scoping of data. |
boolean |
isShowPortletAccessDenied()
Returns true if users are shown that they do not have access to the portlet. |
boolean |
isShowPortletInactive()
Returns true if users are shown that the portlet is inactive. |
boolean |
isStatic()
Returns true if the portlet is a static portlet that is cannot be moved. |
boolean |
isStaticEnd()
Returns true if the portlet is a static portlet at the end of a list of portlets. |
boolean |
isStaticStart()
Returns true if the portlet is a static portlet at the start of a list of portlets. |
boolean |
isSystem()
Returns true if the portlet is a system portlet that a user cannot manually add to their page. |
boolean |
isUndeployedPortlet()
Returns true if the portlet is an undeployed portlet. |
boolean |
isUseDefaultTemplate()
Returns true if the portlet uses the default template. |
void |
linkRoles()
Link the role names set in portlet.xml with the Liferay roles set in liferay-portlet.xml. |
void |
setActionURLRedirect(boolean actionURLRedirect)
Set to true if an action URL for this portlet should cause an auto redirect. |
void |
setAddDefaultResource(boolean addDefaultResource)
Set to true if default resources for the portlet are added to a page. |
void |
setAjaxable(boolean ajaxable)
Set to true if the portlet can be displayed via Ajax. |
void |
setConfigurationActionClass(java.lang.String configurationActionClass)
Sets the configuration action class of the portlet. |
void |
setControlPanelEntryCategory(java.lang.String controlPanelEntryCategory)
Set the name of the category of the Control Panel where the portlet will be shown. |
void |
setControlPanelEntryClass(java.lang.String controlPanelEntryClass)
Sets the name of the class that will control when the portlet will be shown in the Control Panel. |
void |
setControlPanelEntryWeight(double controlPanelEntryWeight)
Sets the relative weight of the portlet with respect to the other portlets in the same category of the Control Panel. |
void |
setCssClassWrapper(java.lang.String cssClassWrapper)
Sets the name of the CSS class that will be injected in the DIV that wraps this portlet. |
void |
setDefaultPluginSetting(com.liferay.portal.model.PluginSetting pluginSetting)
Sets the default plugin settings of the portlet. |
void |
setDefaultPreferences(java.lang.String defaultPreferences)
Sets the default preferences of the portlet. |
void |
setDisplayName(java.lang.String displayName)
Sets the display name of the portlet. |
void |
setExpCache(java.lang.Integer expCache)
Sets expiration cache of the portlet. |
void |
setFacebookIntegration(java.lang.String facebookIntegration)
Sets the Facebook integration method of the portlet. |
void |
setFooterPortalCss(java.util.List<java.lang.String> footerPortalCss)
Sets a list of CSS files that will be referenced from the page's footer relative to the portal's context path. |
void |
setFooterPortalJavaScript(java.util.List<java.lang.String> footerPortalJavaScript)
Sets a list of JavaScript files that will be referenced from the page's footer relative to the portal's context path. |
void |
setFooterPortletCss(java.util.List<java.lang.String> footerPortletCss)
Sets a list of CSS files that will be referenced from the page's footer relative to the portlet's context path. |
void |
setFooterPortletJavaScript(java.util.List<java.lang.String> footerPortletJavaScript)
Sets a list of JavaScript files that will be referenced from the page's footer relative to the portlet's context path. |
void |
setFriendlyURLMapperClass(java.lang.String friendlyURLMapperClass)
Sets the name of the friendly URL mapper class of the portlet. |
void |
setHeaderPortalCss(java.util.List<java.lang.String> headerPortalCss)
Sets a list of CSS files that will be referenced from the page's header relative to the portal's context path. |
void |
setHeaderPortalJavaScript(java.util.List<java.lang.String> headerPortalJavaScript)
Sets a list of JavaScript files that will be referenced from the page's header relative to the portal's context path. |
void |
setHeaderPortletCss(java.util.List<java.lang.String> headerPortletCss)
Sets a list of CSS files that will be referenced from the page's header relative to the portlet's context path. |
void |
setHeaderPortletJavaScript(java.util.List<java.lang.String> headerPortletJavaScript)
Sets a list of JavaScript files that will be referenced from the page's header relative to the portlet's context path. |
void |
setIcon(java.lang.String icon)
Sets the icon of the portlet. |
void |
setInclude(boolean include)
Set to true to include the portlet and make it available to be made active. |
void |
setIndexerClass(java.lang.String indexerClass)
Sets the name of the indexer class of the portlet. |
void |
setInitParams(java.util.Map<java.lang.String,java.lang.String> initParams)
Sets the init parameters of the portlet. |
void |
setInstanceable(boolean instanceable)
Set to true if the portlet can be added multiple times to a layout. |
void |
setLayoutCacheable(boolean layoutCacheable)
Set to true to allow the portlet to be cached within the layout. |
void |
setMaximizeEdit(boolean maximizeEdit)
Set to true if the portlet goes into the maximized state when the user goes into the edit mode. |
void |
setMaximizeHelp(boolean maximizeHelp)
Set to true if the portlet goes into the maximized state when the user goes into the help mode. |
void |
setOpenSearchClass(java.lang.String openSearchClass)
Sets the name of the open search class of the portlet. |
void |
setPluginPackage(com.liferay.portal.kernel.plugin.PluginPackage pluginPackage)
Sets the plugin package this portlet belongs to. |
void |
setPopMessageListenerClass(java.lang.String popMessageListenerClass)
Sets the name of the POP message listener class of the portlet. |
void |
setPopUpPrint(boolean popUpPrint)
Set to true if the portlet goes into the pop up state when the user goes into the print mode. |
void |
setPortletApp(com.liferay.portal.model.PortletApp portletApp)
Sets the application this portlet belongs to. |
void |
setPortletClass(java.lang.String portletClass)
Sets the name of the portlet class of the portlet. |
void |
setPortletDataHandlerClass(java.lang.String portletDataHandlerClass)
Sets the name of the portlet data handler class of the portlet. |
void |
setPortletFilters(java.util.Map<java.lang.String,com.liferay.portal.model.PortletFilter> portletFilters)
Sets the filters of the portlet. |
void |
setPortletInfo(com.liferay.portal.model.PortletInfo portletInfo)
Sets the portlet info of the portlet. |
void |
setPortletLayoutListenerClass(java.lang.String portletLayoutListenerClass)
Sets the name of the portlet layout listener class of the portlet. |
void |
setPortletModes(java.util.Map<java.lang.String,java.util.Set<java.lang.String>> portletModes)
Sets the portlet modes of the portlet. |
void |
setPortletName(java.lang.String portletName)
Sets the name of the portlet. |
void |
setPortletURLClass(java.lang.String portletURLClass)
Sets the name of the portlet URL class of the portlet. |
void |
setPreferencesCompanyWide(boolean preferencesCompanyWide)
Set to true if preferences are shared across the entire company. |
void |
setPreferencesOwnedByGroup(boolean preferencesOwnedByGroup)
Set to true if preferences are owned by the group when the portlet is shown in a group layout. |
void |
setPreferencesUniquePerLayout(boolean preferencesUniquePerLayout)
Set to true if preferences are unique per layout. |
void |
setPreferencesValidator(java.lang.String preferencesValidator)
Sets the name of the preferences validator class of the portlet. |
void |
setPrivateRequestAttributes(boolean privateRequestAttributes)
Set to true if the portlet does not share request attributes with the portal or portlets from another WAR. |
void |
setPrivateSessionAttributes(boolean privateSessionAttributes)
Set to true if the portlet does not share session attributes with the portal. |
void |
setProcessingEvents(java.util.Set<com.liferay.portal.kernel.xml.QName> processingEvents)
Sets the supported processing events of the portlet. |
void |
setPublicRenderParameters(java.util.Set<com.liferay.portal.model.PublicRenderParameter> publicRenderParameters)
Sets the supported public render parameters of the portlet. |
void |
setPublishingEvents(java.util.Set<com.liferay.portal.kernel.xml.QName> publishingEvents)
Sets the supported publishing events of the portlet. |
void |
setRemote(boolean remote)
Set to true if the portlet is a remote portlet. |
void |
setRemoteConsumerId(java.lang.String remoteConsumerId)
Sets the remote consumer id of the portlet. |
void |
setRemotePortletHandle(java.lang.String remotePortletHandle)
Sets the remote portlet handle of the portlet. |
void |
setRemotePortletId(java.lang.String remotePortletId)
Sets the remote portlet id of the portlet. |
void |
setRemoteProducerEntityId(java.lang.String remoteProducerEntityId)
Sets the remote producer entity id of the portlet. |
void |
setRenderWeight(int renderWeight)
Sets the render weight of the portlet. |
void |
setResourceBundle(java.lang.String resourceBundle)
Sets the resource bundle of the portlet. |
void |
setRestoreCurrentView(boolean restoreCurrentView)
Set to true if the portlet restores to the current view from the maximized state. |
void |
setRoleMappers(java.util.Map<java.lang.String,java.lang.String> roleMappers)
Sets the role mappers of the portlet. |
void |
setRoles(java.lang.String roles)
Sets a string of ordered comma delimited portlet ids. |
void |
setRolesArray(java.lang.String[] rolesArray)
Sets an array of required roles of the portlet. |
void |
setSchedulerClass(java.lang.String schedulerClass)
Sets the name of the scheduler class of the portlet. |
void |
setScopeable(boolean scopeable)
Set to true if the portlet supports scoping of data. |
void |
setShowPortletAccessDenied(boolean showPortletAccessDenied)
Set to true if users are shown that they do not have access to the portlet. |
void |
setShowPortletInactive(boolean showPortletInactive)
Set to true if users are shown that the portlet is inactive. |
void |
setSocialActivityInterpreterClass(java.lang.String socialActivityInterpreterClass)
Sets the name of the social activity interpreter class of the portlet. |
void |
setSocialRequestInterpreterClass(java.lang.String socialRequestInterpreterClass)
Sets the name of the social request interpreter class of the portlet. |
void |
setStatic(boolean staticPortlet)
Set to true if the portlet is a static portlet that is cannot be moved. |
void |
setStaticStart(boolean staticPortletStart)
Set to true if the portlet is a static portlet at the start of a list of portlets. |
void |
setStrutsPath(java.lang.String strutsPath)
Sets the struts path of the portlet. |
void |
setSupportedLocales(java.util.Set<java.lang.String> supportedLocales)
Sets the supported locales of the portlet. |
void |
setSystem(boolean system)
Set to true if the portlet is a system portlet that a user cannot manually add to their page. |
void |
setTimestamp(long timestamp)
Sets the timestamp of the portlet. |
void |
setUndeployedPortlet(boolean undeployedPortlet)
Set to true if the portlet is an undeployed portlet. |
void |
setUnlinkedRoles(java.util.Set<java.lang.String> unlinkedRoles)
Sets the unlinked roles of the portlet. |
void |
setURLEncoderClass(java.lang.String urlEncoderClass)
Sets the name of the URL encoder class of the portlet. |
void |
setUseDefaultTemplate(boolean useDefaultTemplate)
Set to true if the portlet uses the default template. |
void |
setUserPrincipalStrategy(java.lang.String userPrincipalStrategy)
Sets the user principal strategy of the portlet. |
void |
setVirtualPath(java.lang.String virtualPath)
Sets the virtual path of the portlet. |
void |
setWebDAVStorageClass(java.lang.String webDAVStorageClass)
Sets the name of the WebDAV storage class of the portlet. |
void |
setWebDAVStorageToken(java.lang.String webDAVStorageToken)
Sets the name of the WebDAV storage token of the portlet. |
Methods inherited from class com.liferay.portal.model.impl.PortletModelImpl |
---|
getActive, getCompanyId, getExpandoBridge, getId, getPortletId, getPrimaryKey, getPrimaryKeyObj, getRoles, hashCode, isActive, setActive, setCompanyId, setId, setPortletId, setPrimaryKey, toEscapedModel, toModel, toModels |
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
---|
isEscapedModel, isNew, setEscapedModel, setNew |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.liferay.portal.model.PortletModel |
---|
getActive, getCompanyId, getId, getPortletId, getPrimaryKey, getRoles, isActive, setActive, setCompanyId, setId, setPortletId, setPrimaryKey, toEscapedModel |
Methods inherited from interface com.liferay.portal.model.BaseModel |
---|
getExpandoBridge, getPrimaryKeyObj, isEscapedModel, isNew, setEscapedModel, setNew |
Constructor Detail |
---|
public PortletImpl()
public PortletImpl(long companyId, java.lang.String portletId)
public PortletImpl(java.lang.String portletId, com.liferay.portal.kernel.plugin.PluginPackage pluginPackage, com.liferay.portal.model.PluginSetting pluginSetting, long companyId, long timestamp, java.lang.String icon, java.lang.String virtualPath, java.lang.String strutsPath, java.lang.String portletName, java.lang.String displayName, java.lang.String portletClass, java.lang.String configurationActionClass, java.lang.String indexerClass, java.lang.String openSearchClass, java.lang.String schedulerClass, java.lang.String portletURLClass, java.lang.String friendlyURLMapperClass, java.lang.String urlEncoderClass, java.lang.String portletDataHandlerClass, java.lang.String portletLayoutListenerClass, java.lang.String popMessageListenerClass, java.lang.String socialActivityInterpreterClass, java.lang.String socialRequestInterpreterClass, java.lang.String webDAVStorageToken, java.lang.String webDAVStorageClass, java.lang.String controlPanelEntryCategory, double controlPanelEntryWeight, java.lang.String controlPanelClass, java.lang.String defaultPreferences, java.lang.String preferencesValidator, boolean preferencesCompanyWide, boolean preferencesUniquePerLayout, boolean preferencesOwnedByGroup, boolean useDefaultTemplate, boolean showPortletAccessDenied, boolean showPortletInactive, boolean actionURLRedirect, boolean restoreCurrentView, boolean maximizeEdit, boolean maximizeHelp, boolean popUpPrint, boolean layoutCacheable, boolean instanceable, boolean scopeable, java.lang.String userPrincipalStrategy, boolean privateRequestAttributes, boolean privateSessionAttributes, int renderWeight, boolean ajaxable, java.util.List<java.lang.String> headerPortalCss, java.util.List<java.lang.String> headerPortletCss, java.util.List<java.lang.String> headerPortalJavaScript, java.util.List<java.lang.String> headerPortletJavaScript, java.util.List<java.lang.String> footerPortalCss, java.util.List<java.lang.String> footerPortletCss, java.util.List<java.lang.String> footerPortalJavaScript, java.util.List<java.lang.String> footerPortletJavaScript, java.lang.String cssClassWrapper, java.lang.String facebookIntegration, boolean addDefaultResource, java.lang.String roles, java.util.Set<java.lang.String> unlinkedRoles, java.util.Map<java.lang.String,java.lang.String> roleMappers, boolean system, boolean active, boolean include, java.util.Map<java.lang.String,java.lang.String> initParams, java.lang.Integer expCache, java.util.Map<java.lang.String,java.util.Set<java.lang.String>> portletModes, java.util.Set<java.lang.String> supportedLocales, java.lang.String resourceBundle, com.liferay.portal.model.PortletInfo portletInfo, java.util.Map<java.lang.String,com.liferay.portal.model.PortletFilter> portletFilters, java.util.Set<com.liferay.portal.kernel.xml.QName> processingEvents, java.util.Set<com.liferay.portal.kernel.xml.QName> publishingEvents, java.util.Set<com.liferay.portal.model.PublicRenderParameter> publicRenderParameters, boolean remote, java.lang.String remoteConsumerId, java.lang.String remoteProducerEntityId, java.lang.String remotePortletHandle, java.lang.String remotePortletId, com.liferay.portal.model.PortletApp portletApp)
Method Detail |
---|
public java.lang.String getRootPortletId()
getRootPortletId
in interface com.liferay.portal.model.Portlet
public java.lang.String getInstanceId()
getInstanceId
in interface com.liferay.portal.model.Portlet
public java.lang.String getPluginId()
getPluginId
in interface com.liferay.portal.model.Portlet
public java.lang.String getPluginType()
getPluginType
in interface com.liferay.portal.model.Portlet
public com.liferay.portal.kernel.plugin.PluginPackage getPluginPackage()
getPluginPackage
in interface com.liferay.portal.model.Portlet
public void setPluginPackage(com.liferay.portal.kernel.plugin.PluginPackage pluginPackage)
setPluginPackage
in interface com.liferay.portal.model.Portlet
pluginPackage
- the plugin packagepublic com.liferay.portal.model.PluginSetting getDefaultPluginSetting()
getDefaultPluginSetting
in interface com.liferay.portal.model.Portlet
public void setDefaultPluginSetting(com.liferay.portal.model.PluginSetting pluginSetting)
setDefaultPluginSetting
in interface com.liferay.portal.model.Portlet
pluginSetting
- the plugin settingpublic long getTimestamp()
getTimestamp
in interface com.liferay.portal.model.Portlet
public void setTimestamp(long timestamp)
setTimestamp
in interface com.liferay.portal.model.Portlet
timestamp
- the timestamp of the portletpublic java.lang.String getIcon()
getIcon
in interface com.liferay.portal.model.Portlet
public void setIcon(java.lang.String icon)
setIcon
in interface com.liferay.portal.model.Portlet
icon
- the icon of the portletpublic java.lang.String getVirtualPath()
getVirtualPath
in interface com.liferay.portal.model.Portlet
public void setVirtualPath(java.lang.String virtualPath)
setVirtualPath
in interface com.liferay.portal.model.Portlet
virtualPath
- the virtual path of the portletpublic java.lang.String getStrutsPath()
getStrutsPath
in interface com.liferay.portal.model.Portlet
public void setStrutsPath(java.lang.String strutsPath)
setStrutsPath
in interface com.liferay.portal.model.Portlet
strutsPath
- the struts path of the portletpublic java.lang.String getPortletName()
getPortletName
in interface com.liferay.portal.model.Portlet
public void setPortletName(java.lang.String portletName)
setPortletName
in interface com.liferay.portal.model.Portlet
portletName
- the name of the portletpublic java.lang.String getDisplayName()
getDisplayName
in interface com.liferay.portal.model.Portlet
public void setDisplayName(java.lang.String displayName)
setDisplayName
in interface com.liferay.portal.model.Portlet
displayName
- the display name of the portletpublic java.lang.String getPortletClass()
getPortletClass
in interface com.liferay.portal.model.Portlet
public void setPortletClass(java.lang.String portletClass)
setPortletClass
in interface com.liferay.portal.model.Portlet
portletClass
- the name of the portlet class of the portletpublic java.lang.String getConfigurationActionClass()
getConfigurationActionClass
in interface com.liferay.portal.model.Portlet
public void setConfigurationActionClass(java.lang.String configurationActionClass)
setConfigurationActionClass
in interface com.liferay.portal.model.Portlet
configurationActionClass
- the configuration action class of
the portletpublic com.liferay.portal.kernel.portlet.ConfigurationAction getConfigurationActionInstance()
getConfigurationActionInstance
in interface com.liferay.portal.model.Portlet
public java.lang.String getIndexerClass()
getIndexerClass
in interface com.liferay.portal.model.Portlet
public void setIndexerClass(java.lang.String indexerClass)
setIndexerClass
in interface com.liferay.portal.model.Portlet
indexerClass
- the name of the indexer class of the portletpublic com.liferay.portal.kernel.search.Indexer getIndexerInstance()
getIndexerInstance
in interface com.liferay.portal.model.Portlet
public java.lang.String getOpenSearchClass()
getOpenSearchClass
in interface com.liferay.portal.model.Portlet
public void setOpenSearchClass(java.lang.String openSearchClass)
setOpenSearchClass
in interface com.liferay.portal.model.Portlet
openSearchClass
- the name of the open search class of the
portletpublic com.liferay.portal.kernel.search.OpenSearch getOpenSearchInstance()
getOpenSearchInstance
in interface com.liferay.portal.model.Portlet
public java.lang.String getSchedulerClass()
getSchedulerClass
in interface com.liferay.portal.model.Portlet
public void setSchedulerClass(java.lang.String schedulerClass)
setSchedulerClass
in interface com.liferay.portal.model.Portlet
schedulerClass
- the name of the scheduler class of the
portletpublic com.liferay.portal.kernel.job.Scheduler getSchedulerInstance()
getSchedulerInstance
in interface com.liferay.portal.model.Portlet
public java.lang.String getPortletURLClass()
getPortletURLClass
in interface com.liferay.portal.model.Portlet
public void setPortletURLClass(java.lang.String portletURLClass)
setPortletURLClass
in interface com.liferay.portal.model.Portlet
portletURLClass
- the name of the portlet URL class of the
portletpublic java.lang.String getFriendlyURLMapperClass()
getFriendlyURLMapperClass
in interface com.liferay.portal.model.Portlet
public void setFriendlyURLMapperClass(java.lang.String friendlyURLMapperClass)
setFriendlyURLMapperClass
in interface com.liferay.portal.model.Portlet
friendlyURLMapperClass
- the name of the friendly URL plugin
class of the portletpublic com.liferay.portal.kernel.portlet.FriendlyURLMapper getFriendlyURLMapperInstance()
getFriendlyURLMapperInstance
in interface com.liferay.portal.model.Portlet
public java.lang.String getURLEncoderClass()
getURLEncoderClass
in interface com.liferay.portal.model.Portlet
public void setURLEncoderClass(java.lang.String urlEncoderClass)
setURLEncoderClass
in interface com.liferay.portal.model.Portlet
urlEncoderClass
- the name of the URL encoder class of the
portletpublic com.liferay.portal.kernel.servlet.URLEncoder getURLEncoderInstance()
getURLEncoderInstance
in interface com.liferay.portal.model.Portlet
public java.lang.String getPortletDataHandlerClass()
getPortletDataHandlerClass
in interface com.liferay.portal.model.Portlet
public void setPortletDataHandlerClass(java.lang.String portletDataHandlerClass)
setPortletDataHandlerClass
in interface com.liferay.portal.model.Portlet
portletDataHandlerClass
- the name of portlet data handler
class of the portletpublic com.liferay.portal.lar.PortletDataHandler getPortletDataHandlerInstance()
getPortletDataHandlerInstance
in interface com.liferay.portal.model.Portlet
public com.liferay.portal.kernel.portlet.PortletLayoutListener getPortletLayoutListener()
getPortletLayoutListener
in interface com.liferay.portal.model.Portlet
public java.lang.String getPortletLayoutListenerClass()
getPortletLayoutListenerClass
in interface com.liferay.portal.model.Portlet
public void setPortletLayoutListenerClass(java.lang.String portletLayoutListenerClass)
setPortletLayoutListenerClass
in interface com.liferay.portal.model.Portlet
portletLayoutListenerClass
- the name of the portlet layout
listener class of the portletpublic java.lang.String getPopMessageListenerClass()
getPopMessageListenerClass
in interface com.liferay.portal.model.Portlet
public void setPopMessageListenerClass(java.lang.String popMessageListenerClass)
setPopMessageListenerClass
in interface com.liferay.portal.model.Portlet
popMessageListenerClass
- the name of the POP message listener
class of the portletpublic com.liferay.portal.kernel.pop.MessageListener getPopMessageListenerInstance()
getPopMessageListenerInstance
in interface com.liferay.portal.model.Portlet
public java.lang.String getSocialActivityInterpreterClass()
getSocialActivityInterpreterClass
in interface com.liferay.portal.model.Portlet
public void setSocialActivityInterpreterClass(java.lang.String socialActivityInterpreterClass)
setSocialActivityInterpreterClass
in interface com.liferay.portal.model.Portlet
socialActivityInterpreterClass
- the name of the activity
interpreter class of the portletpublic com.liferay.portlet.social.model.SocialActivityInterpreter getSocialActivityInterpreterInstance()
getSocialActivityInterpreterInstance
in interface com.liferay.portal.model.Portlet
public java.lang.String getSocialRequestInterpreterClass()
getSocialRequestInterpreterClass
in interface com.liferay.portal.model.Portlet
public void setSocialRequestInterpreterClass(java.lang.String socialRequestInterpreterClass)
setSocialRequestInterpreterClass
in interface com.liferay.portal.model.Portlet
socialRequestInterpreterClass
- the name of the request
interpreter class of the portletpublic com.liferay.portlet.social.model.SocialRequestInterpreter getSocialRequestInterpreterInstance()
getSocialRequestInterpreterInstance
in interface com.liferay.portal.model.Portlet
public java.lang.String getWebDAVStorageToken()
getWebDAVStorageToken
in interface com.liferay.portal.model.Portlet
public void setWebDAVStorageToken(java.lang.String webDAVStorageToken)
setWebDAVStorageToken
in interface com.liferay.portal.model.Portlet
webDAVStorageToken
- the name of the WebDAV storage token of
the portletpublic java.lang.String getWebDAVStorageClass()
getWebDAVStorageClass
in interface com.liferay.portal.model.Portlet
public void setWebDAVStorageClass(java.lang.String webDAVStorageClass)
setWebDAVStorageClass
in interface com.liferay.portal.model.Portlet
webDAVStorageClass
- the name of the WebDAV storage class of
the portletpublic com.liferay.portal.webdav.WebDAVStorage getWebDAVStorageInstance()
getWebDAVStorageInstance
in interface com.liferay.portal.model.Portlet
public java.lang.String getControlPanelEntryCategory()
getControlPanelEntryCategory
in interface com.liferay.portal.model.Portlet
public void setControlPanelEntryCategory(java.lang.String controlPanelEntryCategory)
setControlPanelEntryCategory
in interface com.liferay.portal.model.Portlet
controlPanelEntryCategory
- the name of the category of the
Control Panel where the portlet will be shownpublic double getControlPanelEntryWeight()
getControlPanelEntryWeight
in interface com.liferay.portal.model.Portlet
public void setControlPanelEntryWeight(double controlPanelEntryWeight)
setControlPanelEntryWeight
in interface com.liferay.portal.model.Portlet
controlPanelEntryWeight
- the relative weight of the portlet
with respect to the other portlets in the same category of
the Control Panelpublic java.lang.String getControlPanelEntryClass()
getControlPanelEntryClass
in interface com.liferay.portal.model.Portlet
public void setControlPanelEntryClass(java.lang.String controlPanelEntryClass)
setControlPanelEntryClass
in interface com.liferay.portal.model.Portlet
controlPanelEntryClass
- the name of the class that will
control when the portlet will be shown in the Control Panelpublic com.liferay.portlet.ControlPanelEntry getControlPanelEntryInstance()
getControlPanelEntryInstance
in interface com.liferay.portal.model.Portlet
public java.lang.String getDefaultPreferences()
getDefaultPreferences
in interface com.liferay.portal.model.Portlet
public void setDefaultPreferences(java.lang.String defaultPreferences)
setDefaultPreferences
in interface com.liferay.portal.model.Portlet
defaultPreferences
- the default preferences of the portletpublic java.lang.String getPreferencesValidator()
getPreferencesValidator
in interface com.liferay.portal.model.Portlet
public void setPreferencesValidator(java.lang.String preferencesValidator)
setPreferencesValidator
in interface com.liferay.portal.model.Portlet
preferencesValidator
- the name of the preferences validator
class of the portletpublic boolean getPreferencesCompanyWide()
getPreferencesCompanyWide
in interface com.liferay.portal.model.Portlet
public boolean isPreferencesCompanyWide()
isPreferencesCompanyWide
in interface com.liferay.portal.model.Portlet
public void setPreferencesCompanyWide(boolean preferencesCompanyWide)
setPreferencesCompanyWide
in interface com.liferay.portal.model.Portlet
preferencesCompanyWide
- boolean value for whether preferences
are shared across the entire companypublic boolean getPreferencesUniquePerLayout()
getPreferencesUniquePerLayout
in interface com.liferay.portal.model.Portlet
public boolean isPreferencesUniquePerLayout()
isPreferencesUniquePerLayout
in interface com.liferay.portal.model.Portlet
public void setPreferencesUniquePerLayout(boolean preferencesUniquePerLayout)
setPreferencesUniquePerLayout
in interface com.liferay.portal.model.Portlet
preferencesUniquePerLayout
- boolean value for whether
preferences are unique per layoutpublic boolean getPreferencesOwnedByGroup()
getPreferencesOwnedByGroup
in interface com.liferay.portal.model.Portlet
public boolean isPreferencesOwnedByGroup()
isPreferencesOwnedByGroup
in interface com.liferay.portal.model.Portlet
public void setPreferencesOwnedByGroup(boolean preferencesOwnedByGroup)
setPreferencesOwnedByGroup
in interface com.liferay.portal.model.Portlet
preferencesOwnedByGroup
- boolean value for whether
preferences are owned by the group when the portlet is shown
in a group layout or preferences are owned by the user at
all timespublic boolean getUseDefaultTemplate()
getUseDefaultTemplate
in interface com.liferay.portal.model.Portlet
public boolean isUseDefaultTemplate()
isUseDefaultTemplate
in interface com.liferay.portal.model.Portlet
public void setUseDefaultTemplate(boolean useDefaultTemplate)
setUseDefaultTemplate
in interface com.liferay.portal.model.Portlet
useDefaultTemplate
- boolean value for whether the portlet
uses the default templatepublic boolean getShowPortletAccessDenied()
getShowPortletAccessDenied
in interface com.liferay.portal.model.Portlet
public boolean isShowPortletAccessDenied()
isShowPortletAccessDenied
in interface com.liferay.portal.model.Portlet
public void setShowPortletAccessDenied(boolean showPortletAccessDenied)
setShowPortletAccessDenied
in interface com.liferay.portal.model.Portlet
showPortletAccessDenied
- boolean value for whether users are
shown that they do not have access to the portletpublic boolean getShowPortletInactive()
getShowPortletInactive
in interface com.liferay.portal.model.Portlet
public boolean isShowPortletInactive()
isShowPortletInactive
in interface com.liferay.portal.model.Portlet
public void setShowPortletInactive(boolean showPortletInactive)
setShowPortletInactive
in interface com.liferay.portal.model.Portlet
showPortletInactive
- boolean value for whether users are
shown that the portlet is inactivepublic boolean getActionURLRedirect()
getActionURLRedirect
in interface com.liferay.portal.model.Portlet
public boolean isActionURLRedirect()
isActionURLRedirect
in interface com.liferay.portal.model.Portlet
public void setActionURLRedirect(boolean actionURLRedirect)
setActionURLRedirect
in interface com.liferay.portal.model.Portlet
actionURLRedirect
- boolean value for whether an action URL
for this portlet should cause an auto redirectpublic boolean getRestoreCurrentView()
getRestoreCurrentView
in interface com.liferay.portal.model.Portlet
public boolean isRestoreCurrentView()
isRestoreCurrentView
in interface com.liferay.portal.model.Portlet
public void setRestoreCurrentView(boolean restoreCurrentView)
setRestoreCurrentView
in interface com.liferay.portal.model.Portlet
restoreCurrentView
- boolean value for whether the portlet
restores to the current view from the maximized statepublic boolean getMaximizeEdit()
getMaximizeEdit
in interface com.liferay.portal.model.Portlet
public boolean isMaximizeEdit()
isMaximizeEdit
in interface com.liferay.portal.model.Portlet
public void setMaximizeEdit(boolean maximizeEdit)
setMaximizeEdit
in interface com.liferay.portal.model.Portlet
maximizeEdit
- boolean value for whether the portlet goes into
the maximized state when the user goes into the edit modepublic boolean getMaximizeHelp()
getMaximizeHelp
in interface com.liferay.portal.model.Portlet
public boolean isMaximizeHelp()
isMaximizeHelp
in interface com.liferay.portal.model.Portlet
public void setMaximizeHelp(boolean maximizeHelp)
setMaximizeHelp
in interface com.liferay.portal.model.Portlet
maximizeHelp
- boolean value for whether the portlet goes into
the maximized state when the user goes into the help modepublic boolean getPopUpPrint()
getPopUpPrint
in interface com.liferay.portal.model.Portlet
public boolean isPopUpPrint()
isPopUpPrint
in interface com.liferay.portal.model.Portlet
public void setPopUpPrint(boolean popUpPrint)
setPopUpPrint
in interface com.liferay.portal.model.Portlet
popUpPrint
- boolean value for whether the portlet goes into
the pop up state when the user goes into the print modepublic boolean getLayoutCacheable()
getLayoutCacheable
in interface com.liferay.portal.model.Portlet
public boolean isLayoutCacheable()
isLayoutCacheable
in interface com.liferay.portal.model.Portlet
public void setLayoutCacheable(boolean layoutCacheable)
setLayoutCacheable
in interface com.liferay.portal.model.Portlet
layoutCacheable
- boolean value for whether the portlet can be
cached within the layoutpublic boolean getInstanceable()
getInstanceable
in interface com.liferay.portal.model.Portlet
public boolean isInstanceable()
isInstanceable
in interface com.liferay.portal.model.Portlet
public void setInstanceable(boolean instanceable)
setInstanceable
in interface com.liferay.portal.model.Portlet
instanceable
- boolean value for whether the portlet can be
added multiple times to a layoutpublic boolean getScopeable()
getScopeable
in interface com.liferay.portal.model.Portlet
public boolean isScopeable()
isScopeable
in interface com.liferay.portal.model.Portlet
public void setScopeable(boolean scopeable)
setScopeable
in interface com.liferay.portal.model.Portlet
scopeable
- boolean value for whether or not the the portlet
supports scoping of datapublic java.lang.String getUserPrincipalStrategy()
getUserPrincipalStrategy
in interface com.liferay.portal.model.Portlet
public void setUserPrincipalStrategy(java.lang.String userPrincipalStrategy)
setUserPrincipalStrategy
in interface com.liferay.portal.model.Portlet
userPrincipalStrategy
- the user principal strategy of the
portletpublic boolean getPrivateRequestAttributes()
getPrivateRequestAttributes
in interface com.liferay.portal.model.Portlet
public boolean isPrivateRequestAttributes()
isPrivateRequestAttributes
in interface com.liferay.portal.model.Portlet
public void setPrivateRequestAttributes(boolean privateRequestAttributes)
setPrivateRequestAttributes
in interface com.liferay.portal.model.Portlet
privateRequestAttributes
- boolean value for whether the
portlet shares request attributes with the portal or
portlets from another WARpublic boolean getPrivateSessionAttributes()
getPrivateSessionAttributes
in interface com.liferay.portal.model.Portlet
public boolean isPrivateSessionAttributes()
isPrivateSessionAttributes
in interface com.liferay.portal.model.Portlet
public void setPrivateSessionAttributes(boolean privateSessionAttributes)
setPrivateSessionAttributes
in interface com.liferay.portal.model.Portlet
privateSessionAttributes
- boolean value for whether the
portlet shares session attributes with the portalpublic int getRenderWeight()
getRenderWeight
in interface com.liferay.portal.model.Portlet
public void setRenderWeight(int renderWeight)
setRenderWeight
in interface com.liferay.portal.model.Portlet
renderWeight
- int value for the render weight of the portletpublic boolean getAjaxable()
getAjaxable
in interface com.liferay.portal.model.Portlet
public boolean isAjaxable()
isAjaxable
in interface com.liferay.portal.model.Portlet
public void setAjaxable(boolean ajaxable)
setAjaxable
in interface com.liferay.portal.model.Portlet
ajaxable
- boolean value for whether the portlet can be
displayed via Ajaxpublic java.util.List<java.lang.String> getHeaderPortalCss()
getHeaderPortalCss
in interface com.liferay.portal.model.Portlet
public void setHeaderPortalCss(java.util.List<java.lang.String> headerPortalCss)
setHeaderPortalCss
in interface com.liferay.portal.model.Portlet
headerPortalCss
- a list of CSS files that will be referenced
from the page's header relative to the portal's context pathpublic java.util.List<java.lang.String> getHeaderPortletCss()
getHeaderPortletCss
in interface com.liferay.portal.model.Portlet
public void setHeaderPortletCss(java.util.List<java.lang.String> headerPortletCss)
setHeaderPortletCss
in interface com.liferay.portal.model.Portlet
headerPortletCss
- a list of CSS files that will be referenced
from the page's header relative to the portlet's context
pathpublic java.util.List<java.lang.String> getHeaderPortalJavaScript()
getHeaderPortalJavaScript
in interface com.liferay.portal.model.Portlet
public void setHeaderPortalJavaScript(java.util.List<java.lang.String> headerPortalJavaScript)
setHeaderPortalJavaScript
in interface com.liferay.portal.model.Portlet
headerPortalJavaScript
- a list of JavaScript files that will
be referenced from the page's header relative to the
portal's context pathpublic java.util.List<java.lang.String> getHeaderPortletJavaScript()
getHeaderPortletJavaScript
in interface com.liferay.portal.model.Portlet
public void setHeaderPortletJavaScript(java.util.List<java.lang.String> headerPortletJavaScript)
setHeaderPortletJavaScript
in interface com.liferay.portal.model.Portlet
headerPortletJavaScript
- a list of JavaScript files that will
be referenced from the page's header relative to the
portlet's context pathpublic java.util.List<java.lang.String> getFooterPortalCss()
getFooterPortalCss
in interface com.liferay.portal.model.Portlet
public void setFooterPortalCss(java.util.List<java.lang.String> footerPortalCss)
setFooterPortalCss
in interface com.liferay.portal.model.Portlet
footerPortalCss
- a list of CSS files that will be referenced
from the page's footer relative to the portal's context pathpublic java.util.List<java.lang.String> getFooterPortletCss()
getFooterPortletCss
in interface com.liferay.portal.model.Portlet
public void setFooterPortletCss(java.util.List<java.lang.String> footerPortletCss)
setFooterPortletCss
in interface com.liferay.portal.model.Portlet
footerPortletCss
- a list of CSS files that will be referenced
from the page's footer relative to the portlet's context
pathpublic java.util.List<java.lang.String> getFooterPortalJavaScript()
getFooterPortalJavaScript
in interface com.liferay.portal.model.Portlet
public void setFooterPortalJavaScript(java.util.List<java.lang.String> footerPortalJavaScript)
setFooterPortalJavaScript
in interface com.liferay.portal.model.Portlet
footerPortalJavaScript
- a list of JavaScript files that will
be referenced from the page's footer relative to the
portal's context pathpublic java.util.List<java.lang.String> getFooterPortletJavaScript()
getFooterPortletJavaScript
in interface com.liferay.portal.model.Portlet
public void setFooterPortletJavaScript(java.util.List<java.lang.String> footerPortletJavaScript)
setFooterPortletJavaScript
in interface com.liferay.portal.model.Portlet
footerPortletJavaScript
- a list of JavaScript files that will
be referenced from the page's footer relative to the
portlet's context pathpublic java.lang.String getCssClassWrapper()
getCssClassWrapper
in interface com.liferay.portal.model.Portlet
public void setCssClassWrapper(java.lang.String cssClassWrapper)
setCssClassWrapper
in interface com.liferay.portal.model.Portlet
cssClassWrapper
- the name of the CSS class that will be
injected in the DIV that wraps this portletpublic java.lang.String getFacebookIntegration()
getFacebookIntegration
in interface com.liferay.portal.model.Portlet
public void setFacebookIntegration(java.lang.String facebookIntegration)
setFacebookIntegration
in interface com.liferay.portal.model.Portlet
facebookIntegration
- the Facebook integration method of the
portletpublic boolean getAddDefaultResource()
getAddDefaultResource
in interface com.liferay.portal.model.Portlet
public boolean isAddDefaultResource()
isAddDefaultResource
in interface com.liferay.portal.model.Portlet
public void setAddDefaultResource(boolean addDefaultResource)
setAddDefaultResource
in interface com.liferay.portal.model.Portlet
addDefaultResource
- boolean value for whether or not default
resources for the portlet are added to a pagepublic void setRoles(java.lang.String roles)
setRoles
in interface com.liferay.portal.model.Portlet
setRoles
in interface com.liferay.portal.model.PortletModel
setRoles
in class PortletModelImpl
roles
- a string of ordered comma delimited portlet idspublic java.lang.String[] getRolesArray()
getRolesArray
in interface com.liferay.portal.model.Portlet
public void setRolesArray(java.lang.String[] rolesArray)
setRolesArray
in interface com.liferay.portal.model.Portlet
rolesArray
- an array of required roles of the portletpublic java.util.Set<java.lang.String> getUnlinkedRoles()
getUnlinkedRoles
in interface com.liferay.portal.model.Portlet
public void setUnlinkedRoles(java.util.Set<java.lang.String> unlinkedRoles)
setUnlinkedRoles
in interface com.liferay.portal.model.Portlet
unlinkedRoles
- the unlinked roles of the portletpublic java.util.Map<java.lang.String,java.lang.String> getRoleMappers()
getRoleMappers
in interface com.liferay.portal.model.Portlet
public void setRoleMappers(java.util.Map<java.lang.String,java.lang.String> roleMappers)
setRoleMappers
in interface com.liferay.portal.model.Portlet
roleMappers
- the role mappers of the portletpublic void linkRoles()
linkRoles
in interface com.liferay.portal.model.Portlet
public boolean hasRoleWithName(java.lang.String roleName)
hasRoleWithName
in interface com.liferay.portal.model.Portlet
public boolean hasAddPortletPermission(long userId)
hasAddPortletPermission
in interface com.liferay.portal.model.Portlet
public boolean getSystem()
getSystem
in interface com.liferay.portal.model.Portlet
public boolean isSystem()
isSystem
in interface com.liferay.portal.model.Portlet
public void setSystem(boolean system)
setSystem
in interface com.liferay.portal.model.Portlet
system
- boolean value for whether the portlet is a system
portlet that a user cannot manually add to their pagepublic boolean getInclude()
getInclude
in interface com.liferay.portal.model.Portlet
public boolean isInclude()
isInclude
in interface com.liferay.portal.model.Portlet
public void setInclude(boolean include)
setInclude
in interface com.liferay.portal.model.Portlet
include
- boolean value for whether to include the portlet and
make it available to be made activepublic java.util.Map<java.lang.String,java.lang.String> getInitParams()
getInitParams
in interface com.liferay.portal.model.Portlet
public void setInitParams(java.util.Map<java.lang.String,java.lang.String> initParams)
setInitParams
in interface com.liferay.portal.model.Portlet
initParams
- the init parameters of the portletpublic java.lang.Integer getExpCache()
getExpCache
in interface com.liferay.portal.model.Portlet
public void setExpCache(java.lang.Integer expCache)
setExpCache
in interface com.liferay.portal.model.Portlet
expCache
- expiration cache of the portletpublic java.util.Map<java.lang.String,java.util.Set<java.lang.String>> getPortletModes()
getPortletModes
in interface com.liferay.portal.model.Portlet
public void setPortletModes(java.util.Map<java.lang.String,java.util.Set<java.lang.String>> portletModes)
setPortletModes
in interface com.liferay.portal.model.Portlet
portletModes
- the portlet modes of the portletpublic boolean hasPortletMode(java.lang.String mimeType, javax.portlet.PortletMode portletMode)
hasPortletMode
in interface com.liferay.portal.model.Portlet
public java.util.Set<java.lang.String> getAllPortletModes()
getAllPortletModes
in interface com.liferay.portal.model.Portlet
public boolean hasMultipleMimeTypes()
hasMultipleMimeTypes
in interface com.liferay.portal.model.Portlet
public java.util.Set<java.lang.String> getSupportedLocales()
getSupportedLocales
in interface com.liferay.portal.model.Portlet
public void setSupportedLocales(java.util.Set<java.lang.String> supportedLocales)
setSupportedLocales
in interface com.liferay.portal.model.Portlet
supportedLocales
- the supported locales of the portletpublic java.lang.String getResourceBundle()
getResourceBundle
in interface com.liferay.portal.model.Portlet
public void setResourceBundle(java.lang.String resourceBundle)
setResourceBundle
in interface com.liferay.portal.model.Portlet
resourceBundle
- the resource bundle of the portletpublic com.liferay.portal.model.PortletInfo getPortletInfo()
getPortletInfo
in interface com.liferay.portal.model.Portlet
public void setPortletInfo(com.liferay.portal.model.PortletInfo portletInfo)
setPortletInfo
in interface com.liferay.portal.model.Portlet
portletInfo
- the portlet info of the portletpublic java.util.Map<java.lang.String,com.liferay.portal.model.PortletFilter> getPortletFilters()
getPortletFilters
in interface com.liferay.portal.model.Portlet
public void setPortletFilters(java.util.Map<java.lang.String,com.liferay.portal.model.PortletFilter> portletFilters)
setPortletFilters
in interface com.liferay.portal.model.Portlet
portletFilters
- the filters of the portletpublic void addProcessingEvent(com.liferay.portal.kernel.xml.QName processingEvent)
addProcessingEvent
in interface com.liferay.portal.model.Portlet
publicRenderParameter
- a supported processing eventpublic com.liferay.portal.kernel.xml.QName getProcessingEvent(java.lang.String uri, java.lang.String localPart)
getProcessingEvent
in interface com.liferay.portal.model.Portlet
public java.util.Set<com.liferay.portal.kernel.xml.QName> getProcessingEvents()
getProcessingEvents
in interface com.liferay.portal.model.Portlet
public void setProcessingEvents(java.util.Set<com.liferay.portal.kernel.xml.QName> processingEvents)
setProcessingEvents
in interface com.liferay.portal.model.Portlet
processingEvents
- the supported processing events of the
portletpublic void addPublishingEvent(com.liferay.portal.kernel.xml.QName publishingEvent)
addPublishingEvent
in interface com.liferay.portal.model.Portlet
publicRenderParameter
- a supported publishing eventpublic java.util.Set<com.liferay.portal.kernel.xml.QName> getPublishingEvents()
getPublishingEvents
in interface com.liferay.portal.model.Portlet
public void setPublishingEvents(java.util.Set<com.liferay.portal.kernel.xml.QName> publishingEvents)
setPublishingEvents
in interface com.liferay.portal.model.Portlet
publishingEvents
- the supported publishing events of the
portletpublic void addPublicRenderParameter(com.liferay.portal.model.PublicRenderParameter publicRenderParameter)
addPublicRenderParameter
in interface com.liferay.portal.model.Portlet
publicRenderParameter
- a supported public render parameterpublic com.liferay.portal.model.PublicRenderParameter getPublicRenderParameter(java.lang.String identifier)
getPublicRenderParameter
in interface com.liferay.portal.model.Portlet
public com.liferay.portal.model.PublicRenderParameter getPublicRenderParameter(java.lang.String uri, java.lang.String localPart)
getPublicRenderParameter
in interface com.liferay.portal.model.Portlet
public java.util.Set<com.liferay.portal.model.PublicRenderParameter> getPublicRenderParameters()
getPublicRenderParameters
in interface com.liferay.portal.model.Portlet
public void setPublicRenderParameters(java.util.Set<com.liferay.portal.model.PublicRenderParameter> publicRenderParameters)
setPublicRenderParameters
in interface com.liferay.portal.model.Portlet
publicRenderParameters
- the supported public render
parameters of the portletpublic boolean isRemote()
isRemote
in interface com.liferay.portal.model.Portlet
public void setRemote(boolean remote)
setRemote
in interface com.liferay.portal.model.Portlet
remote
- boolean value for the portlet is a remote portletpublic java.lang.String getRemoteConsumerId()
getRemoteConsumerId
in interface com.liferay.portal.model.Portlet
public void setRemoteConsumerId(java.lang.String remoteConsumerId)
setRemoteConsumerId
in interface com.liferay.portal.model.Portlet
remoteConsumerId
- the remote consumer id of the portletpublic java.lang.String getRemoteProducerEntityId()
getRemoteProducerEntityId
in interface com.liferay.portal.model.Portlet
public void setRemoteProducerEntityId(java.lang.String remoteProducerEntityId)
setRemoteProducerEntityId
in interface com.liferay.portal.model.Portlet
remoteProducerEntityId
- the remote producer entity id of the
portletpublic java.lang.String getRemotePortletHandle()
getRemotePortletHandle
in interface com.liferay.portal.model.Portlet
public void setRemotePortletHandle(java.lang.String remotePortletHandle)
setRemotePortletHandle
in interface com.liferay.portal.model.Portlet
remotePortletHandle
- the remote portlet handle of the portletpublic java.lang.String getRemotePortletId()
getRemotePortletId
in interface com.liferay.portal.model.Portlet
public void setRemotePortletId(java.lang.String remotePortletId)
setRemotePortletId
in interface com.liferay.portal.model.Portlet
remotePortletId
- the remote portlet id of the portletpublic java.lang.String getContextPath()
getContextPath
in interface com.liferay.portal.model.Portlet
public com.liferay.portal.model.PortletApp getPortletApp()
getPortletApp
in interface com.liferay.portal.model.Portlet
public void setPortletApp(com.liferay.portal.model.PortletApp portletApp)
setPortletApp
in interface com.liferay.portal.model.Portlet
portletApp
- the application this portlet belongs topublic com.liferay.portal.model.Portlet getClonedInstance(java.lang.String portletId)
getClonedInstance
in interface com.liferay.portal.model.Portlet
portletId
- the cloned instance portlet id
public boolean getStatic()
getStatic
in interface com.liferay.portal.model.Portlet
public boolean isStatic()
isStatic
in interface com.liferay.portal.model.Portlet
public void setStatic(boolean staticPortlet)
setStatic
in interface com.liferay.portal.model.Portlet
staticPortlet
- boolean value for whether the portlet is a
static portlet that cannot be movedpublic boolean getStaticStart()
getStaticStart
in interface com.liferay.portal.model.Portlet
public boolean isStaticStart()
isStaticStart
in interface com.liferay.portal.model.Portlet
public void setStaticStart(boolean staticPortletStart)
setStaticStart
in interface com.liferay.portal.model.Portlet
staticPortletStart
- boolean value for whether the portlet is
a static portlet at the start of a list of portletspublic boolean getStaticEnd()
getStaticEnd
in interface com.liferay.portal.model.Portlet
public boolean isStaticEnd()
isStaticEnd
in interface com.liferay.portal.model.Portlet
public boolean getUndeployedPortlet()
getUndeployedPortlet
in interface com.liferay.portal.model.Portlet
public boolean isUndeployedPortlet()
isUndeployedPortlet
in interface com.liferay.portal.model.Portlet
public void setUndeployedPortlet(boolean undeployedPortlet)
setUndeployedPortlet
in interface com.liferay.portal.model.Portlet
undeployedPortlet
- boolean value for whether the portlet is
an undeployed portletpublic java.lang.Object clone()
clone
in interface com.liferay.portal.model.BaseModel
clone
in interface com.liferay.portal.model.Portlet
clone
in class PortletModelImpl
public int compareTo(java.lang.Object obj)
compareTo
in interface com.liferay.portal.model.Portlet
compareTo
in interface java.lang.Comparable
compareTo
in class PortletModelImpl
obj
- the object to compare this portlet against
public boolean equals(java.lang.Object obj)
equals
in interface com.liferay.portal.model.Portlet
equals
in class PortletModelImpl
obj
- the object to compare this portlet against
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |