Package com.appiancorp.suiteapi.portal
Class Portlet
java.lang.Object
com.appiancorp.suiteapi.portal.Portlet
- All Implemented Interfaces:
LocalId
,Serializable
Deprecated.
The Portal functionality will be removed in a future release. Use the Tempo Interface for similar functionality.
Holds all the information about a portlet necessary for rendering.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Deprecated.A constant indicating that the current user has administrative access to a particular portletstatic final int
Deprecated.A constant indicating that the current user has editor access to a particular portletstatic final int
Deprecated.A constant indicating that the current user has no access to view to a particular portletstatic final int
Deprecated.A constant indicating that the current user has view access to a particular portletstatic final Integer
Deprecated.A constant for sorting portlets by the portlet's Creatorstatic final Integer
Deprecated.A constant for sorting portlets by the dates they were createdstatic final Integer
Deprecated.A constant for sorting portlets by Framestatic final Integer
Deprecated.A constant for sorting portlets by unique Idstatic final Integer
Deprecated.A constant for sorting portlets by whether or not they inherit security from their parent portal pagestatic final Integer
Deprecated.A constant for sorting portlets by Namestatic final Integer
Deprecated.A constant for sorting portlets by Portlet Typestatic final Integer
Deprecated.A constant for sorting portlets by whther or not they are publicstatic final Integer
Deprecated.A constant for sorting portlets by whether or not the portlet allowed to be shared on other pages. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Deprecated.The current user's access level with respect to this portlet.Deprecated.The user id of the creator of this portlet.Deprecated.The timestamp indicating when this portlet was created.getFrame()
Deprecated.The unique identifier of the frame that this portlet should be displayed in.getId()
Deprecated.The unique identifier of this portlet.boolean
Deprecated.Indicates whether the security of this portlet is determined based on the page this portlet is in, or based on its own role map.getName()
Deprecated.The displayable name of this portlet.Deprecated.The map of name-value pair parameters for this portlet.Deprecated.The unique identifier of the type of this portlet:PortletType.getDefinition()
Deprecated.Returns the editable setting (PortletType.getEditable()
) of this portlet's type (getPortletType()
).Deprecated.The portlet role map.getUuid()
Deprecated.Returns the UUID of this Portlet.boolean
isPublic()
Deprecated.Indicates whether this portlet can be seen by everybody.boolean
Deprecated.Indicates whether this portlet can be shared between pages.void
setAccessLevel
(int p_) Deprecated.SeegetAccessLevel()
void
setCreator
(String p_) Deprecated.SeegetCreator()
void
Deprecated.SeegetDateCreated()
void
Deprecated.SeegetFrame()
void
Deprecated.SeegetId()
void
setInheritsSecurity
(boolean p_) Deprecated.void
Deprecated.SeegetName()
void
setParameters
(Map<String, Object> p_) Deprecated.SeegetParameters()
void
setPortletType
(String p_) Deprecated.SeegetPortletType()
void
setPortletTypeEditable
(Boolean typeEditable_) Deprecated.void
setPublic
(boolean p_) Deprecated.SeeisPublic()
void
Deprecated.SeegetRoleMap()
void
setShareable
(boolean p_) Deprecated.SeeisShareable()
void
Deprecated.Set the UUID of this Portlet.toString()
Deprecated.
-
Field Details
-
SORT_BY_NAME
Deprecated.A constant for sorting portlets by Name -
SORT_BY_PORTLET_TYPE
Deprecated.A constant for sorting portlets by Portlet Type -
SORT_BY_FRAME
Deprecated.A constant for sorting portlets by Frame -
SORT_BY_CREATOR
Deprecated.A constant for sorting portlets by the portlet's Creator -
SORT_BY_DATE_CREATED
Deprecated.A constant for sorting portlets by the dates they were created -
SORT_BY_INHERITS_SECURITY
Deprecated.A constant for sorting portlets by whether or not they inherit security from their parent portal page -
SORT_BY_SHAREABLE
Deprecated.A constant for sorting portlets by whether or not the portlet allowed to be shared on other pages. -
SORT_BY_PUBLIC
Deprecated.A constant for sorting portlets by whther or not they are public -
SORT_BY_ID
Deprecated.A constant for sorting portlets by unique Id -
PORTLET_ACCESS_LEVEL_NONE
public static final int PORTLET_ACCESS_LEVEL_NONEDeprecated.A constant indicating that the current user has no access to view to a particular portlet- See Also:
-
PORTLET_ACCESS_LEVEL_VIEW
public static final int PORTLET_ACCESS_LEVEL_VIEWDeprecated.A constant indicating that the current user has view access to a particular portlet- See Also:
-
PORTLET_ACCESS_LEVEL_EDIT
public static final int PORTLET_ACCESS_LEVEL_EDITDeprecated.A constant indicating that the current user has editor access to a particular portlet- See Also:
-
PORTLET_ACCESS_LEVEL_ADMIN
public static final int PORTLET_ACCESS_LEVEL_ADMINDeprecated.A constant indicating that the current user has administrative access to a particular portlet- See Also:
-
-
Constructor Details
-
Portlet
public Portlet()Deprecated. -
Portlet
public Portlet(String portletType, String name, String frame, boolean isShared, boolean isPublic, boolean inheritSecurity) Deprecated.Instantiate a portlet with the fields that must be populated in order to create the portlet in the database.- Parameters:
portletType
-getPortletType()
name
-getName()
frame
-getFrame()
isShared
-isShareable()
isPublic
-isPublic()
inheritSecurity
-getInheritsSecurity()
-
-
Method Details
-
getId
Deprecated.The unique identifier of this portlet. -
setId
Deprecated.SeegetId()
-
getUuid
@ConvertWith(com.appiancorp.kougar.mapper.parameters.UuidParameterConverter.class) public String getUuid()Deprecated.Returns the UUID of this Portlet. This field is not populated unless:- the portlet has previously been exported
- the portlet was assigned a UUID when it was created
- the portlet was assigned a UUID using the Import/Export API
-
setUuid
Deprecated.Set the UUID of this Portlet. This value is ignored, except when the Portlet is being created. -
getName
Deprecated.The displayable name of this portlet. -
setName
Deprecated.SeegetName()
-
getInheritsSecurity
public boolean getInheritsSecurity()Deprecated.Indicates whether the security of this portlet is determined based on the page this portlet is in, or based on its own role map. This property should be ignored if the portlet is shareable.- Returns:
true
if the security settings of this portlet are the same as the security settings of the page that contains it;false
if the security is based on this portlet's role map.- See Also:
-
setInheritsSecurity
public void setInheritsSecurity(boolean p_) Deprecated. -
isPublic
public boolean isPublic()Deprecated.Indicates whether this portlet can be seen by everybody. Non public portlets are considered "targeted". -
setPublic
public void setPublic(boolean p_) Deprecated.SeeisPublic()
-
getPortletType
Deprecated.The unique identifier of the type of this portlet:PortletType.getDefinition()
-
setPortletType
Deprecated.SeegetPortletType()
-
getFrame
Deprecated.The unique identifier of the frame that this portlet should be displayed in. This must be the name of the tile definition to be used to surround the portlet content when rendering the portlet within a page. The built-in portlet frame tiles are intiles-portal-base.xml
. The portlet frame is also sometimes referred to as the "portlet template". -
setFrame
Deprecated.SeegetFrame()
-
getCreator
Deprecated.The user id of the creator of this portlet. The creator of a page has complete ownership (i.e. ADMIN access level) on the page. -
setCreator
Deprecated.SeegetCreator()
-
getDateCreated
Deprecated.The timestamp indicating when this portlet was created. -
setDateCreated
Deprecated.SeegetDateCreated()
-
getParameters
Deprecated.The map of name-value pair parameters for this portlet. Names must be single words, starting with a letter and containing only _, numbers and letters in the basic US character set. Values should be of type String, though future implementations (and experimentally, the current one) may allow other datatypes. -
setParameters
Deprecated.SeegetParameters()
-
getAccessLevel
public int getAccessLevel()Deprecated.The current user's access level with respect to this portlet.- Returns:
- The access level, see constants on this class.
-
setAccessLevel
public void setAccessLevel(int p_) Deprecated.SeegetAccessLevel()
-
getRoleMap
Deprecated.The portlet role map. -
setRoleMap
Deprecated.SeegetRoleMap()
-
getPortletTypeEditable
Deprecated.Returns the editable setting (PortletType.getEditable()
) of this portlet's type (getPortletType()
). -
setPortletTypeEditable
Deprecated. -
toString
Deprecated.
-