Package de.businesscode.bcdui.wrs.load
Class WrqBindingSetFromDerivedTable
- java.lang.Object
-
- de.businesscode.bcdui.wrs.load.WrqBindingSetVirtual
-
- de.businesscode.bcdui.wrs.load.WrqBindingSetFromDerivedTable
-
- All Implemented Interfaces:
BindingSet
,WrqBindingSet
,java.io.Serializable
,java.lang.Cloneable
public class WrqBindingSetFromDerivedTable extends WrqBindingSetVirtual
Represents a virtual BindingSet resulting from a sub-select during the execution of a Wrq- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface de.businesscode.bcdui.binding.BindingSet
BindingSet.SECURITY_OPS
-
-
Field Summary
Fields Modifier and Type Field Description protected WrqInfo
wrqInfo
-
Fields inherited from class de.businesscode.bcdui.wrs.load.WrqBindingSetVirtual
bindingItems, currentSelect, name, resolvedBindingSets, sqlAlias, sqlStatementWithParams, tableName, wrqModifiers
-
Fields inherited from interface de.businesscode.bcdui.binding.BindingSet
DEFAULT_DATABASE_SOURCENAME
-
-
Constructor Summary
Constructors Constructor Description WrqBindingSetFromDerivedTable(SqlFromSubSelect currentSelect)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getJdbcResourceName()
Gets the database name the table of the BindingSet is located in.SQLStatementWithParams
getSubjectFilterExpression(WrqInfo wrqInfo)
Pure virtual BindingSets do not have SubjectFilters-
Methods inherited from class de.businesscode.bcdui.wrs.load.WrqBindingSetVirtual
addRelation, assurePermissionDefined, assurePermitted, get, get, getBindingItemFromRelation, getBindingItemNames, getKeyBindingItems, getName, getRelations, getResolvedBindingSets, getSecurity, getSqlAlias, getSQLStatementWithParams, getSubjectFilters, getTableReference, getWriteProcessing, getWrqModifiers, hasCustomItem, hasItem, hasKeyBindingItems, hasSubjectFilters, isAllowSelectAllColumns, isBackendCanBypassSubjectFilter
-
-
-
-
Field Detail
-
wrqInfo
protected final WrqInfo wrqInfo
-
-
Constructor Detail
-
WrqBindingSetFromDerivedTable
public WrqBindingSetFromDerivedTable(SqlFromSubSelect currentSelect) throws java.lang.Exception
Constructor- Parameters:
currentSelect
-- Throws:
java.lang.Exception
-
-
Method Detail
-
getSubjectFilterExpression
public SQLStatementWithParams getSubjectFilterExpression(WrqInfo wrqInfo) throws BindingException
Pure virtual BindingSets do not have SubjectFilters- Specified by:
getSubjectFilterExpression
in interfaceWrqBindingSet
- Specified by:
getSubjectFilterExpression
in classWrqBindingSetVirtual
- Returns:
- Throws:
BindingException
-
getJdbcResourceName
public java.lang.String getJdbcResourceName()
Description copied from interface:BindingSet
Gets the database name the table of the BindingSet is located in.- Specified by:
getJdbcResourceName
in interfaceBindingSet
- Specified by:
getJdbcResourceName
in classWrqBindingSetVirtual
- Returns:
- All tables need to be on the same database, so here we return one from a random resolved BindingSet
-
-