public enum Portlet extends Enum<Portlet>
PortletInstance
s use to create their properties and map themselves to a javascript
file. There must be a javascript file that corresponds to the portletXtype field. The image is used to display a
representation of what the portlet looks like.Enum Constant and Description |
---|
ACTIVITY_STREAM |
ASSIGNED_TO_ME |
BAR_CHART |
FILTER_RESULTS |
PIE_CHART |
PROJECT_SUMMARY |
RECENT_ACTIVITY |
RECENTLY_VIEWED |
RELATIONSHIP_RULE_DIAGRAM |
RICH_TEXT |
Modifier and Type | Method and Description |
---|---|
String |
getDescription() |
String |
getEnumName() |
String |
getImage() |
Boolean |
getLimitToOneInstance() |
String |
getName() |
static Portlet |
getPortletById(Integer id) |
String |
getPortletXtype() |
static Portlet |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Portlet[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Portlet FILTER_RESULTS
public static final Portlet ASSIGNED_TO_ME
public static final Portlet BAR_CHART
public static final Portlet RECENT_ACTIVITY
public static final Portlet PIE_CHART
public static final Portlet ACTIVITY_STREAM
public static final Portlet PROJECT_SUMMARY
public static final Portlet RICH_TEXT
public static final Portlet RECENTLY_VIEWED
public static final Portlet RELATIONSHIP_RULE_DIAGRAM
public static Portlet[] values()
for (Portlet c : Portlet.values()) System.out.println(c);
public static Portlet valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic String getName()
public String getPortletXtype()
public String getImage()
public String getDescription()
public Boolean getLimitToOneInstance()
public String getEnumName()
Copyright (c) 2013-2014 Jama Software, Inc. All Rights Reserved.