|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BusinessLayer
A representation of the 'Business Layer' model object.
This interface provides a series of methods used to set the query limits, options, and comments attached to a business layer. See the Information Design Tool User Guide for more information.
The following features are supported:
Description
Root Folder
Business Layer Views
Lovs
Parameters
Master View Hidden
Result Set Size Limited
Result Set Size Limit
Query Execution Time Limited
Query Execution Time Limit
Use Of Subqueries Allowed
Use Of Combined Queries Allowed
Query Stripping Allowed
Complex Operands In Filter Allowed
Multiple SQL Statements Per Measure Allowed
Cost Estimate Warning Enabled
Cost Estimate Excess Time
Custom Navigation Paths
Core Universe References
Comments
Navigation Path Mode
Method Summary | |
---|---|
BlItem |
getBlItem(java.lang.String path,
boolean failed)
|
java.util.List<BusinessLayerView> |
getBusinessLayerViews()
Returns the value of the 'Business Layer Views' containment reference list. |
java.lang.String |
getComments()
Returns the value of the 'Comments' attribute. |
java.util.List<UniverseReference> |
getCoreUniverseReferences()
Returns the value of the 'Core Universe References' containment reference list. |
int |
getCostEstimateExcessTime()
Returns the value of the 'Cost Estimate Excess Time' attribute. |
java.util.List<NavigationPath> |
getCustomNavigationPaths()
Returns the value of the 'Custom Navigation Paths' containment reference list. |
java.lang.String |
getDescription()
Returns the value of the 'Description' attribute. |
java.util.List<Lov> |
getLovs()
Returns the value of the 'Lovs' containment reference list. |
NavigationPathMode |
getNavigationPathMode()
Returns the value of the 'Navigation Path Mode' attribute. |
java.util.List<Parameter> |
getParameters()
Returns the value of the 'Parameters' containment reference list. |
long |
getQueryExecutionTimeLimit()
Returns the value of the 'Query Execution Time Limit' attribute. |
long |
getResultSetSizeLimit()
Returns the value of the 'Result Set Size Limit' attribute. |
RootFolder |
getRootFolder()
Returns the value of the 'Root Folder' containment reference. |
boolean |
isComplexOperandsInFilterAllowed()
Returns the value of the 'Complex Operands In Filter Allowed' attribute. |
boolean |
isCostEstimateWarningEnabled()
Returns the value of the 'Cost Estimate Warning Enabled' attribute. |
boolean |
isMasterViewHidden()
Returns the value of the 'Master View Hidden' attribute. |
boolean |
isMultipleSQLStatementsPerMeasureAllowed()
Returns the value of the 'Multiple SQL Statements Per Measure Allowed' attribute. |
boolean |
isQueryExecutionTimeLimited()
Returns the value of the 'Query Execution Time Limited' attribute. |
boolean |
isQueryStrippingAllowed()
Returns the value of the 'Query Stripping Allowed' attribute. |
boolean |
isResultSetSizeLimited()
Returns the value of the 'Result Set Size Limited' attribute. |
boolean |
isUseOfCombinedQueriesAllowed()
Returns the value of the 'Use Of Combined Queries Allowed' attribute. |
boolean |
isUseOfSubqueriesAllowed()
Returns the value of the 'Use Of Subqueries Allowed' attribute. |
void |
setComments(java.lang.String value)
Sets the value of the ' Comments ' attribute. |
void |
setComplexOperandsInFilterAllowed(boolean value)
Sets the value of the ' Complex Operands In Filter Allowed ' attribute. |
void |
setCostEstimateExcessTime(int value)
Sets the value of the ' Cost Estimate Excess Time ' attribute. |
void |
setCostEstimateWarningEnabled(boolean value)
Sets the value of the ' Cost Estimate Warning Enabled ' attribute. |
void |
setDescription(java.lang.String value)
Sets the value of the ' Description ' attribute. |
void |
setMasterViewHidden(boolean value)
Sets the value of the ' Master View Hidden ' attribute. |
void |
setMultipleSQLStatementsPerMeasureAllowed(boolean value)
Sets the value of the ' Multiple SQL Statements Per Measure Allowed ' attribute. |
void |
setNavigationPathMode(NavigationPathMode value)
Sets the value of the ' Navigation Path Mode ' attribute. |
void |
setQueryExecutionTimeLimit(long value)
Sets the value of the ' Query Execution Time Limit ' attribute. |
void |
setQueryExecutionTimeLimited(boolean value)
Sets the value of the ' Query Execution Time Limited ' attribute. |
void |
setQueryStrippingAllowed(boolean value)
Sets the value of the ' Query Stripping Allowed ' attribute. |
void |
setResultSetSizeLimit(long value)
Sets the value of the ' Result Set Size Limit ' attribute. |
void |
setResultSetSizeLimited(boolean value)
Sets the value of the ' Result Set Size Limited ' attribute. |
void |
setUseOfCombinedQueriesAllowed(boolean value)
Sets the value of the ' Use Of Combined Queries Allowed ' attribute. |
void |
setUseOfSubqueriesAllowed(boolean value)
Sets the value of the ' Use Of Subqueries Allowed ' attribute. |
Methods inherited from interface com.sap.sl.sdk.authoring.commons.SlResource |
---|
getResourcePath |
Methods inherited from interface com.sap.sl.sdk.authoring.commons.Nameable |
---|
getName, setName |
Methods inherited from interface com.sap.sl.sdk.authoring.commons.Customizable |
---|
getCustomProperties |
Methods inherited from interface com.sap.sl.sdk.authoring.commons.QueryScriptCustomizable |
---|
getQueryScriptProperties, resetQueryScriptProperties |
Method Detail |
---|
java.lang.String getDescription()
""
.
This string represents the description of the business layer.
setDescription(String)
void setDescription(java.lang.String value)
Description
' attribute.
This string represents the description of the business layer.
value
- the new value of the 'Description' attribute.getDescription()
RootFolder getRootFolder()
Business Layer
'.
This string represents the root folder that contains the business layer.
RootFolder.getBusinessLayer()
java.util.List<BusinessLayerView> getBusinessLayerViews()
BusinessLayerView
.
This is the list of the business layer views of a business layer.
java.util.List<Lov> getLovs()
Lov
.
This is the list of lists of values attached to a business layer.
java.util.List<Parameter> getParameters()
Parameter
.
This is the list of parameters attached to a business layer.
boolean isMasterViewHidden()
Tells if the master view is hidden in the business layer. It cannot be hidden if there is no other view.
setMasterViewHidden(boolean)
void setMasterViewHidden(boolean value)
Master View Hidden
' attribute.
The master view is hidden if value
is true
.
value
- the new value of the 'Master View Hidden' attribute.isMasterViewHidden()
boolean isResultSetSizeLimited()
"true"
.
Tells if the number of rows returned in a query is limited.
setResultSetSizeLimited(boolean)
void setResultSetSizeLimited(boolean value)
Result Set Size Limited
' attribute.
Sets a limit to the number of rows returned in a query if value
is true
.
value
- the new value of the 'Result Set Size Limited' attribute.isResultSetSizeLimited()
long getResultSetSizeLimit()
"5000"
.
This is the limit set to the number of rows returned in a query.
setResultSetSizeLimit(long)
void setResultSetSizeLimit(long value)
Result Set Size Limit
' attribute.
This is the limit set to the number of rows returned in a query.
value
- the new value of the 'Result Set Size Limit' attribute.getResultSetSizeLimit()
boolean isQueryExecutionTimeLimited()
"true"
.
Tells if the time passed for query execution is limited.
setQueryExecutionTimeLimited(boolean)
void setQueryExecutionTimeLimited(boolean value)
Query Execution Time Limited
' attribute.
Sets a limit to the time passed for query execution if value
is true
.
value
- the new value of the 'Query Execution Time Limited' attribute.isQueryExecutionTimeLimited()
long getQueryExecutionTimeLimit()
"600"
.
This is the limit set to the time passed for query execution in minutes.
setQueryExecutionTimeLimit(long)
void setQueryExecutionTimeLimit(long value)
Query Execution Time Limit
' attribute.
This is the limit set to the time passed for query execution in minutes.
value
- the new value of the 'Query Execution Time Limit' attribute.getQueryExecutionTimeLimit()
boolean isUseOfSubqueriesAllowed()
"true"
.
Tells if subqueries can be used in queries.
setUseOfSubqueriesAllowed(boolean)
void setUseOfSubqueriesAllowed(boolean value)
Use Of Subqueries Allowed
' attribute.
Allows the use of subqueries in queries if value
is true
.
value
- the new value of the 'Use Of Subqueries Allowed' attribute.isUseOfSubqueriesAllowed()
boolean isUseOfCombinedQueriesAllowed()
"true"
.
Tells if queries can be combined using UNION, MINUS or INTERSECT to obtain one result set.
setUseOfCombinedQueriesAllowed(boolean)
void setUseOfCombinedQueriesAllowed(boolean value)
Use Of Combined Queries Allowed
' attribute.
Allows the use of combined queries if value
is true
.
value
- the new value of the 'Use Of Combined Queries Allowed' attribute.isUseOfCombinedQueriesAllowed()
boolean isQueryStrippingAllowed()
"false"
.
Tells if the query stripping is allowed for relational universes built from the business layer.
setQueryStrippingAllowed(boolean)
void setQueryStrippingAllowed(boolean value)
Query Stripping Allowed
' attribute.
Allows query stripping if value
is true
.
value
- the new value of the 'Query Stripping Allowed' attribute.isQueryStrippingAllowed()
boolean isComplexOperandsInFilterAllowed()
"true"
.
Tells if the use of complex operands is allowed in filters.
setComplexOperandsInFilterAllowed(boolean)
void setComplexOperandsInFilterAllowed(boolean value)
Complex Operands In Filter Allowed
' attribute.
Allows the use of complex operands in filters if value
is true
.
value
- the new value of the 'Complex Operands In Filter Allowed' attribute.isComplexOperandsInFilterAllowed()
boolean isMultipleSQLStatementsPerMeasureAllowed()
"true"
.
Tells if multiple SQL statements are generated for each measure or group of measures belonging to a different fact table.
setMultipleSQLStatementsPerMeasureAllowed(boolean)
void setMultipleSQLStatementsPerMeasureAllowed(boolean value)
Multiple SQL Statements Per Measure Allowed
' attribute.
Allows the use of multiple SQL statements for each measure if value
is true
.
value
- the new value of the 'Multiple SQL Statements Per Measure Allowed' attribute.isMultipleSQLStatementsPerMeasureAllowed()
boolean isCostEstimateWarningEnabled()
"false"
.
Tells if there is a warning message when cost estimate is exceeded.
setCostEstimateWarningEnabled(boolean)
void setCostEstimateWarningEnabled(boolean value)
Cost Estimate Warning Enabled
' attribute.
If value
is true
, there is a warning message when cost estimate is exceeded.
value
- the new value of the 'Cost Estimate Warning Enabled' attribute.isCostEstimateWarningEnabled()
int getCostEstimateExcessTime()
"300"
.
This is the number of minutes exceeded by the cost estimate, from which a warning message is displayed. Is only related to Teradata connections.
setCostEstimateExcessTime(int)
void setCostEstimateExcessTime(int value)
Cost Estimate Excess Time
' attribute.
This is the number of minutes exceeded by the cost estimate, from which a warning message is displayed. Is only related to Teradata connections.
value
- the new value of the 'Cost Estimate Excess Time' attribute.getCostEstimateExcessTime()
java.util.List<NavigationPath> getCustomNavigationPaths()
NavigationPath
.
This is the list of navigation paths the end-user has created to drill business objects in reporting tools.
java.util.List<UniverseReference> getCoreUniverseReferences()
UniverseReference
.
This list presents the core universes referenced by the business layer.
This list is empty if no core universe is linked to the business layer.
java.lang.String getComments()
This string represents the comments attached to the business layer.
setComments(String)
void setComments(java.lang.String value)
Comments
' attribute.
This string represents the comments attached to the business layer.
value
- the new value of the 'Comments' attribute.getComments()
NavigationPathMode getNavigationPathMode()
"Default"
.
This represents the navigation path mode used (default or custom.)
NavigationPathMode
,
setNavigationPathMode(NavigationPathMode)
void setNavigationPathMode(NavigationPathMode value)
Navigation Path Mode
' attribute.
This represents the navigation path mode used (default or custom.)
value
- the new value of the 'Navigation Path Mode' attribute.NavigationPathMode
,
getNavigationPathMode()
BlItem getBlItem(java.lang.String path, boolean failed)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |