public class DrillPath extends java.lang.Object implements java.io.Serializable, DeepCloneable
The DrillPath
bean describes how data in a report
Column
links to more information.
The type of the link is given in the linkType
field. The type
can be any one of the LINK_TYPE_XXX
constants found in this
class.
Based on the linkType
, the expression
field
specifies a value which defines the specific object to link to. For example,
if the linkType
is LINK_TYPE_TASK
, then the
expression
field will determine the Id of the Task to link to.
There are two exceptions to this rule. If the type is
LINK_TYPE_REPORT
, then the otherReportId
field is
used to link to another report, the otherReportColumnLocalId
specifies a Column
which can be used to filter the destination
report based on a filter value, which is stored in the
expression
field. If the type is
LINK_TYPE_DASHBOARD_PAGE
, then the dashboardId
field
is used and the expression
is ignored.
Modifier and Type | Field and Description |
---|---|
static int |
LINK_TYPE_COMMUNITY
A constant indicating that this
DrillPath links to a
Community . |
static int |
LINK_TYPE_CONTENT
A constant indicating that this
DrillPath links to
Content. |
static int |
LINK_TYPE_DASHBOARD_PAGE
A constant indicating that this
DrillPath links to a Dashboard. |
static int |
LINK_TYPE_DISCUSSION_THREAD
A constant indicating that this
DrillPath links to a
DiscussionThread . |
static int |
LINK_TYPE_DOCUMENT
A constant indicating that this
DrillPath links to a
Document . |
static int |
LINK_TYPE_FOLDER
A constant indicating that this
DrillPath links to a
Folder . |
static int |
LINK_TYPE_FORUM
A constant indicating that this
DrillPath links to a
Forum . |
static int |
LINK_TYPE_GROUP
A constant indicating that this
DrillPath links to a
Group . |
static int |
LINK_TYPE_KNOWLEDGE_CENTER
A constant indicating that this
DrillPath links to a
KnowledgeCenter . |
static int |
LINK_TYPE_MESSAGE
A constant indicating that this
DrillPath links to a
Message . |
static int |
LINK_TYPE_PEOPLE
A constant indicating that this
DrillPath links to
TypedVariableUtils.People . |
static int |
LINK_TYPE_PORTAL_PAGE
A constant indicating that this
DrillPath links to a
PortalPage . |
static int |
LINK_TYPE_PROCESS_DASHBOARD
A constant indicating that this
DrillPath links to a Process
Dashboard. |
static int |
LINK_TYPE_PROCESS_DETAILS
A constant indicating that this
DrillPath links to
Process Details. |
static int |
LINK_TYPE_PROCESS_MODEL_DASHBOARD
A constant indicating that this
DrillPath links to a Process
Model Dashboard. |
static int |
LINK_TYPE_PROCESS_MODEL_DETAILS
A constant indicating that this
DrillPath links to
ProcessModel Details. |
static int |
LINK_TYPE_REPORT
A constant indicating that this
DrillPath links to a Report. |
static int |
LINK_TYPE_TASK
A constant indicating that this
DrillPath links to a Task. |
static int |
LINK_TYPE_URL
A constant indicating that this
DrillPath links to an external
URL. |
static int |
LINK_TYPE_USER
A constant indicating that this
DrillPath links to a
User . |
protected static Logger |
LOG |
Constructor and Description |
---|
DrillPath() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Clone this object.
|
boolean |
equals(java.lang.Object obj_)
Is this DrillPath equal to the given object?
|
java.lang.Long |
getDashboardId()
Gets the ID of the dashboard to which this
DrillPath links. |
boolean |
getEnabled()
Gets whether or not this
DrillPath is enabled. |
java.lang.String |
getExpression()
Gets the expression which defines the value of the
DrillPath . |
java.lang.Integer |
getLinkType()
Gets the type of link that this
DrillPath represents. |
java.lang.Long |
getOtherReportColumnLocalId()
Gets the
localId of the Column by which the
destination report will be filtered. |
java.lang.Long |
getOtherReportId()
Gets the ID of the report to which this
DrillPath links. |
int |
hashCode() |
void |
setDashboardId(java.lang.Long dashboardId_)
Sets the ID of the dashboard to which this
DrillPath links. |
void |
setEnabled(boolean enabled_)
Sets whether or not this
DrillPath is enabled. |
void |
setExpression(java.lang.String expression_)
Sets the expression which defines the value of the
DrillPath . |
void |
setLinkType(java.lang.Integer linkType_)
Sets the type of link that this
DrillPath represents. |
void |
setOtherReportColumnLocalId(java.lang.Long otherReportColumnLocalId_)
Sets the
localId of the Column by which the
destination report will be filtered. |
void |
setOtherReportId(java.lang.Long otherReportId_)
Sets the ID of the report to which this
DrillPath will link. |
protected static final Logger LOG
public static final int LINK_TYPE_PROCESS_MODEL_DETAILS
DrillPath
links to
ProcessModel
Details.public static final int LINK_TYPE_PROCESS_DETAILS
DrillPath
links to
Process Details.public static final int LINK_TYPE_TASK
DrillPath
links to a Task.public static final int LINK_TYPE_REPORT
DrillPath
links to a Report.public static final int LINK_TYPE_DASHBOARD_PAGE
DrillPath
links to a Dashboard.public static final int LINK_TYPE_URL
DrillPath
links to an external
URL.public static final int LINK_TYPE_PROCESS_MODEL_DASHBOARD
DrillPath
links to a Process
Model Dashboard.public static final int LINK_TYPE_PROCESS_DASHBOARD
DrillPath
links to a Process
Dashboard.public static final int LINK_TYPE_USER
DrillPath
links to a
User
.public static final int LINK_TYPE_GROUP
DrillPath
links to a
Group
.public static final int LINK_TYPE_FORUM
DrillPath
links to a
Forum
.public static final int LINK_TYPE_DISCUSSION_THREAD
DrillPath
links to a
DiscussionThread
.public static final int LINK_TYPE_MESSAGE
DrillPath
links to a
Message
.public static final int LINK_TYPE_DOCUMENT
DrillPath
links to a
Document
.public static final int LINK_TYPE_COMMUNITY
DrillPath
links to a
Community
.public static final int LINK_TYPE_KNOWLEDGE_CENTER
DrillPath
links to a
KnowledgeCenter
.public static final int LINK_TYPE_FOLDER
DrillPath
links to a
Folder
.public static final int LINK_TYPE_CONTENT
DrillPath
links to
Content.public static final int LINK_TYPE_PEOPLE
DrillPath
links to
TypedVariableUtils.People
.public static final int LINK_TYPE_PORTAL_PAGE
DrillPath
links to a
PortalPage
.public boolean equals(java.lang.Object obj_)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.Object clone()
clone
in interface DeepCloneable
clone
in class java.lang.Object
public java.lang.Long getDashboardId()
DrillPath
links.
This only applies for DrillPaths of type
LINK_TYPE_DASHBOARD_PAGE
.DrillPath
links.setDashboardId(java.lang.Long)
public void setDashboardId(java.lang.Long dashboardId_)
DrillPath
links.dashboardId_
- The ID of the dashboard to which this
DrillPath
will link.getDashboardId()
,
getDashboardId()
public boolean getEnabled()
DrillPath
is enabled. Enabled DrillPath
s
are applied when rendering a column for a report; disabled ones are not.true
if the DrillPath
is
enabled.setEnabled(boolean)
public void setEnabled(boolean enabled_)
DrillPath
is enabled.enabled_
- A value of true
will enable this
DrillPath
getEnabled()
public java.lang.Integer getLinkType()
DrillPath
represents.LINK_TYPE_XXX
constants found in this class.setLinkType(java.lang.Integer)
public void setLinkType(java.lang.Integer linkType_)
DrillPath
represents.linkType_
- The link type to be set, which must be one of the
LINK_TYPE_XXX
constants found in this class.getLinkType()
public java.lang.Long getOtherReportId()
DrillPath
links. It
is not the ID of the report to which this DrillPath
belongs.
This field only applies to DrillPath
s of type
LINK_TYPE_REPORT
.DrillPath
links.setOtherReportId(java.lang.Long)
public void setOtherReportId(java.lang.Long otherReportId_)
DrillPath
will link.otherReportId_
- The ID of the report to which this
DrillPath
will link.getOtherReportId()
,
getOtherReportId()
public java.lang.String getExpression()
DrillPath
.
For example, if this DrillPath
links to a Task Details page
the expression defines the Task ID.DrillPath
setExpression(java.lang.String)
public void setExpression(java.lang.String expression_)
DrillPath
.expression_
- The expression defining the value of the
DrillPath
to set.getExpression()
,
getExpression()
public java.lang.Long getOtherReportColumnLocalId()
Gets the localId
of the Column
by which the
destination report will be filtered. The filter value will be stored in
the DrillPath
's expression
field.
This field only applies to DrillPaths of type LINK_TYPE_REPORT.
localId
of the Column
by which the
destination report will be filtered.setOtherReportColumnLocalId(java.lang.Long)
public void setOtherReportColumnLocalId(java.lang.Long otherReportColumnLocalId_)
localId
of the Column
by which the
destination report will be filtered.otherReportColumnLocalId_
- The localId
of the
Column
by which the destination report will be filtered.getOtherReportColumnLocalId()
Copyright © 2003-2024 Appian Corporation. All Rights Reserved.