Package com.soffid.iam.model
Interface UserPrinterEntityDao
-
- All Known Implementing Classes:
UserPrinterEntityDaoBase,UserPrinterEntityDaoImpl
public interface UserPrinterEntityDaoDAO for Entity UserPrinterEntity- See Also:
es.caib.seycon.ng.model.UsuariImpressoraEntity
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcreate(UserPrinterEntity entity)Adds an instance ofUserPrinterEntityto the persistent store.voidcreate(Collection<? extends UserPrinterEntity> entities)Creates a collection ofUserPrinterEntityand adds it to the persistent store.List<UserPrinterEntity>findByPrinter(CriteriaSearchConfiguration criteria, String printer)CriteriaSearchConfiguration finderList<UserPrinterEntity>findByPrinter(String printer)Operation findByPrinterList<UserPrinterEntity>findByUser(CriteriaSearchConfiguration criteria, String userName)CriteriaSearchConfiguration finderList<UserPrinterEntity>findByUser(String userName)Operation findByUserUserPrinterEntityfindUserByUserAndPrinter(CriteriaSearchConfiguration criteria, String userName, String printer)CriteriaSearchConfiguration finderUserPrinterEntityfindUserByUserAndPrinter(String userName, String printer)Operation findUserByUserAndPrinterUserPrinterEntityload(Long id)Loads an instance ofUserPrinterEntityfrom the persistent store.List<UserPrinterEntity>loadAll()Loads all instances ofUserPrinterEntityfrom the persistent store.UserPrinterEntitynewUserPrinterEntity()Creates an instance ofUserPrinterEntity.UserPrinterEntityprinterUserToEntity(com.soffid.iam.api.PrinterUser instance)Transforms fromPrinterUserobjectvoidprinterUserToEntity(com.soffid.iam.api.PrinterUser source, UserPrinterEntity target, boolean copyIfNull)Copy data fromPrinterUserobjectList<UserPrinterEntity>printerUserToEntityList(Collection<com.soffid.iam.api.PrinterUser> instances)Transforms fromPrinterUserlistList<UserPrinterEntity>query(String query, Parameter[] parameters)Query ofUserPrinterEntityfrom the persistent store.List<UserPrinterEntity>query(String query, Parameter[] parameters, CriteriaSearchConfiguration criteria)Query ofUserPrinterEntityfrom the persistent store.voidremove(UserPrinterEntity entity)Removes an instance ofUserPrinterEntityfrom the persistent store.voidremove(Long id)Removes an instance ofUserPrinterEntityfrom the persistent store.voidremove(Collection<? extends UserPrinterEntity> entities)Removes a collection ofUserPrinterEntityfrom the persistent store.com.soffid.iam.api.PrinterUsertoPrinterUser(UserPrinterEntity entity)Transforms toPrinterUserobjectvoidtoPrinterUser(UserPrinterEntity source, com.soffid.iam.api.PrinterUser target)Copy data toPrinterUserobjectList<com.soffid.iam.api.PrinterUser>toPrinterUserList(Collection<UserPrinterEntity> entities)Transforms toPrinterUserlistes.caib.seycon.ng.comu.UsuariImpressoratoUsuariImpressora(UserPrinterEntity entity)Transforms toUsuariImpressoraobjectvoidtoUsuariImpressora(UserPrinterEntity source, es.caib.seycon.ng.comu.UsuariImpressora target)Copy data toUsuariImpressoraobjectList<es.caib.seycon.ng.comu.UsuariImpressora>toUsuariImpressoraList(Collection<UserPrinterEntity> entities)Transforms toUsuariImpressoralistvoidupdate(UserPrinterEntity entity)Updates an instance ofUserPrinterEntityat the persistent store.voidupdate(Collection<? extends UserPrinterEntity> entities)Updates a collection ofUserPrinterEntityin the persistent store.UserPrinterEntityusuariImpressoraToEntity(es.caib.seycon.ng.comu.UsuariImpressora instance)Transforms fromUsuariImpressoraobjectvoidusuariImpressoraToEntity(es.caib.seycon.ng.comu.UsuariImpressora source, UserPrinterEntity target, boolean copyIfNull)Copy data fromUsuariImpressoraobjectList<UserPrinterEntity>usuariImpressoraToEntityList(Collection<es.caib.seycon.ng.comu.UsuariImpressora> instances)Transforms fromUsuariImpressoralist
-
-
-
Method Detail
-
findUserByUserAndPrinter
UserPrinterEntity findUserByUserAndPrinter(String userName, String printer)
Operation findUserByUserAndPrinter- Parameters:
userName-printer-- Returns:
-
findUserByUserAndPrinter
UserPrinterEntity findUserByUserAndPrinter(CriteriaSearchConfiguration criteria, String userName, String printer)
CriteriaSearchConfiguration finder
-
findByPrinter
List<UserPrinterEntity> findByPrinter(String printer)
Operation findByPrinter- Parameters:
printer-- Returns:
-
findByPrinter
List<UserPrinterEntity> findByPrinter(CriteriaSearchConfiguration criteria, String printer)
CriteriaSearchConfiguration finder
-
findByUser
List<UserPrinterEntity> findByUser(String userName)
Operation findByUser- Parameters:
userName-- Returns:
-
findByUser
List<UserPrinterEntity> findByUser(CriteriaSearchConfiguration criteria, String userName)
CriteriaSearchConfiguration finder
-
toPrinterUser
void toPrinterUser(UserPrinterEntity source, com.soffid.iam.api.PrinterUser target)
Copy data toPrinterUserobject
-
toPrinterUser
com.soffid.iam.api.PrinterUser toPrinterUser(UserPrinterEntity entity)
Transforms toPrinterUserobject
-
toPrinterUserList
List<com.soffid.iam.api.PrinterUser> toPrinterUserList(Collection<UserPrinterEntity> entities)
Transforms toPrinterUserlist
-
printerUserToEntity
void printerUserToEntity(com.soffid.iam.api.PrinterUser source, UserPrinterEntity target, boolean copyIfNull)Copy data fromPrinterUserobject
-
printerUserToEntity
UserPrinterEntity printerUserToEntity(com.soffid.iam.api.PrinterUser instance)
Transforms fromPrinterUserobject
-
printerUserToEntityList
List<UserPrinterEntity> printerUserToEntityList(Collection<com.soffid.iam.api.PrinterUser> instances)
Transforms fromPrinterUserlist
-
toUsuariImpressora
void toUsuariImpressora(UserPrinterEntity source, es.caib.seycon.ng.comu.UsuariImpressora target)
Copy data toUsuariImpressoraobject
-
toUsuariImpressora
es.caib.seycon.ng.comu.UsuariImpressora toUsuariImpressora(UserPrinterEntity entity)
Transforms toUsuariImpressoraobject
-
toUsuariImpressoraList
List<es.caib.seycon.ng.comu.UsuariImpressora> toUsuariImpressoraList(Collection<UserPrinterEntity> entities)
Transforms toUsuariImpressoralist
-
usuariImpressoraToEntity
void usuariImpressoraToEntity(es.caib.seycon.ng.comu.UsuariImpressora source, UserPrinterEntity target, boolean copyIfNull)Copy data fromUsuariImpressoraobject
-
usuariImpressoraToEntity
UserPrinterEntity usuariImpressoraToEntity(es.caib.seycon.ng.comu.UsuariImpressora instance)
Transforms fromUsuariImpressoraobject
-
usuariImpressoraToEntityList
List<UserPrinterEntity> usuariImpressoraToEntityList(Collection<es.caib.seycon.ng.comu.UsuariImpressora> instances)
Transforms fromUsuariImpressoralist
-
newUserPrinterEntity
UserPrinterEntity newUserPrinterEntity()
Creates an instance ofUserPrinterEntity.
-
create
void create(UserPrinterEntity entity)
Adds an instance ofUserPrinterEntityto the persistent store.
-
update
void update(UserPrinterEntity entity)
Updates an instance ofUserPrinterEntityat the persistent store.
-
remove
void remove(UserPrinterEntity entity)
Removes an instance ofUserPrinterEntityfrom the persistent store.
-
load
UserPrinterEntity load(Long id)
Loads an instance ofUserPrinterEntityfrom the persistent store.
-
loadAll
List<UserPrinterEntity> loadAll()
Loads all instances ofUserPrinterEntityfrom the persistent store.
-
create
void create(Collection<? extends UserPrinterEntity> entities)
Creates a collection ofUserPrinterEntityand adds it to the persistent store.
-
update
void update(Collection<? extends UserPrinterEntity> entities)
Updates a collection ofUserPrinterEntityin the persistent store.
-
remove
void remove(Collection<? extends UserPrinterEntity> entities)
Removes a collection ofUserPrinterEntityfrom the persistent store.
-
remove
void remove(Long id)
Removes an instance ofUserPrinterEntityfrom the persistent store.
-
query
List<UserPrinterEntity> query(String query, Parameter[] parameters)
Query ofUserPrinterEntityfrom the persistent store. parameter query HQL Query String parameter parameters HQL Parameters
-
query
List<UserPrinterEntity> query(String query, Parameter[] parameters, CriteriaSearchConfiguration criteria)
Query ofUserPrinterEntityfrom the persistent store. parameter query HQL Query String parameter parameters HQL Parameters parameter maxResults max number of rows to return
-
-