|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.Portlet>
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 |
|---|
DATA_SOURCE, ENTITY_CACHE_ENABLED, FINDER_CACHE_ENABLED, 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 pollerProcessorClass,
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(com.liferay.portal.model.Portlet portlet)
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 |
getPollerProcessorClass()
Gets the name of the poller processor class of the portlet. |
com.liferay.portal.kernel.poller.PollerProcessor |
getPollerProcessorInstance()
Gets the poller processor instance 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. |
com.liferay.portal.kernel.portlet.PortletLayoutListener |
getPortletLayoutListenerInstance()
Gets the portlet layout listener instance 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 |
setPollerProcessorClass(java.lang.String pollerProcessorClass)
Sets the name of the poller processor class of the portlet. |
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, getOriginalCompanyId, getOriginalPortletId, getPortletId, getPrimaryKey, getPrimaryKeyObj, getRoles, hashCode, isActive, setActive, setCompanyId, setId, setPortletId, setPrimaryKey, toEscapedModel, toModel, toModels, toString, toXmlString |
| Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
|---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, 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, isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew, toXmlString |
| 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 pollerProcessorClass,
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.Portletpublic java.lang.String getInstanceId()
getInstanceId in interface com.liferay.portal.model.Portletpublic java.lang.String getPluginId()
getPluginId in interface com.liferay.portal.model.Portletpublic java.lang.String getPluginType()
getPluginType in interface com.liferay.portal.model.Portletpublic com.liferay.portal.kernel.plugin.PluginPackage getPluginPackage()
getPluginPackage in interface com.liferay.portal.model.Portletpublic void setPluginPackage(com.liferay.portal.kernel.plugin.PluginPackage pluginPackage)
setPluginPackage in interface com.liferay.portal.model.PortletpluginPackage - the plugin packagepublic com.liferay.portal.model.PluginSetting getDefaultPluginSetting()
getDefaultPluginSetting in interface com.liferay.portal.model.Portletpublic void setDefaultPluginSetting(com.liferay.portal.model.PluginSetting pluginSetting)
setDefaultPluginSetting in interface com.liferay.portal.model.PortletpluginSetting - the plugin settingpublic long getTimestamp()
getTimestamp in interface com.liferay.portal.model.Portletpublic void setTimestamp(long timestamp)
setTimestamp in interface com.liferay.portal.model.Portlettimestamp - the timestamp of the portletpublic java.lang.String getIcon()
getIcon in interface com.liferay.portal.model.Portletpublic void setIcon(java.lang.String icon)
setIcon in interface com.liferay.portal.model.Portleticon - the icon of the portletpublic java.lang.String getVirtualPath()
getVirtualPath in interface com.liferay.portal.model.Portletpublic void setVirtualPath(java.lang.String virtualPath)
setVirtualPath in interface com.liferay.portal.model.PortletvirtualPath - the virtual path of the portletpublic java.lang.String getStrutsPath()
getStrutsPath in interface com.liferay.portal.model.Portletpublic void setStrutsPath(java.lang.String strutsPath)
setStrutsPath in interface com.liferay.portal.model.PortletstrutsPath - the struts path of the portletpublic java.lang.String getPortletName()
getPortletName in interface com.liferay.portal.model.Portletpublic void setPortletName(java.lang.String portletName)
setPortletName in interface com.liferay.portal.model.PortletportletName - the name of the portletpublic java.lang.String getDisplayName()
getDisplayName in interface com.liferay.portal.model.Portletpublic void setDisplayName(java.lang.String displayName)
setDisplayName in interface com.liferay.portal.model.PortletdisplayName - the display name of the portletpublic java.lang.String getPortletClass()
getPortletClass in interface com.liferay.portal.model.Portletpublic void setPortletClass(java.lang.String portletClass)
setPortletClass in interface com.liferay.portal.model.PortletportletClass - the name of the portlet class of the portletpublic java.lang.String getConfigurationActionClass()
getConfigurationActionClass in interface com.liferay.portal.model.Portletpublic void setConfigurationActionClass(java.lang.String configurationActionClass)
setConfigurationActionClass in interface com.liferay.portal.model.PortletconfigurationActionClass - the configuration action class of
the portletpublic com.liferay.portal.kernel.portlet.ConfigurationAction getConfigurationActionInstance()
getConfigurationActionInstance in interface com.liferay.portal.model.Portletpublic java.lang.String getIndexerClass()
getIndexerClass in interface com.liferay.portal.model.Portletpublic void setIndexerClass(java.lang.String indexerClass)
setIndexerClass in interface com.liferay.portal.model.PortletindexerClass - the name of the indexer class of the portletpublic com.liferay.portal.kernel.search.Indexer getIndexerInstance()
getIndexerInstance in interface com.liferay.portal.model.Portletpublic java.lang.String getOpenSearchClass()
getOpenSearchClass in interface com.liferay.portal.model.Portletpublic void setOpenSearchClass(java.lang.String openSearchClass)
setOpenSearchClass in interface com.liferay.portal.model.PortletopenSearchClass - the name of the open search class of the
portletpublic com.liferay.portal.kernel.search.OpenSearch getOpenSearchInstance()
getOpenSearchInstance in interface com.liferay.portal.model.Portletpublic java.lang.String getSchedulerClass()
getSchedulerClass in interface com.liferay.portal.model.Portletpublic void setSchedulerClass(java.lang.String schedulerClass)
setSchedulerClass in interface com.liferay.portal.model.PortletschedulerClass - the name of the scheduler class of the
portletpublic com.liferay.portal.kernel.job.Scheduler getSchedulerInstance()
getSchedulerInstance in interface com.liferay.portal.model.Portletpublic java.lang.String getPortletURLClass()
getPortletURLClass in interface com.liferay.portal.model.Portletpublic void setPortletURLClass(java.lang.String portletURLClass)
setPortletURLClass in interface com.liferay.portal.model.PortletportletURLClass - the name of the portlet URL class of the
portletpublic java.lang.String getFriendlyURLMapperClass()
getFriendlyURLMapperClass in interface com.liferay.portal.model.Portletpublic void setFriendlyURLMapperClass(java.lang.String friendlyURLMapperClass)
setFriendlyURLMapperClass in interface com.liferay.portal.model.PortletfriendlyURLMapperClass - 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.Portletpublic java.lang.String getURLEncoderClass()
getURLEncoderClass in interface com.liferay.portal.model.Portletpublic void setURLEncoderClass(java.lang.String urlEncoderClass)
setURLEncoderClass in interface com.liferay.portal.model.PortleturlEncoderClass - the name of the URL encoder class of the
portletpublic com.liferay.portal.kernel.servlet.URLEncoder getURLEncoderInstance()
getURLEncoderInstance in interface com.liferay.portal.model.Portletpublic java.lang.String getPortletDataHandlerClass()
getPortletDataHandlerClass in interface com.liferay.portal.model.Portletpublic void setPortletDataHandlerClass(java.lang.String portletDataHandlerClass)
setPortletDataHandlerClass in interface com.liferay.portal.model.PortletportletDataHandlerClass - the name of portlet data handler
class of the portletpublic com.liferay.portal.lar.PortletDataHandler getPortletDataHandlerInstance()
getPortletDataHandlerInstance in interface com.liferay.portal.model.Portletpublic com.liferay.portal.kernel.portlet.PortletLayoutListener getPortletLayoutListener()
getPortletLayoutListener in interface com.liferay.portal.model.Portletpublic java.lang.String getPortletLayoutListenerClass()
getPortletLayoutListenerClass in interface com.liferay.portal.model.Portletpublic void setPortletLayoutListenerClass(java.lang.String portletLayoutListenerClass)
setPortletLayoutListenerClass in interface com.liferay.portal.model.PortletportletLayoutListenerClass - the name of the portlet layout
listener class of the portletpublic com.liferay.portal.kernel.portlet.PortletLayoutListener getPortletLayoutListenerInstance()
getPortletLayoutListenerInstance in interface com.liferay.portal.model.Portletpublic java.lang.String getPollerProcessorClass()
getPollerProcessorClass in interface com.liferay.portal.model.Portletpublic void setPollerProcessorClass(java.lang.String pollerProcessorClass)
setPollerProcessorClass in interface com.liferay.portal.model.PortletpollerProcessorClass - the name of the poller processor
class of the portletpublic com.liferay.portal.kernel.poller.PollerProcessor getPollerProcessorInstance()
getPollerProcessorInstance in interface com.liferay.portal.model.Portletpublic java.lang.String getPopMessageListenerClass()
getPopMessageListenerClass in interface com.liferay.portal.model.Portletpublic void setPopMessageListenerClass(java.lang.String popMessageListenerClass)
setPopMessageListenerClass in interface com.liferay.portal.model.PortletpopMessageListenerClass - 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.Portletpublic java.lang.String getSocialActivityInterpreterClass()
getSocialActivityInterpreterClass in interface com.liferay.portal.model.Portletpublic void setSocialActivityInterpreterClass(java.lang.String socialActivityInterpreterClass)
setSocialActivityInterpreterClass in interface com.liferay.portal.model.PortletsocialActivityInterpreterClass - the name of the activity
interpreter class of the portletpublic com.liferay.portlet.social.model.SocialActivityInterpreter getSocialActivityInterpreterInstance()
getSocialActivityInterpreterInstance in interface com.liferay.portal.model.Portletpublic java.lang.String getSocialRequestInterpreterClass()
getSocialRequestInterpreterClass in interface com.liferay.portal.model.Portletpublic void setSocialRequestInterpreterClass(java.lang.String socialRequestInterpreterClass)
setSocialRequestInterpreterClass in interface com.liferay.portal.model.PortletsocialRequestInterpreterClass - the name of the request
interpreter class of the portletpublic com.liferay.portlet.social.model.SocialRequestInterpreter getSocialRequestInterpreterInstance()
getSocialRequestInterpreterInstance in interface com.liferay.portal.model.Portletpublic java.lang.String getWebDAVStorageToken()
getWebDAVStorageToken in interface com.liferay.portal.model.Portletpublic void setWebDAVStorageToken(java.lang.String webDAVStorageToken)
setWebDAVStorageToken in interface com.liferay.portal.model.PortletwebDAVStorageToken - the name of the WebDAV storage token of
the portletpublic java.lang.String getWebDAVStorageClass()
getWebDAVStorageClass in interface com.liferay.portal.model.Portletpublic void setWebDAVStorageClass(java.lang.String webDAVStorageClass)
setWebDAVStorageClass in interface com.liferay.portal.model.PortletwebDAVStorageClass - the name of the WebDAV storage class of
the portletpublic com.liferay.portal.webdav.WebDAVStorage getWebDAVStorageInstance()
getWebDAVStorageInstance in interface com.liferay.portal.model.Portletpublic java.lang.String getControlPanelEntryCategory()
getControlPanelEntryCategory in interface com.liferay.portal.model.Portletpublic void setControlPanelEntryCategory(java.lang.String controlPanelEntryCategory)
setControlPanelEntryCategory in interface com.liferay.portal.model.PortletcontrolPanelEntryCategory - the name of the category of the
Control Panel where the portlet will be shownpublic double getControlPanelEntryWeight()
getControlPanelEntryWeight in interface com.liferay.portal.model.Portletpublic void setControlPanelEntryWeight(double controlPanelEntryWeight)
setControlPanelEntryWeight in interface com.liferay.portal.model.PortletcontrolPanelEntryWeight - 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.Portletpublic void setControlPanelEntryClass(java.lang.String controlPanelEntryClass)
setControlPanelEntryClass in interface com.liferay.portal.model.PortletcontrolPanelEntryClass - 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.Portletpublic java.lang.String getDefaultPreferences()
getDefaultPreferences in interface com.liferay.portal.model.Portletpublic void setDefaultPreferences(java.lang.String defaultPreferences)
setDefaultPreferences in interface com.liferay.portal.model.PortletdefaultPreferences - the default preferences of the portletpublic java.lang.String getPreferencesValidator()
getPreferencesValidator in interface com.liferay.portal.model.Portletpublic void setPreferencesValidator(java.lang.String preferencesValidator)
setPreferencesValidator in interface com.liferay.portal.model.PortletpreferencesValidator - the name of the preferences validator
class of the portletpublic boolean getPreferencesCompanyWide()
getPreferencesCompanyWide in interface com.liferay.portal.model.Portletpublic boolean isPreferencesCompanyWide()
isPreferencesCompanyWide in interface com.liferay.portal.model.Portletpublic void setPreferencesCompanyWide(boolean preferencesCompanyWide)
setPreferencesCompanyWide in interface com.liferay.portal.model.PortletpreferencesCompanyWide - boolean value for whether preferences
are shared across the entire companypublic boolean getPreferencesUniquePerLayout()
getPreferencesUniquePerLayout in interface com.liferay.portal.model.Portletpublic boolean isPreferencesUniquePerLayout()
isPreferencesUniquePerLayout in interface com.liferay.portal.model.Portletpublic void setPreferencesUniquePerLayout(boolean preferencesUniquePerLayout)
setPreferencesUniquePerLayout in interface com.liferay.portal.model.PortletpreferencesUniquePerLayout - boolean value for whether
preferences are unique per layoutpublic boolean getPreferencesOwnedByGroup()
getPreferencesOwnedByGroup in interface com.liferay.portal.model.Portletpublic boolean isPreferencesOwnedByGroup()
isPreferencesOwnedByGroup in interface com.liferay.portal.model.Portletpublic void setPreferencesOwnedByGroup(boolean preferencesOwnedByGroup)
setPreferencesOwnedByGroup in interface com.liferay.portal.model.PortletpreferencesOwnedByGroup - 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.Portletpublic boolean isUseDefaultTemplate()
isUseDefaultTemplate in interface com.liferay.portal.model.Portletpublic void setUseDefaultTemplate(boolean useDefaultTemplate)
setUseDefaultTemplate in interface com.liferay.portal.model.PortletuseDefaultTemplate - boolean value for whether the portlet
uses the default templatepublic boolean getShowPortletAccessDenied()
getShowPortletAccessDenied in interface com.liferay.portal.model.Portletpublic boolean isShowPortletAccessDenied()
isShowPortletAccessDenied in interface com.liferay.portal.model.Portletpublic void setShowPortletAccessDenied(boolean showPortletAccessDenied)
setShowPortletAccessDenied in interface com.liferay.portal.model.PortletshowPortletAccessDenied - 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.Portletpublic boolean isShowPortletInactive()
isShowPortletInactive in interface com.liferay.portal.model.Portletpublic void setShowPortletInactive(boolean showPortletInactive)
setShowPortletInactive in interface com.liferay.portal.model.PortletshowPortletInactive - boolean value for whether users are
shown that the portlet is inactivepublic boolean getActionURLRedirect()
getActionURLRedirect in interface com.liferay.portal.model.Portletpublic boolean isActionURLRedirect()
isActionURLRedirect in interface com.liferay.portal.model.Portletpublic void setActionURLRedirect(boolean actionURLRedirect)
setActionURLRedirect in interface com.liferay.portal.model.PortletactionURLRedirect - boolean value for whether an action URL
for this portlet should cause an auto redirectpublic boolean getRestoreCurrentView()
getRestoreCurrentView in interface com.liferay.portal.model.Portletpublic boolean isRestoreCurrentView()
isRestoreCurrentView in interface com.liferay.portal.model.Portletpublic void setRestoreCurrentView(boolean restoreCurrentView)
setRestoreCurrentView in interface com.liferay.portal.model.PortletrestoreCurrentView - boolean value for whether the portlet
restores to the current view from the maximized statepublic boolean getMaximizeEdit()
getMaximizeEdit in interface com.liferay.portal.model.Portletpublic boolean isMaximizeEdit()
isMaximizeEdit in interface com.liferay.portal.model.Portletpublic void setMaximizeEdit(boolean maximizeEdit)
setMaximizeEdit in interface com.liferay.portal.model.PortletmaximizeEdit - 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.Portletpublic boolean isMaximizeHelp()
isMaximizeHelp in interface com.liferay.portal.model.Portletpublic void setMaximizeHelp(boolean maximizeHelp)
setMaximizeHelp in interface com.liferay.portal.model.PortletmaximizeHelp - 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.Portletpublic boolean isPopUpPrint()
isPopUpPrint in interface com.liferay.portal.model.Portletpublic void setPopUpPrint(boolean popUpPrint)
setPopUpPrint in interface com.liferay.portal.model.PortletpopUpPrint - 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.Portletpublic boolean isLayoutCacheable()
isLayoutCacheable in interface com.liferay.portal.model.Portletpublic void setLayoutCacheable(boolean layoutCacheable)
setLayoutCacheable in interface com.liferay.portal.model.PortletlayoutCacheable - boolean value for whether the portlet can be
cached within the layoutpublic boolean getInstanceable()
getInstanceable in interface com.liferay.portal.model.Portletpublic boolean isInstanceable()
isInstanceable in interface com.liferay.portal.model.Portletpublic void setInstanceable(boolean instanceable)
setInstanceable in interface com.liferay.portal.model.Portletinstanceable - boolean value for whether the portlet can be
added multiple times to a layoutpublic boolean getScopeable()
getScopeable in interface com.liferay.portal.model.Portletpublic boolean isScopeable()
isScopeable in interface com.liferay.portal.model.Portletpublic void setScopeable(boolean scopeable)
setScopeable in interface com.liferay.portal.model.Portletscopeable - boolean value for whether or not the the portlet
supports scoping of datapublic java.lang.String getUserPrincipalStrategy()
getUserPrincipalStrategy in interface com.liferay.portal.model.Portletpublic void setUserPrincipalStrategy(java.lang.String userPrincipalStrategy)
setUserPrincipalStrategy in interface com.liferay.portal.model.PortletuserPrincipalStrategy - the user principal strategy of the
portletpublic boolean getPrivateRequestAttributes()
getPrivateRequestAttributes in interface com.liferay.portal.model.Portletpublic boolean isPrivateRequestAttributes()
isPrivateRequestAttributes in interface com.liferay.portal.model.Portletpublic void setPrivateRequestAttributes(boolean privateRequestAttributes)
setPrivateRequestAttributes in interface com.liferay.portal.model.PortletprivateRequestAttributes - 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.Portletpublic boolean isPrivateSessionAttributes()
isPrivateSessionAttributes in interface com.liferay.portal.model.Portletpublic void setPrivateSessionAttributes(boolean privateSessionAttributes)
setPrivateSessionAttributes in interface com.liferay.portal.model.PortletprivateSessionAttributes - boolean value for whether the
portlet shares session attributes with the portalpublic int getRenderWeight()
getRenderWeight in interface com.liferay.portal.model.Portletpublic void setRenderWeight(int renderWeight)
setRenderWeight in interface com.liferay.portal.model.PortletrenderWeight - int value for the render weight of the portletpublic boolean getAjaxable()
getAjaxable in interface com.liferay.portal.model.Portletpublic boolean isAjaxable()
isAjaxable in interface com.liferay.portal.model.Portletpublic void setAjaxable(boolean ajaxable)
setAjaxable in interface com.liferay.portal.model.Portletajaxable - 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.Portletpublic void setHeaderPortalCss(java.util.List<java.lang.String> headerPortalCss)
setHeaderPortalCss in interface com.liferay.portal.model.PortletheaderPortalCss - 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.Portletpublic void setHeaderPortletCss(java.util.List<java.lang.String> headerPortletCss)
setHeaderPortletCss in interface com.liferay.portal.model.PortletheaderPortletCss - 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.Portletpublic void setHeaderPortalJavaScript(java.util.List<java.lang.String> headerPortalJavaScript)
setHeaderPortalJavaScript in interface com.liferay.portal.model.PortletheaderPortalJavaScript - 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.Portletpublic void setHeaderPortletJavaScript(java.util.List<java.lang.String> headerPortletJavaScript)
setHeaderPortletJavaScript in interface com.liferay.portal.model.PortletheaderPortletJavaScript - 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.Portletpublic void setFooterPortalCss(java.util.List<java.lang.String> footerPortalCss)
setFooterPortalCss in interface com.liferay.portal.model.PortletfooterPortalCss - 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.Portletpublic void setFooterPortletCss(java.util.List<java.lang.String> footerPortletCss)
setFooterPortletCss in interface com.liferay.portal.model.PortletfooterPortletCss - 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.Portletpublic void setFooterPortalJavaScript(java.util.List<java.lang.String> footerPortalJavaScript)
setFooterPortalJavaScript in interface com.liferay.portal.model.PortletfooterPortalJavaScript - 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.Portletpublic void setFooterPortletJavaScript(java.util.List<java.lang.String> footerPortletJavaScript)
setFooterPortletJavaScript in interface com.liferay.portal.model.PortletfooterPortletJavaScript - 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.Portletpublic void setCssClassWrapper(java.lang.String cssClassWrapper)
setCssClassWrapper in interface com.liferay.portal.model.PortletcssClassWrapper - 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.Portletpublic void setFacebookIntegration(java.lang.String facebookIntegration)
setFacebookIntegration in interface com.liferay.portal.model.PortletfacebookIntegration - the Facebook integration method of the
portletpublic boolean getAddDefaultResource()
getAddDefaultResource in interface com.liferay.portal.model.Portletpublic boolean isAddDefaultResource()
isAddDefaultResource in interface com.liferay.portal.model.Portletpublic void setAddDefaultResource(boolean addDefaultResource)
setAddDefaultResource in interface com.liferay.portal.model.PortletaddDefaultResource - 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.PortletsetRoles in interface com.liferay.portal.model.PortletModelsetRoles in class PortletModelImplroles - a string of ordered comma delimited portlet idspublic java.lang.String[] getRolesArray()
getRolesArray in interface com.liferay.portal.model.Portletpublic void setRolesArray(java.lang.String[] rolesArray)
setRolesArray in interface com.liferay.portal.model.PortletrolesArray - an array of required roles of the portletpublic java.util.Set<java.lang.String> getUnlinkedRoles()
getUnlinkedRoles in interface com.liferay.portal.model.Portletpublic void setUnlinkedRoles(java.util.Set<java.lang.String> unlinkedRoles)
setUnlinkedRoles in interface com.liferay.portal.model.PortletunlinkedRoles - the unlinked roles of the portletpublic java.util.Map<java.lang.String,java.lang.String> getRoleMappers()
getRoleMappers in interface com.liferay.portal.model.Portletpublic void setRoleMappers(java.util.Map<java.lang.String,java.lang.String> roleMappers)
setRoleMappers in interface com.liferay.portal.model.PortletroleMappers - the role mappers of the portletpublic void linkRoles()
linkRoles in interface com.liferay.portal.model.Portletpublic boolean hasRoleWithName(java.lang.String roleName)
hasRoleWithName in interface com.liferay.portal.model.Portletpublic boolean hasAddPortletPermission(long userId)
hasAddPortletPermission in interface com.liferay.portal.model.Portletpublic boolean getSystem()
getSystem in interface com.liferay.portal.model.Portletpublic boolean isSystem()
isSystem in interface com.liferay.portal.model.Portletpublic void setSystem(boolean system)
setSystem in interface com.liferay.portal.model.Portletsystem - 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.Portletpublic boolean isInclude()
isInclude in interface com.liferay.portal.model.Portletpublic void setInclude(boolean include)
setInclude in interface com.liferay.portal.model.Portletinclude - 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.Portletpublic void setInitParams(java.util.Map<java.lang.String,java.lang.String> initParams)
setInitParams in interface com.liferay.portal.model.PortletinitParams - the init parameters of the portletpublic java.lang.Integer getExpCache()
getExpCache in interface com.liferay.portal.model.Portletpublic void setExpCache(java.lang.Integer expCache)
setExpCache in interface com.liferay.portal.model.PortletexpCache - 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.Portletpublic void setPortletModes(java.util.Map<java.lang.String,java.util.Set<java.lang.String>> portletModes)
setPortletModes in interface com.liferay.portal.model.PortletportletModes - the portlet modes of the portlet
public boolean hasPortletMode(java.lang.String mimeType,
javax.portlet.PortletMode portletMode)
hasPortletMode in interface com.liferay.portal.model.Portletpublic java.util.Set<java.lang.String> getAllPortletModes()
getAllPortletModes in interface com.liferay.portal.model.Portletpublic boolean hasMultipleMimeTypes()
hasMultipleMimeTypes in interface com.liferay.portal.model.Portletpublic java.util.Set<java.lang.String> getSupportedLocales()
getSupportedLocales in interface com.liferay.portal.model.Portletpublic void setSupportedLocales(java.util.Set<java.lang.String> supportedLocales)
setSupportedLocales in interface com.liferay.portal.model.PortletsupportedLocales - the supported locales of the portletpublic java.lang.String getResourceBundle()
getResourceBundle in interface com.liferay.portal.model.Portletpublic void setResourceBundle(java.lang.String resourceBundle)
setResourceBundle in interface com.liferay.portal.model.PortletresourceBundle - the resource bundle of the portletpublic com.liferay.portal.model.PortletInfo getPortletInfo()
getPortletInfo in interface com.liferay.portal.model.Portletpublic void setPortletInfo(com.liferay.portal.model.PortletInfo portletInfo)
setPortletInfo in interface com.liferay.portal.model.PortletportletInfo - 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.Portletpublic void setPortletFilters(java.util.Map<java.lang.String,com.liferay.portal.model.PortletFilter> portletFilters)
setPortletFilters in interface com.liferay.portal.model.PortletportletFilters - the filters of the portletpublic void addProcessingEvent(com.liferay.portal.kernel.xml.QName processingEvent)
addProcessingEvent in interface com.liferay.portal.model.PortletpublicRenderParameter - a supported processing event
public com.liferay.portal.kernel.xml.QName getProcessingEvent(java.lang.String uri,
java.lang.String localPart)
getProcessingEvent in interface com.liferay.portal.model.Portletpublic java.util.Set<com.liferay.portal.kernel.xml.QName> getProcessingEvents()
getProcessingEvents in interface com.liferay.portal.model.Portletpublic void setProcessingEvents(java.util.Set<com.liferay.portal.kernel.xml.QName> processingEvents)
setProcessingEvents in interface com.liferay.portal.model.PortletprocessingEvents - the supported processing events of the
portletpublic void addPublishingEvent(com.liferay.portal.kernel.xml.QName publishingEvent)
addPublishingEvent in interface com.liferay.portal.model.PortletpublicRenderParameter - a supported publishing eventpublic java.util.Set<com.liferay.portal.kernel.xml.QName> getPublishingEvents()
getPublishingEvents in interface com.liferay.portal.model.Portletpublic void setPublishingEvents(java.util.Set<com.liferay.portal.kernel.xml.QName> publishingEvents)
setPublishingEvents in interface com.liferay.portal.model.PortletpublishingEvents - the supported publishing events of the
portletpublic void addPublicRenderParameter(com.liferay.portal.model.PublicRenderParameter publicRenderParameter)
addPublicRenderParameter in interface com.liferay.portal.model.PortletpublicRenderParameter - 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.Portletpublic java.util.Set<com.liferay.portal.model.PublicRenderParameter> getPublicRenderParameters()
getPublicRenderParameters in interface com.liferay.portal.model.Portletpublic void setPublicRenderParameters(java.util.Set<com.liferay.portal.model.PublicRenderParameter> publicRenderParameters)
setPublicRenderParameters in interface com.liferay.portal.model.PortletpublicRenderParameters - the supported public render
parameters of the portletpublic boolean isRemote()
isRemote in interface com.liferay.portal.model.Portletpublic void setRemote(boolean remote)
setRemote in interface com.liferay.portal.model.Portletremote - boolean value for the portlet is a remote portletpublic java.lang.String getRemoteConsumerId()
getRemoteConsumerId in interface com.liferay.portal.model.Portletpublic void setRemoteConsumerId(java.lang.String remoteConsumerId)
setRemoteConsumerId in interface com.liferay.portal.model.PortletremoteConsumerId - the remote consumer id of the portletpublic java.lang.String getRemoteProducerEntityId()
getRemoteProducerEntityId in interface com.liferay.portal.model.Portletpublic void setRemoteProducerEntityId(java.lang.String remoteProducerEntityId)
setRemoteProducerEntityId in interface com.liferay.portal.model.PortletremoteProducerEntityId - the remote producer entity id of the
portletpublic java.lang.String getRemotePortletHandle()
getRemotePortletHandle in interface com.liferay.portal.model.Portletpublic void setRemotePortletHandle(java.lang.String remotePortletHandle)
setRemotePortletHandle in interface com.liferay.portal.model.PortletremotePortletHandle - the remote portlet handle of the portletpublic java.lang.String getRemotePortletId()
getRemotePortletId in interface com.liferay.portal.model.Portletpublic void setRemotePortletId(java.lang.String remotePortletId)
setRemotePortletId in interface com.liferay.portal.model.PortletremotePortletId - the remote portlet id of the portletpublic java.lang.String getContextPath()
getContextPath in interface com.liferay.portal.model.Portletpublic com.liferay.portal.model.PortletApp getPortletApp()
getPortletApp in interface com.liferay.portal.model.Portletpublic void setPortletApp(com.liferay.portal.model.PortletApp portletApp)
setPortletApp in interface com.liferay.portal.model.PortletportletApp - the application this portlet belongs topublic com.liferay.portal.model.Portlet getClonedInstance(java.lang.String portletId)
getClonedInstance in interface com.liferay.portal.model.PortletportletId - the cloned instance portlet id
public boolean getStatic()
getStatic in interface com.liferay.portal.model.Portletpublic boolean isStatic()
isStatic in interface com.liferay.portal.model.Portletpublic void setStatic(boolean staticPortlet)
setStatic in interface com.liferay.portal.model.PortletstaticPortlet - boolean value for whether the portlet is a
static portlet that cannot be movedpublic boolean getStaticStart()
getStaticStart in interface com.liferay.portal.model.Portletpublic boolean isStaticStart()
isStaticStart in interface com.liferay.portal.model.Portletpublic void setStaticStart(boolean staticPortletStart)
setStaticStart in interface com.liferay.portal.model.PortletstaticPortletStart - 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.Portletpublic boolean isStaticEnd()
isStaticEnd in interface com.liferay.portal.model.Portletpublic boolean getUndeployedPortlet()
getUndeployedPortlet in interface com.liferay.portal.model.Portletpublic boolean isUndeployedPortlet()
isUndeployedPortlet in interface com.liferay.portal.model.Portletpublic void setUndeployedPortlet(boolean undeployedPortlet)
setUndeployedPortlet in interface com.liferay.portal.model.PortletundeployedPortlet - boolean value for whether the portlet is
an undeployed portletpublic java.lang.Object clone()
clone in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Portlet>clone in interface com.liferay.portal.model.Portletclone in class PortletModelImplpublic int compareTo(com.liferay.portal.model.Portlet portlet)
compareTo in interface com.liferay.portal.model.PortletcompareTo in interface java.lang.Comparable<com.liferay.portal.model.Portlet>compareTo in class PortletModelImplportlet - the portlet to compare this portlet against
public boolean equals(java.lang.Object obj)
equals in interface com.liferay.portal.model.Portletequals in class PortletModelImplobj - the object to compare this portlet against
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||