-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
50 changed files
with
2,955 additions
and
110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
98 changes: 98 additions & 0 deletions
98
.../daogen_original/org/fugerit/java/daogen/sample/def/facade/EntityAddressFacadeHelper.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
package org.fugerit.java.daogen.sample.def.facade; | ||
|
||
import org.fugerit.java.core.db.dao.DAOException; | ||
import org.fugerit.java.core.db.daogen.BasicDaoResult; | ||
import org.fugerit.java.core.db.daogen.DAOContext; | ||
import org.fugerit.java.daogen.sample.def.model.ModelAddress; | ||
|
||
// custom import start ( code above here will be overwritten ) | ||
// custom import end ( code below here will be overwritten ) | ||
|
||
/** | ||
* EntityAddressFacadeHelper, version : 1.0.0 | ||
* | ||
* author: fugerit | ||
* | ||
* warning!: auto generated object, insert custom code only between comments : | ||
* // custom code start ( code above here will be overwritten ) | ||
* // custom code end ( code below here will be overwritten ) | ||
*/ | ||
public interface EntityAddressFacadeHelper { | ||
|
||
// custom code start ( code above here will be overwritten ) | ||
// custom code end ( code below here will be overwritten ) | ||
|
||
/* | ||
* NOTE: It is advised to use a finder for incapsulating search params, except searches for primary key. | ||
*/ | ||
|
||
/** | ||
* Method to load all the items for entity : ModelAddress | ||
* | ||
* @param context DAOContext | ||
* | ||
* @return search result | ||
* @throws DAOException in case of errors | ||
*/ | ||
BasicDaoResult<ModelAddress> loadAll( DAOContext context ) throws DAOException; | ||
|
||
/** | ||
* Method to load all the items for entity : ModelAddress | ||
* | ||
* @param context DAOContext | ||
* @param finder the finder incapsulating search params | ||
* | ||
* @return search result | ||
* @throws DAOException in caso di errori | ||
*/ | ||
BasicDaoResult<ModelAddress> loadAllByFinder( DAOContext context, AddressFinder finder ) throws DAOException; | ||
|
||
/** | ||
* Load method by primary key for entity : ModelAddress | ||
* | ||
* @param context DAO Context | ||
* @param id Address system id | ||
* | ||
* @return The found object or <code>null</code> | ||
* @throws DAOException in case of errors | ||
*/ | ||
ModelAddress loadById( DAOContext context, java.math.BigDecimal id ) throws DAOException; | ||
|
||
/** | ||
* Method to create an new entity of type : ModelAddress | ||
* | ||
* A new ID should be assigned by this method. | ||
* | ||
* @param context DAO context | ||
* @param model Entity to create | ||
* | ||
* @return The created entity | ||
* @throws DAOException In case of any error. | ||
*/ | ||
BasicDaoResult<ModelAddress> create( DAOContext context, ModelAddress model ) throws DAOException; | ||
|
||
/** | ||
* Delete method by primary key for entity : ModelAddress | ||
* | ||
* @param context DAO Context | ||
* @param id Address system id | ||
* | ||
* @return Delete result (resultCode=0, delete ok) | ||
* @throws DAOException in case of errors | ||
*/ | ||
BasicDaoResult<ModelAddress> deleteById( DAOContext context, java.math.BigDecimal id ) throws DAOException; | ||
|
||
/** | ||
* Delete method by primary key for entity : ModelAddress | ||
* | ||
* @param context DAO Context | ||
* @param model entity to update | ||
* | ||
* @return Update result (resultCode=0, update ok) | ||
* @throws DAOException in case of errors | ||
*/ | ||
BasicDaoResult<ModelAddress> updateById( DAOContext context, ModelAddress model ) throws DAOException; | ||
|
||
} |
50 changes: 50 additions & 0 deletions
50
.../daogen_original/org/fugerit/java/daogen/sample/def/facade/EntityLogDataFacadeHelper.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
package org.fugerit.java.daogen.sample.def.facade; | ||
|
||
import org.fugerit.java.core.db.dao.DAOException; | ||
import org.fugerit.java.core.db.daogen.BasicDaoResult; | ||
import org.fugerit.java.core.db.daogen.DAOContext; | ||
import org.fugerit.java.daogen.sample.def.model.ModelLogData; | ||
|
||
// custom import start ( code above here will be overwritten ) | ||
// custom import end ( code below here will be overwritten ) | ||
|
||
/** | ||
* EntityLogDataFacadeHelper, version : 1.0.0 | ||
* | ||
* author: fugerit | ||
* | ||
* warning!: auto generated object, insert custom code only between comments : | ||
* // custom code start ( code above here will be overwritten ) | ||
* // custom code end ( code below here will be overwritten ) | ||
*/ | ||
public interface EntityLogDataFacadeHelper { | ||
|
||
// custom code start ( code above here will be overwritten ) | ||
// custom code end ( code below here will be overwritten ) | ||
|
||
/* | ||
* NOTE: It is advised to use a finder for incapsulating search params, except searches for primary key. | ||
*/ | ||
|
||
/** | ||
* Method to load all the items for entity : ModelLogData | ||
* | ||
* @param context DAOContext | ||
* | ||
* @return search result | ||
* @throws DAOException in case of errors | ||
*/ | ||
BasicDaoResult<ModelLogData> loadAll( DAOContext context ) throws DAOException; | ||
|
||
/** | ||
* Method to load all the items for entity : ModelLogData | ||
* | ||
* @param context DAOContext | ||
* @param finder the finder incapsulating search params | ||
* | ||
* @return search result | ||
* @throws DAOException in caso di errori | ||
*/ | ||
BasicDaoResult<ModelLogData> loadAllByFinder( DAOContext context, LogDataFinder finder ) throws DAOException; | ||
|
||
} |
Oops, something went wrong.