Package system.web.ui.webcontrols
Class ObjectDataSource
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.web.ui.Control
-
- system.web.ui.DataSourceControl
-
- system.web.ui.webcontrols.ObjectDataSource
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,IJCOBridgeReflected
,IParserAccessor
public class ObjectDataSource extends DataSourceControl
The base .NET class managing System.Web.UI.WebControls.ObjectDataSource, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Web.UI.WebControls.ObjectDataSource
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
assemblyFullName
Fully assembly qualified name: System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.String
assemblyShortName
Assembly name: System.Webstatic java.lang.String
className
Qualified class name: System.Web.UI.WebControls.ObjectDataSourcestatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description ObjectDataSource()
ObjectDataSource(java.lang.Object instance)
Internal constructor.ObjectDataSource(java.lang.String typeName, java.lang.String selectMethod)
-
Method Summary
-
Methods inherited from class system.web.ui.DataSourceControl
ApplyStyleSheetSkin, FindControl, Focus, HasControls, RenderControl
-
Methods inherited from class system.web.ui.Control
addDataBinding, addDisposed, addInit, addLoad, addPreRender, addUnload, close, DataBind, Dispose, getAppRelativeTemplateSourceDirectory, getBindingContainer, getClientID, getClientIDMode, getControls, getDataItemContainer, getDataKeysContainer, getEnableTheming, getEnableViewState, getID, getNamingContainer, getPage, getParent, getRenderingCompatibility, GetRouteUrl, GetRouteUrl, GetRouteUrl, GetRouteUrl, getSite, getSkinID, getTemplateControl, getTemplateSourceDirectory, getUniqueID, GetUniqueIDRelativeTo, getValidateRequestMode, getViewStateMode, getVisible, removeDataBinding, removeDisposed, removeInit, removeLoad, removePreRender, removeUnload, ResolveClientUrl, ResolveUrl, setAppRelativeTemplateSourceDirectory, setClientIDMode, setEnableTheming, setEnableViewState, setID, setPage, setRenderingCompatibility, SetRenderMethodDelegate, setSite, setSkinID, setTemplateControl, SetTraceData, SetTraceData, setValidateRequestMode, setViewStateMode, setVisible
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toString, ToString
-
Methods inherited from interface system.web.ui.IParserAccessor
AddParsedSubObject
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Web- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Web.UI.WebControls.ObjectDataSource- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ObjectDataSource
public ObjectDataSource(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
ObjectDataSource
public ObjectDataSource() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
ObjectDataSource
public ObjectDataSource(java.lang.String typeName, java.lang.String selectMethod) throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
MulticastNotSupportedException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOAssemblyName
in interfaceIParserAccessor
- Overrides:
getJCOAssemblyName
in classDataSourceControl
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOClassName
in interfaceIParserAccessor
- Overrides:
getJCOClassName
in classDataSourceControl
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOObjectName
in interfaceIParserAccessor
- Overrides:
getJCOObjectName
in classDataSourceControl
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Specified by:
getJCOInstance
in interfaceIParserAccessor
- Overrides:
getJCOInstance
in classDataSourceControl
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classDataSourceControl
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Specified by:
getJCOType
in interfaceIParserAccessor
- Overrides:
getJCOType
in classDataSourceControl
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static ObjectDataSource cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoObjectDataSource
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
ObjectDataSource
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
Delete
public int Delete() throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException, NotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
MulticastNotSupportedException
NotSupportedException
-
Insert
public int Insert() throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException, NotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
MulticastNotSupportedException
NotSupportedException
-
Update
public int Update() throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException, NotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
MulticastNotSupportedException
NotSupportedException
-
Select
public IEnumerable Select() throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
MulticastNotSupportedException
-
getConvertNullToDBNull
public boolean getConvertNullToDBNull() throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
MulticastNotSupportedException
-
setConvertNullToDBNull
public void setConvertNullToDBNull(boolean ConvertNullToDBNull) throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
MulticastNotSupportedException
-
getEnableCaching
public boolean getEnableCaching() throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException
-
setEnableCaching
public void setEnableCaching(boolean EnableCaching) throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException
-
getEnablePaging
public boolean getEnablePaging() throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
MulticastNotSupportedException
-
setEnablePaging
public void setEnablePaging(boolean EnablePaging) throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
MulticastNotSupportedException
-
getCacheDuration
public int getCacheDuration() throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException
-
setCacheDuration
public void setCacheDuration(int CacheDuration) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
IndexOutOfRangeException
-
getCacheKeyDependency
public java.lang.String getCacheKeyDependency() throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException
-
setCacheKeyDependency
public void setCacheKeyDependency(java.lang.String CacheKeyDependency) throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException
-
getDataObjectTypeName
public java.lang.String getDataObjectTypeName() throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
MulticastNotSupportedException
-
setDataObjectTypeName
public void setDataObjectTypeName(java.lang.String DataObjectTypeName) throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
MulticastNotSupportedException
-
getDeleteMethod
public java.lang.String getDeleteMethod() throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
MulticastNotSupportedException
-
setDeleteMethod
public void setDeleteMethod(java.lang.String DeleteMethod) throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
MulticastNotSupportedException
-
getFilterExpression
public java.lang.String getFilterExpression() throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
MulticastNotSupportedException
-
setFilterExpression
public void setFilterExpression(java.lang.String FilterExpression) throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
MulticastNotSupportedException
-
getInsertMethod
public java.lang.String getInsertMethod() throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
MulticastNotSupportedException
-
setInsertMethod
public void setInsertMethod(java.lang.String InsertMethod) throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
MulticastNotSupportedException
-
getMaximumRowsParameterName
public java.lang.String getMaximumRowsParameterName() throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
MulticastNotSupportedException
-
setMaximumRowsParameterName
public void setMaximumRowsParameterName(java.lang.String MaximumRowsParameterName) throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
MulticastNotSupportedException
-
getOldValuesParameterFormatString
public java.lang.String getOldValuesParameterFormatString() throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
MulticastNotSupportedException
-
setOldValuesParameterFormatString
public void setOldValuesParameterFormatString(java.lang.String OldValuesParameterFormatString) throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
MulticastNotSupportedException
-
getSelectCountMethod
public java.lang.String getSelectCountMethod() throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
MulticastNotSupportedException
-
setSelectCountMethod
public void setSelectCountMethod(java.lang.String SelectCountMethod) throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
MulticastNotSupportedException
-
getSelectMethod
public java.lang.String getSelectMethod() throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
MulticastNotSupportedException
-
setSelectMethod
public void setSelectMethod(java.lang.String SelectMethod) throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
MulticastNotSupportedException
-
getSortParameterName
public java.lang.String getSortParameterName() throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
MulticastNotSupportedException
-
setSortParameterName
public void setSortParameterName(java.lang.String SortParameterName) throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
MulticastNotSupportedException
-
getSqlCacheDependency
public java.lang.String getSqlCacheDependency() throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException
-
setSqlCacheDependency
public void setSqlCacheDependency(java.lang.String SqlCacheDependency) throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException
-
getStartRowIndexParameterName
public java.lang.String getStartRowIndexParameterName() throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
MulticastNotSupportedException
-
setStartRowIndexParameterName
public void setStartRowIndexParameterName(java.lang.String StartRowIndexParameterName) throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
MulticastNotSupportedException
-
getTypeName
public java.lang.String getTypeName() throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
MulticastNotSupportedException
-
setTypeName
public void setTypeName(java.lang.String TypeName) throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
MulticastNotSupportedException
-
getUpdateMethod
public java.lang.String getUpdateMethod() throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
MulticastNotSupportedException
-
setUpdateMethod
public void setUpdateMethod(java.lang.String UpdateMethod) throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
MulticastNotSupportedException
-
getConflictDetection
public ConflictOptions getConflictDetection() throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
MulticastNotSupportedException
-
setConflictDetection
public void setConflictDetection(ConflictOptions ConflictDetection) throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentNullException
MulticastNotSupportedException
ArgumentOutOfRangeException
-
getCacheExpirationPolicy
public DataSourceCacheExpiry getCacheExpirationPolicy() throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException
-
setCacheExpirationPolicy
public void setCacheExpirationPolicy(DataSourceCacheExpiry CacheExpirationPolicy) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
IndexOutOfRangeException
-
getDeleteParameters
public ParameterCollection getDeleteParameters() throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
MulticastNotSupportedException
-
getFilterParameters
public ParameterCollection getFilterParameters() throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
MulticastNotSupportedException
-
getInsertParameters
public ParameterCollection getInsertParameters() throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
MulticastNotSupportedException
-
getSelectParameters
public ParameterCollection getSelectParameters() throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
MulticastNotSupportedException
-
getUpdateParameters
public ParameterCollection getUpdateParameters() throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
MulticastNotSupportedException
-
getParsingCulture
public ParsingCulture getParsingCulture() throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
MulticastNotSupportedException
-
setParsingCulture
public void setParsingCulture(ParsingCulture ParsingCulture) throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
MulticastNotSupportedException
-
addObjectDisposing
public void addObjectDisposing(ObjectDataSourceDisposingEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeObjectDisposing
public void removeObjectDisposing(ObjectDataSourceDisposingEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addFiltering
public void addFiltering(ObjectDataSourceFilteringEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeFiltering
public void removeFiltering(ObjectDataSourceFilteringEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addDeleting
public void addDeleting(ObjectDataSourceMethodEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeDeleting
public void removeDeleting(ObjectDataSourceMethodEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addInserting
public void addInserting(ObjectDataSourceMethodEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeInserting
public void removeInserting(ObjectDataSourceMethodEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addUpdating
public void addUpdating(ObjectDataSourceMethodEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeUpdating
public void removeUpdating(ObjectDataSourceMethodEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addObjectCreated
public void addObjectCreated(ObjectDataSourceObjectEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeObjectCreated
public void removeObjectCreated(ObjectDataSourceObjectEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addObjectCreating
public void addObjectCreating(ObjectDataSourceObjectEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeObjectCreating
public void removeObjectCreating(ObjectDataSourceObjectEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addSelecting
public void addSelecting(ObjectDataSourceSelectingEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeSelecting
public void removeSelecting(ObjectDataSourceSelectingEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addDeleted
public void addDeleted(ObjectDataSourceStatusEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeDeleted
public void removeDeleted(ObjectDataSourceStatusEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addInserted
public void addInserted(ObjectDataSourceStatusEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeInserted
public void removeInserted(ObjectDataSourceStatusEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addSelected
public void addSelected(ObjectDataSourceStatusEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeSelected
public void removeSelected(ObjectDataSourceStatusEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addUpdated
public void addUpdated(ObjectDataSourceStatusEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeUpdated
public void removeUpdated(ObjectDataSourceStatusEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-