ThinkUI SQL Client 1.1.3 API

thinkui.sqlclient.dao
Class DataAttrConsDAO

java.lang.Object
  extended bythinkui.db.dao.AbstractDataAccessObject
      extended bythinkui.sqlclient.dao.AbstractDAO
          extended bythinkui.sqlclient.dao.DataAttrConsDAO
All Implemented Interfaces:
thinkui.db.dao.DataAccessObject

public class DataAttrConsDAO
extends AbstractDAO

Implements the DataAttrConsDAO Data Access Object.


Constructor Summary
DataAttrConsDAO(thinkui.db.dao.DataObjectManager dataObjectManager)
          DataAttrConsDAO constructor.
 
Method Summary
 AttributeType createDataAttrConsEnumType()
           
 void deleteDataAttrCons(java.lang.Object dataAttrConsId)
          Delete the specified DataAttrCons object from the database.
 int deleteDataAttrConss(java.util.Set dataAttrConsIds)
          Delete the specified DataAttrCons objects from the database.
 SearchResultsData findDataAttrCons(DataAttrConsSearchData searchData)
          Find all DataAttrCons records matching the specified criteria.
 DataAttrCons getDataAttrCons(java.lang.Object dataAttrConsId)
          Get the DataAttrCons object for the specified object id.
 void insertDataAttrCons(DataAttrCons dataAttrCons)
          Insert the specified DataAttrCons object to the database.
 DataAttrCons saveDataAttrCons(DataAttrCons dataAttrCons)
          Save the specified DataAttrCons object to the database.
 int updateDataAttrCons(DataAttrCons dataAttrCons, DataAttrConsSearchData searchData)
          Update all DataAttrCons objects matching the specified search criteria.
 int updateDataAttrConss(java.util.Set dataAttrConsIds, DataAttrCons dataAttrCons)
          Updated the specified DataAttrCons objects with the values in the specified dataAttrCons object.
 
Methods inherited from class thinkui.db.dao.AbstractDataAccessObject
close, getDataObjectManager, setDataObjectManager
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataAttrConsDAO

public DataAttrConsDAO(thinkui.db.dao.DataObjectManager dataObjectManager)
DataAttrConsDAO constructor.

Method Detail

createDataAttrConsEnumType

public final AttributeType createDataAttrConsEnumType()
                                               throws java.lang.Exception
Returns:
enum attribute type of all DataAttrCons objects.
Throws:
java.lang.Exception

deleteDataAttrCons

public final void deleteDataAttrCons(java.lang.Object dataAttrConsId)
                              throws java.lang.Exception
Delete the specified DataAttrCons object from the database.

Throws:
java.lang.Exception

deleteDataAttrConss

public final int deleteDataAttrConss(java.util.Set dataAttrConsIds)
                              throws java.lang.Exception
Delete the specified DataAttrCons objects from the database.

Throws:
java.lang.Exception

findDataAttrCons

public final SearchResultsData findDataAttrCons(DataAttrConsSearchData searchData)
                                         throws java.lang.Exception
Find all DataAttrCons records matching the specified criteria.

Returns:
the results matching the specified criteria.
Throws:
java.lang.Exception

getDataAttrCons

public final DataAttrCons getDataAttrCons(java.lang.Object dataAttrConsId)
                                   throws java.lang.Exception
Get the DataAttrCons object for the specified object id. If the object id is null, simply create and return a new empty Project object.

Returns:
the DataAttrCons object for the specified object id or a new empty DataAttrCons object if the id is null.
Throws:
java.lang.Exception

insertDataAttrCons

public final void insertDataAttrCons(DataAttrCons dataAttrCons)
                              throws java.lang.Exception
Insert the specified DataAttrCons object to the database.

Throws:
java.lang.Exception

saveDataAttrCons

public final DataAttrCons saveDataAttrCons(DataAttrCons dataAttrCons)
                                    throws java.lang.Exception
Save the specified DataAttrCons object to the database.

Returns:
the DataAttrCons object saved.
Throws:
java.lang.Exception

updateDataAttrCons

public final int updateDataAttrCons(DataAttrCons dataAttrCons,
                                    DataAttrConsSearchData searchData)
                             throws java.lang.Exception
Update all DataAttrCons objects matching the specified search criteria. The number of records that was actually updated is returned.

Returns:
the number of records that was updated.
Throws:
java.lang.Exception

updateDataAttrConss

public final int updateDataAttrConss(java.util.Set dataAttrConsIds,
                                     DataAttrCons dataAttrCons)
                              throws java.lang.Exception
Updated the specified DataAttrCons objects with the values in the specified dataAttrCons object.

Throws:
java.lang.Exception

ThinkUI SQL Client 1.1.3 API

Copyright © 2007-2009. ThinkUI Software Inc. All rights reserved.