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.StringassemblyFullNameFully assembly qualified name: System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.StringassemblyShortNameAssembly name: System.Webstatic java.lang.StringclassNameQualified class name: System.Web.UI.WebControls.ObjectDataSourcestatic JCTypeclassTypeThe 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.ThrowableInternal 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.ThrowableArgumentNullExceptionMulticastNotSupportedException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Specified by:
getJCOAssemblyNamein interfaceIParserAccessor- Overrides:
getJCOAssemblyNamein classDataSourceControl- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Specified by:
getJCOClassNamein interfaceIParserAccessor- Overrides:
getJCOClassNamein classDataSourceControl- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Specified by:
getJCOObjectNamein interfaceIParserAccessor- Overrides:
getJCOObjectNamein classDataSourceControl- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Specified by:
getJCOInstancein interfaceIParserAccessor- Overrides:
getJCOInstancein classDataSourceControl- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classDataSourceControl
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Specified by:
getJCOTypein interfaceIParserAccessor- Overrides:
getJCOTypein classDataSourceControl- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static ObjectDataSource cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoObjectDataSource, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
ObjectDataSourceinstance- 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.ThrowableArgumentNullExceptionMulticastNotSupportedExceptionNotSupportedException
-
Insert
public int Insert() throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException, NotSupportedException- Throws:
java.lang.ThrowableArgumentNullExceptionMulticastNotSupportedExceptionNotSupportedException
-
Update
public int Update() throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException, NotSupportedException- Throws:
java.lang.ThrowableArgumentNullExceptionMulticastNotSupportedExceptionNotSupportedException
-
Select
public IEnumerable Select() throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException
- Throws:
java.lang.ThrowableArgumentNullExceptionMulticastNotSupportedException
-
getConvertNullToDBNull
public boolean getConvertNullToDBNull() throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException- Throws:
java.lang.ThrowableArgumentNullExceptionMulticastNotSupportedException
-
setConvertNullToDBNull
public void setConvertNullToDBNull(boolean ConvertNullToDBNull) throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException- Throws:
java.lang.ThrowableArgumentNullExceptionMulticastNotSupportedException
-
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.ThrowableArgumentNullExceptionMulticastNotSupportedException
-
setEnablePaging
public void setEnablePaging(boolean EnablePaging) throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException- Throws:
java.lang.ThrowableArgumentNullExceptionMulticastNotSupportedException
-
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.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeException
-
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.ThrowableArgumentNullExceptionMulticastNotSupportedException
-
setDataObjectTypeName
public void setDataObjectTypeName(java.lang.String DataObjectTypeName) throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException- Throws:
java.lang.ThrowableArgumentNullExceptionMulticastNotSupportedException
-
getDeleteMethod
public java.lang.String getDeleteMethod() throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException- Throws:
java.lang.ThrowableArgumentNullExceptionMulticastNotSupportedException
-
setDeleteMethod
public void setDeleteMethod(java.lang.String DeleteMethod) throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException- Throws:
java.lang.ThrowableArgumentNullExceptionMulticastNotSupportedException
-
getFilterExpression
public java.lang.String getFilterExpression() throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException- Throws:
java.lang.ThrowableArgumentNullExceptionMulticastNotSupportedException
-
setFilterExpression
public void setFilterExpression(java.lang.String FilterExpression) throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException- Throws:
java.lang.ThrowableArgumentNullExceptionMulticastNotSupportedException
-
getInsertMethod
public java.lang.String getInsertMethod() throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException- Throws:
java.lang.ThrowableArgumentNullExceptionMulticastNotSupportedException
-
setInsertMethod
public void setInsertMethod(java.lang.String InsertMethod) throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException- Throws:
java.lang.ThrowableArgumentNullExceptionMulticastNotSupportedException
-
getMaximumRowsParameterName
public java.lang.String getMaximumRowsParameterName() throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException- Throws:
java.lang.ThrowableArgumentNullExceptionMulticastNotSupportedException
-
setMaximumRowsParameterName
public void setMaximumRowsParameterName(java.lang.String MaximumRowsParameterName) throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException- Throws:
java.lang.ThrowableArgumentNullExceptionMulticastNotSupportedException
-
getOldValuesParameterFormatString
public java.lang.String getOldValuesParameterFormatString() throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException- Throws:
java.lang.ThrowableArgumentNullExceptionMulticastNotSupportedException
-
setOldValuesParameterFormatString
public void setOldValuesParameterFormatString(java.lang.String OldValuesParameterFormatString) throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException- Throws:
java.lang.ThrowableArgumentNullExceptionMulticastNotSupportedException
-
getSelectCountMethod
public java.lang.String getSelectCountMethod() throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException- Throws:
java.lang.ThrowableArgumentNullExceptionMulticastNotSupportedException
-
setSelectCountMethod
public void setSelectCountMethod(java.lang.String SelectCountMethod) throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException- Throws:
java.lang.ThrowableArgumentNullExceptionMulticastNotSupportedException
-
getSelectMethod
public java.lang.String getSelectMethod() throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException- Throws:
java.lang.ThrowableArgumentNullExceptionMulticastNotSupportedException
-
setSelectMethod
public void setSelectMethod(java.lang.String SelectMethod) throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException- Throws:
java.lang.ThrowableArgumentNullExceptionMulticastNotSupportedException
-
getSortParameterName
public java.lang.String getSortParameterName() throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException- Throws:
java.lang.ThrowableArgumentNullExceptionMulticastNotSupportedException
-
setSortParameterName
public void setSortParameterName(java.lang.String SortParameterName) throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException- Throws:
java.lang.ThrowableArgumentNullExceptionMulticastNotSupportedException
-
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.ThrowableArgumentNullExceptionMulticastNotSupportedException
-
setStartRowIndexParameterName
public void setStartRowIndexParameterName(java.lang.String StartRowIndexParameterName) throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException- Throws:
java.lang.ThrowableArgumentNullExceptionMulticastNotSupportedException
-
getTypeName
public java.lang.String getTypeName() throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException- Throws:
java.lang.ThrowableArgumentNullExceptionMulticastNotSupportedException
-
setTypeName
public void setTypeName(java.lang.String TypeName) throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException- Throws:
java.lang.ThrowableArgumentNullExceptionMulticastNotSupportedException
-
getUpdateMethod
public java.lang.String getUpdateMethod() throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException- Throws:
java.lang.ThrowableArgumentNullExceptionMulticastNotSupportedException
-
setUpdateMethod
public void setUpdateMethod(java.lang.String UpdateMethod) throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException- Throws:
java.lang.ThrowableArgumentNullExceptionMulticastNotSupportedException
-
getConflictDetection
public ConflictOptions getConflictDetection() throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException
- Throws:
java.lang.ThrowableArgumentNullExceptionMulticastNotSupportedException
-
setConflictDetection
public void setConflictDetection(ConflictOptions ConflictDetection) throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException, ArgumentOutOfRangeException
- Throws:
java.lang.ThrowableArgumentNullExceptionMulticastNotSupportedExceptionArgumentOutOfRangeException
-
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.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeException
-
getDeleteParameters
public ParameterCollection getDeleteParameters() throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException
- Throws:
java.lang.ThrowableArgumentNullExceptionMulticastNotSupportedException
-
getFilterParameters
public ParameterCollection getFilterParameters() throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException
- Throws:
java.lang.ThrowableArgumentNullExceptionMulticastNotSupportedException
-
getInsertParameters
public ParameterCollection getInsertParameters() throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException
- Throws:
java.lang.ThrowableArgumentNullExceptionMulticastNotSupportedException
-
getSelectParameters
public ParameterCollection getSelectParameters() throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException
- Throws:
java.lang.ThrowableArgumentNullExceptionMulticastNotSupportedException
-
getUpdateParameters
public ParameterCollection getUpdateParameters() throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException
- Throws:
java.lang.ThrowableArgumentNullExceptionMulticastNotSupportedException
-
getParsingCulture
public ParsingCulture getParsingCulture() throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException
- Throws:
java.lang.ThrowableArgumentNullExceptionMulticastNotSupportedException
-
setParsingCulture
public void setParsingCulture(ParsingCulture ParsingCulture) throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException
- Throws:
java.lang.ThrowableArgumentNullExceptionMulticastNotSupportedException
-
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
-
-