public class ProcessReport
extends java.lang.Object
implements java.lang.Cloneable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static int |
VIEW_DEFAULT
Used to specify a default view type.
|
static int |
VIEW_GROUP
Used to specify a group view type.
|
static int |
VIEW_PRINT
Used to specify a print view type.
|
static int |
VIEW_PROCESS
Used to specify a process view type.
|
static int |
VIEW_PROCESS_INSTANCES
Used to specify a running process view In Process Modeler.
|
static int |
VIEW_TASK
Used to specify a task view type.
|
static int |
VIEW_USER
Used to specify a user view type.
|
Constructor and Description |
---|
ProcessReport() |
Modifier and Type | Method and Description |
---|---|
ProcessReport |
clone()
Cloneable implementation - creates a deep copy the
ProcessReport . |
ProcessReport |
copy()
Deprecated.
use
clone() instead |
java.util.Map |
getCache()
Get the type cache used for rendering this report.
|
java.lang.Integer |
getChartHeight()
Get the height of the chart associated with this report.
|
java.lang.Integer |
getChartWidth()
Get the width of the chart associated with this report.
|
ReportData |
getData()
Get the data for this report.
|
ReportDisplay |
getDisplay()
Get the display format of this report.
|
java.lang.Integer |
getGraphSize() |
java.lang.Long |
getId()
Get the id of this report.
|
boolean |
getModified()
Determine if this report has been modified.
|
java.lang.Long |
getPortletId()
Get the Id of the portlet that contains the report.
|
boolean |
getShowDisplayOptions()
Determine whether to show the show/hide columns link on the report.
|
java.lang.Boolean |
getShowEditControls() |
java.lang.Boolean |
getShowFilters() |
boolean |
getShowTitle()
Determine whether a name of the report should be displayed at the top.
|
boolean |
getShowToolbar()
Determine whether a toolbar should be displayed for this report.
|
java.lang.Boolean |
getShowUserControls() |
int |
getView()
Get the view type for this report.
|
boolean |
getWriteAccess()
Get whether this report can be edited and saved by the current user.
|
void |
populateAppianTypeCache(ServiceContext sc_)
Populate the Appian type cache on this report.
|
void |
setChartHeight(java.lang.Integer chartHeight_)
Set the height of the chart associated with this report.
|
void |
setChartWidth(java.lang.Integer chartWidth_)
Set the width of the chart associated with this report.
|
void |
setData(ReportData data_)
Set the data for this report.
|
void |
setDisplay(ReportDisplay display_)
Set the display format of this report.
|
void |
setGraphSize(java.lang.Integer graphSize_) |
void |
setId(java.lang.Long id_)
Set the id of this report.
|
void |
setModified(boolean modified_)
Set whether this report has been modified.
|
void |
setPortletId(java.lang.Long portletId_)
Sets the Id of the portlet that will contain the report.
|
void |
setShowDisplayOptions(boolean showDisplayOptions_)
Set whether the show/hide columns link will be shown on the report.
|
void |
setShowEditControls(java.lang.Boolean showEditControls) |
void |
setShowFilters(java.lang.Boolean showFilters) |
void |
setShowTitle(boolean showTitle_)
Set whether the name of the report should be displayed at the top.
|
void |
setShowToolbar(boolean showToolbar_)
Set whether a toolbar will be shown for this report.
|
void |
setShowUserControls(java.lang.Boolean showUserControls) |
void |
setView(int view_)
Set the view type for this report.
|
void |
setWriteAccess(boolean writeAccess_)
Set whether this report can be edited and saved by the current user.
|
java.lang.String |
toString() |
public static final int VIEW_DEFAULT
public static final int VIEW_PROCESS
public static final int VIEW_TASK
public static final int VIEW_PRINT
public static final int VIEW_USER
public static final int VIEW_GROUP
public static final int VIEW_PROCESS_INSTANCES
public ProcessReport clone()
ProcessReport
.
It does not make a deep or shallow copy of the type cache, rather it creates a new empty
cache which could be re-populated using populateAppianTypeCache(ServiceContext)
.clone
in class java.lang.Object
@Deprecated public ProcessReport copy()
clone()
insteadpublic ReportData getData()
setData(com.appiancorp.suiteapi.process.analytics2.ReportData)
public java.util.Map getCache()
public void setData(ReportData data_)
data_
- the data.getData()
public ReportDisplay getDisplay()
setDisplay(com.appiancorp.suiteapi.process.analytics2.ReportDisplay)
public void setDisplay(ReportDisplay display_)
display_
- the display format.getDisplay()
public java.lang.Long getId()
setId(java.lang.Long)
public void setId(java.lang.Long id_)
id_
- the id.getId()
public void populateAppianTypeCache(ServiceContext sc_)
sc_
- the service context used to query for type information.public int getView()
setView(int)
public void setView(int view_)
view_
- the view type.getView()
public boolean getWriteAccess()
true
if the current user can save the report; false
otherwise.setWriteAccess(boolean)
public void setWriteAccess(boolean writeAccess_)
writeAccess_
- true
if the current user can save the report;
false
otherwise.getWriteAccess()
public boolean getShowToolbar()
true
if a toolbar should be visible; false
if not.setShowToolbar(boolean)
,
ProcessReportTag
public void setShowToolbar(boolean showToolbar_)
showToolbar_
- true
if a toolbar should be visible; false
if not.getShowToolbar()
public boolean getShowDisplayOptions()
true
if the link should be shown; false
otherwise.setShowDisplayOptions(boolean)
,
ProcessReportTag
public void setShowDisplayOptions(boolean showDisplayOptions_)
showDisplayOptions_
- true
if the link should be shown; false
otherwise.getShowDisplayOptions()
public boolean getModified()
true
if the report has been modified; false
otherwise.setModified(boolean)
public void setModified(boolean modified_)
modified_
- true
if the report has been modified; false
otherwise.getModified()
public java.lang.Integer getChartHeight()
setChartHeight(java.lang.Integer)
public void setChartHeight(java.lang.Integer chartHeight_)
chartHeight_
- the height in pixels.getChartHeight()
public java.lang.Integer getChartWidth()
setChartWidth(java.lang.Integer)
public void setChartWidth(java.lang.Integer chartWidth_)
chartWidth_
- the width in pixels.getChartWidth()
public java.lang.Integer getGraphSize()
public void setGraphSize(java.lang.Integer graphSize_)
public java.lang.Long getPortletId()
setPortletId(java.lang.Long)
public void setPortletId(java.lang.Long portletId_)
portletId_
- Id of the portletgetPortletId()
public boolean getShowTitle()
true
if the name of the report should be visible;
false
if not.setShowTitle(boolean)
,
ProcessReportTag
public void setShowTitle(boolean showTitle_)
showTitle_
- true
if the name of the report should be visible;
false
if not.getShowTitle()
public java.lang.Boolean getShowFilters()
public void setShowFilters(java.lang.Boolean showFilters)
public java.lang.Boolean getShowUserControls()
public void setShowUserControls(java.lang.Boolean showUserControls)
public java.lang.Boolean getShowEditControls()
public void setShowEditControls(java.lang.Boolean showEditControls)
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2003-2024 Appian Corporation. All Rights Reserved.