Class DrillPath
- All Implemented Interfaces:
DeepCloneable,Serializable,Cloneable
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.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intA constant indicating that thisDrillPathlinks to aCommunity.static final intA constant indicating that thisDrillPathlinks to Content.static final intA constant indicating that thisDrillPathlinks to a Dashboard.static final intA constant indicating that thisDrillPathlinks to aDiscussionThread.static final intA constant indicating that thisDrillPathlinks to aDocument.static final intA constant indicating that thisDrillPathlinks to aFolder.static final intA constant indicating that thisDrillPathlinks to aForum.static final intA constant indicating that thisDrillPathlinks to aGroup.static final intA constant indicating that thisDrillPathlinks to aKnowledgeCenter.static final intA constant indicating that thisDrillPathlinks to aMessage.static final intA constant indicating that thisDrillPathlinks toTypedVariableUtils.People.static final intA constant indicating that thisDrillPathlinks to aPortalPage.static final intA constant indicating that thisDrillPathlinks to a Process Dashboard.static final intA constant indicating that thisDrillPathlinks to Process Details.static final intA constant indicating that thisDrillPathlinks to a Process Model Dashboard.static final intA constant indicating that thisDrillPathlinks toProcessModelDetails.static final intA constant indicating that thisDrillPathlinks to a Report.static final intA constant indicating that thisDrillPathlinks to a Task.static final intA constant indicating that thisDrillPathlinks to an external URL.static final intA constant indicating that thisDrillPathlinks to aUser.protected static final org.apache.log4j.Logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Clone this object.booleanIs this DrillPath equal to the given object?Gets the ID of the dashboard to which thisDrillPathlinks.booleanGets whether or not thisDrillPathis enabled.Gets the expression which defines the value of theDrillPath.Gets the type of link that thisDrillPathrepresents.Gets thelocalIdof theColumnby which the destination report will be filtered.Gets the ID of the report to which thisDrillPathlinks.inthashCode()voidsetDashboardId(Long dashboardId_) Sets the ID of the dashboard to which thisDrillPathlinks.voidsetEnabled(boolean enabled_) Sets whether or not thisDrillPathis enabled.voidsetExpression(String expression_) Sets the expression which defines the value of theDrillPath.voidsetLinkType(Integer linkType_) Sets the type of link that thisDrillPathrepresents.voidsetOtherReportColumnLocalId(Long otherReportColumnLocalId_) Sets thelocalIdof theColumnby which the destination report will be filtered.voidsetOtherReportId(Long otherReportId_) Sets the ID of the report to which thisDrillPathwill link.
-
Field Details
-
LOG
protected static final org.apache.log4j.Logger LOG -
LINK_TYPE_PROCESS_MODEL_DETAILS
public static final int LINK_TYPE_PROCESS_MODEL_DETAILSA constant indicating that thisDrillPathlinks toProcessModelDetails.- See Also:
-
LINK_TYPE_PROCESS_DETAILS
public static final int LINK_TYPE_PROCESS_DETAILSA constant indicating that thisDrillPathlinks to Process Details.- See Also:
-
LINK_TYPE_TASK
public static final int LINK_TYPE_TASKA constant indicating that thisDrillPathlinks to a Task.- See Also:
-
LINK_TYPE_REPORT
public static final int LINK_TYPE_REPORTA constant indicating that thisDrillPathlinks to a Report.- See Also:
-
LINK_TYPE_DASHBOARD_PAGE
public static final int LINK_TYPE_DASHBOARD_PAGEA constant indicating that thisDrillPathlinks to a Dashboard.- See Also:
-
LINK_TYPE_URL
public static final int LINK_TYPE_URLA constant indicating that thisDrillPathlinks to an external URL.- See Also:
-
LINK_TYPE_PROCESS_MODEL_DASHBOARD
public static final int LINK_TYPE_PROCESS_MODEL_DASHBOARDA constant indicating that thisDrillPathlinks to a Process Model Dashboard.- See Also:
-
LINK_TYPE_PROCESS_DASHBOARD
public static final int LINK_TYPE_PROCESS_DASHBOARDA constant indicating that thisDrillPathlinks to a Process Dashboard.- See Also:
-
LINK_TYPE_USER
public static final int LINK_TYPE_USERA constant indicating that thisDrillPathlinks to aUser.- See Also:
-
LINK_TYPE_GROUP
public static final int LINK_TYPE_GROUPA constant indicating that thisDrillPathlinks to aGroup.- See Also:
-
LINK_TYPE_FORUM
public static final int LINK_TYPE_FORUMA constant indicating that thisDrillPathlinks to aForum.- See Also:
-
LINK_TYPE_DISCUSSION_THREAD
public static final int LINK_TYPE_DISCUSSION_THREADA constant indicating that thisDrillPathlinks to aDiscussionThread.- See Also:
-
LINK_TYPE_MESSAGE
public static final int LINK_TYPE_MESSAGEA constant indicating that thisDrillPathlinks to aMessage.- See Also:
-
LINK_TYPE_DOCUMENT
public static final int LINK_TYPE_DOCUMENTA constant indicating that thisDrillPathlinks to aDocument.- See Also:
-
LINK_TYPE_COMMUNITY
public static final int LINK_TYPE_COMMUNITYA constant indicating that thisDrillPathlinks to aCommunity.- See Also:
-
LINK_TYPE_KNOWLEDGE_CENTER
public static final int LINK_TYPE_KNOWLEDGE_CENTERA constant indicating that thisDrillPathlinks to aKnowledgeCenter.- See Also:
-
LINK_TYPE_FOLDER
public static final int LINK_TYPE_FOLDERA constant indicating that thisDrillPathlinks to aFolder.- See Also:
-
LINK_TYPE_CONTENT
public static final int LINK_TYPE_CONTENTA constant indicating that thisDrillPathlinks to Content.- See Also:
-
LINK_TYPE_PEOPLE
public static final int LINK_TYPE_PEOPLEA constant indicating that thisDrillPathlinks toTypedVariableUtils.People.- See Also:
-
LINK_TYPE_PORTAL_PAGE
public static final int LINK_TYPE_PORTAL_PAGEA constant indicating that thisDrillPathlinks to aPortalPage.- See Also:
-
-
Constructor Details
-
DrillPath
public DrillPath()
-
-
Method Details
-
equals
Is this DrillPath equal to the given object? -
hashCode
public int hashCode() -
clone
Clone this object. Note that this will make a deep copy of the value.- Specified by:
clonein interfaceDeepCloneable- Overrides:
clonein classObject- Returns:
-
getDashboardId
Gets the ID of the dashboard to which thisDrillPathlinks. This only applies for DrillPaths of typeLINK_TYPE_DASHBOARD_PAGE.- Returns:
- The ID of the dashboard to which this
DrillPathlinks. - See Also:
-
setDashboardId
Sets the ID of the dashboard to which thisDrillPathlinks.- Parameters:
dashboardId_- The ID of the dashboard to which thisDrillPathwill link.- See Also:
-
getEnabled
public boolean getEnabled()Gets whether or not thisDrillPathis enabled. EnabledDrillPaths are applied when rendering a column for a report; disabled ones are not.- Returns:
- A value of
trueif theDrillPathis enabled. - See Also:
-
setEnabled
public void setEnabled(boolean enabled_) Sets whether or not thisDrillPathis enabled.- Parameters:
enabled_- A value oftruewill enable thisDrillPath- See Also:
-
getLinkType
Gets the type of link that thisDrillPathrepresents.- Returns:
- A constant representing the link type. It will be one of the
LINK_TYPE_XXXconstants found in this class. - See Also:
-
setLinkType
Sets the type of link that thisDrillPathrepresents.- Parameters:
linkType_- The link type to be set, which must be one of theLINK_TYPE_XXXconstants found in this class.- See Also:
-
getOtherReportId
Gets the ID of the report to which thisDrillPathlinks. It is not the ID of the report to which thisDrillPathbelongs. This field only applies toDrillPaths of typeLINK_TYPE_REPORT.- Returns:
- The ID of the report to which this
DrillPathlinks. - See Also:
-
setOtherReportId
Sets the ID of the report to which thisDrillPathwill link.- Parameters:
otherReportId_- The ID of the report to which thisDrillPathwill link.- See Also:
-
getExpression
Gets the expression which defines the value of theDrillPath. For example, if thisDrillPathlinks to a Task Details page the expression defines the Task ID.- Returns:
- The expression defining the value of the
DrillPath - See Also:
-
setExpression
Sets the expression which defines the value of theDrillPath.- Parameters:
expression_- The expression defining the value of theDrillPathto set.- See Also:
-
getOtherReportColumnLocalId
Gets the
localIdof theColumnby which the destination report will be filtered. The filter value will be stored in theDrillPath'sexpressionfield.This field only applies to DrillPaths of type LINK_TYPE_REPORT.
- Returns:
- The
localIdof theColumnby which the destination report will be filtered. - See Also:
-
setOtherReportColumnLocalId
Sets thelocalIdof theColumnby which the destination report will be filtered.- Parameters:
otherReportColumnLocalId_- ThelocalIdof theColumnby which the destination report will be filtered.- See Also:
-