@Deprecated public class Portlet extends java.lang.Object implements LocalId
PortletService
,
Serialized FormModifier and Type | Field and Description |
---|---|
static int |
PORTLET_ACCESS_LEVEL_ADMIN
Deprecated.
A constant indicating that the current user has administrative access to
a particular portlet
|
static int |
PORTLET_ACCESS_LEVEL_EDIT
Deprecated.
A constant indicating that the current user has editor access to a
particular portlet
|
static int |
PORTLET_ACCESS_LEVEL_NONE
Deprecated.
A constant indicating that the current user has no access to view to a
particular portlet
|
static int |
PORTLET_ACCESS_LEVEL_VIEW
Deprecated.
A constant indicating that the current user has view access to a
particular portlet
|
static java.lang.Integer |
SORT_BY_CREATOR
Deprecated.
A constant for sorting portlets by the portlet's Creator
|
static java.lang.Integer |
SORT_BY_DATE_CREATED
Deprecated.
A constant for sorting portlets by the dates they were created
|
static java.lang.Integer |
SORT_BY_FRAME
Deprecated.
A constant for sorting portlets by Frame
|
static java.lang.Integer |
SORT_BY_ID
Deprecated.
A constant for sorting portlets by unique Id
|
static java.lang.Integer |
SORT_BY_INHERITS_SECURITY
Deprecated.
A constant for sorting portlets by whether or not they inherit security
from their parent portal page
|
static java.lang.Integer |
SORT_BY_NAME
Deprecated.
A constant for sorting portlets by Name
|
static java.lang.Integer |
SORT_BY_PORTLET_TYPE
Deprecated.
A constant for sorting portlets by Portlet Type
|
static java.lang.Integer |
SORT_BY_PUBLIC
Deprecated.
A constant for sorting portlets by whther or not they are public
|
static java.lang.Integer |
SORT_BY_SHAREABLE
Deprecated.
A constant for sorting portlets by whether or not the portlet allowed to
be shared on other pages.
|
Constructor and Description |
---|
Portlet()
Deprecated.
|
Portlet(java.lang.String portletType,
java.lang.String name,
java.lang.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.
|
Modifier and Type | Method and Description |
---|---|
int |
getAccessLevel()
Deprecated.
The current user's access level with respect to this portlet.
|
java.lang.String |
getCreator()
Deprecated.
The user id of the creator of this portlet.
|
java.sql.Timestamp |
getDateCreated()
Deprecated.
The timestamp indicating when this portlet was created.
|
java.lang.String |
getFrame()
Deprecated.
The unique identifier of the frame that this portlet should be displayed in.
|
java.lang.Long |
getId()
Deprecated.
The unique identifier of this portlet.
|
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.
|
java.lang.String |
getName()
Deprecated.
The displayable name of this portlet.
|
java.util.Map<java.lang.String,java.lang.Object> |
getParameters()
Deprecated.
The map of name-value pair parameters for this portlet.
|
java.lang.String |
getPortletType()
Deprecated.
The unique identifier of the type of this portlet:
PortletType.getDefinition() |
java.lang.Boolean |
getPortletTypeEditable()
Deprecated.
Returns the editable setting (
PortletType.getEditable() ) of
this portlet's type (getPortletType() ). |
PortalRoleMap |
getRoleMap()
Deprecated.
The portlet role map.
|
java.lang.String |
getUuid()
Deprecated.
Returns the UUID of this Portlet.
|
boolean |
isPublic()
Deprecated.
Indicates whether this portlet can be seen by everybody.
|
boolean |
isShareable()
Deprecated.
Indicates whether this portlet can be shared between pages.
|
void |
setAccessLevel(int p_)
Deprecated.
See
getAccessLevel() |
void |
setCreator(java.lang.String p_)
Deprecated.
See
getCreator() |
void |
setDateCreated(java.sql.Timestamp p_)
Deprecated.
See
getDateCreated() |
void |
setFrame(java.lang.String p_)
Deprecated.
See
getFrame() |
void |
setId(java.lang.Long id_)
Deprecated.
See
getId() |
void |
setInheritsSecurity(boolean p_)
Deprecated.
|
void |
setName(java.lang.String string_)
Deprecated.
See
getName() |
void |
setParameters(java.util.Map<java.lang.String,java.lang.Object> p_)
Deprecated.
See
getParameters() |
void |
setPortletType(java.lang.String p_)
Deprecated.
See
getPortletType() |
void |
setPortletTypeEditable(java.lang.Boolean typeEditable_)
Deprecated.
|
void |
setPublic(boolean p_)
Deprecated.
See
isPublic() |
void |
setRoleMap(PortalRoleMap p_)
Deprecated.
See
getRoleMap() |
void |
setShareable(boolean p_)
Deprecated.
See
isShareable() |
void |
setUuid(java.lang.String uuid)
Deprecated.
Set the UUID of this Portlet.
|
java.lang.String |
toString()
Deprecated.
|
public static final java.lang.Integer SORT_BY_NAME
public static final java.lang.Integer SORT_BY_PORTLET_TYPE
public static final java.lang.Integer SORT_BY_FRAME
public static final java.lang.Integer SORT_BY_CREATOR
public static final java.lang.Integer SORT_BY_DATE_CREATED
public static final java.lang.Integer SORT_BY_INHERITS_SECURITY
public static final java.lang.Integer SORT_BY_SHAREABLE
public static final java.lang.Integer SORT_BY_PUBLIC
public static final java.lang.Integer SORT_BY_ID
public static final int PORTLET_ACCESS_LEVEL_NONE
public static final int PORTLET_ACCESS_LEVEL_VIEW
public static final int PORTLET_ACCESS_LEVEL_EDIT
public static final int PORTLET_ACCESS_LEVEL_ADMIN
public Portlet()
public Portlet(java.lang.String portletType, java.lang.String name, java.lang.String frame, boolean isShared, boolean isPublic, boolean inheritSecurity)
portletType
- getPortletType()
name
- getName()
frame
- getFrame()
isShared
- isShareable()
isPublic
- isPublic()
inheritSecurity
- getInheritsSecurity()
public java.lang.Long getId()
getId
in interface LocalId
LocalId.setId(Long)
public void setId(java.lang.Long id_)
getId()
setId
in interface LocalId
id_
- Id to setLocalId.getId()
@ConvertWith(value=com.appiancorp.kougar.mapper.parameters.UuidParameterConverter.class) public java.lang.String getUuid()
public void setUuid(java.lang.String uuid)
public java.lang.String getName()
public void setName(java.lang.String string_)
getName()
public boolean getInheritsSecurity()
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.PortletService.getRoleMapForPortlet(java.lang.Long)
,
isShareable()
public void setInheritsSecurity(boolean p_)
public boolean isShareable()
public void setShareable(boolean p_)
isShareable()
public boolean isPublic()
public void setPublic(boolean p_)
isPublic()
public java.lang.String getPortletType()
PortletType.getDefinition()
public void setPortletType(java.lang.String p_)
getPortletType()
public java.lang.String getFrame()
tiles-portal-base.xml
.
The portlet frame is also sometimes referred to as the "portlet template".public void setFrame(java.lang.String p_)
getFrame()
public java.lang.String getCreator()
public void setCreator(java.lang.String p_)
getCreator()
public java.sql.Timestamp getDateCreated()
public void setDateCreated(java.sql.Timestamp p_)
getDateCreated()
public java.util.Map<java.lang.String,java.lang.Object> getParameters()
public void setParameters(java.util.Map<java.lang.String,java.lang.Object> p_)
getParameters()
public int getAccessLevel()
public void setAccessLevel(int p_)
getAccessLevel()
public PortalRoleMap getRoleMap()
public void setRoleMap(PortalRoleMap p_)
getRoleMap()
public java.lang.Boolean getPortletTypeEditable()
PortletType.getEditable()
) of
this portlet's type (getPortletType()
).public void setPortletTypeEditable(java.lang.Boolean typeEditable_)
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2003-2024 Appian Corporation. All Rights Reserved.