Package com.soffid.iam.model
Interface UserPrinterEntityDao
-
- All Known Implementing Classes:
UserPrinterEntityDaoBase
,UserPrinterEntityDaoImpl
public interface UserPrinterEntityDao
DAO for Entity UserPrinterEntity- See Also:
es.caib.seycon.ng.model.UsuariImpressoraEntity
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
create(UserPrinterEntity entity)
Adds an instance ofUserPrinterEntity
to the persistent store.void
create(Collection<? extends UserPrinterEntity> entities)
Creates a collection ofUserPrinterEntity
and 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 findByUserUserPrinterEntity
findUserByUserAndPrinter(CriteriaSearchConfiguration criteria, String userName, String printer)
CriteriaSearchConfiguration finderUserPrinterEntity
findUserByUserAndPrinter(String userName, String printer)
Operation findUserByUserAndPrinterUserPrinterEntity
load(Long id)
Loads an instance ofUserPrinterEntity
from the persistent store.List<UserPrinterEntity>
loadAll()
Loads all instances ofUserPrinterEntity
from the persistent store.UserPrinterEntity
newUserPrinterEntity()
Creates an instance ofUserPrinterEntity
.UserPrinterEntity
printerUserToEntity(com.soffid.iam.api.PrinterUser instance)
Transforms fromPrinterUser
objectvoid
printerUserToEntity(com.soffid.iam.api.PrinterUser source, UserPrinterEntity target, boolean copyIfNull)
Copy data fromPrinterUser
objectList<UserPrinterEntity>
printerUserToEntityList(Collection<com.soffid.iam.api.PrinterUser> instances)
Transforms fromPrinterUser
listList<UserPrinterEntity>
query(String query, Parameter[] parameters)
Query ofUserPrinterEntity
from the persistent store.List<UserPrinterEntity>
query(String query, Parameter[] parameters, CriteriaSearchConfiguration criteria)
Query ofUserPrinterEntity
from the persistent store.void
remove(UserPrinterEntity entity)
Removes an instance ofUserPrinterEntity
from the persistent store.void
remove(Long id)
Removes an instance ofUserPrinterEntity
from the persistent store.void
remove(Collection<? extends UserPrinterEntity> entities)
Removes a collection ofUserPrinterEntity
from the persistent store.com.soffid.iam.api.PrinterUser
toPrinterUser(UserPrinterEntity entity)
Transforms toPrinterUser
objectvoid
toPrinterUser(UserPrinterEntity source, com.soffid.iam.api.PrinterUser target)
Copy data toPrinterUser
objectList<com.soffid.iam.api.PrinterUser>
toPrinterUserList(Collection<UserPrinterEntity> entities)
Transforms toPrinterUser
listes.caib.seycon.ng.comu.UsuariImpressora
toUsuariImpressora(UserPrinterEntity entity)
Transforms toUsuariImpressora
objectvoid
toUsuariImpressora(UserPrinterEntity source, es.caib.seycon.ng.comu.UsuariImpressora target)
Copy data toUsuariImpressora
objectList<es.caib.seycon.ng.comu.UsuariImpressora>
toUsuariImpressoraList(Collection<UserPrinterEntity> entities)
Transforms toUsuariImpressora
listvoid
update(UserPrinterEntity entity)
Updates an instance ofUserPrinterEntity
at the persistent store.void
update(Collection<? extends UserPrinterEntity> entities)
Updates a collection ofUserPrinterEntity
in the persistent store.UserPrinterEntity
usuariImpressoraToEntity(es.caib.seycon.ng.comu.UsuariImpressora instance)
Transforms fromUsuariImpressora
objectvoid
usuariImpressoraToEntity(es.caib.seycon.ng.comu.UsuariImpressora source, UserPrinterEntity target, boolean copyIfNull)
Copy data fromUsuariImpressora
objectList<UserPrinterEntity>
usuariImpressoraToEntityList(Collection<es.caib.seycon.ng.comu.UsuariImpressora> instances)
Transforms fromUsuariImpressora
list
-
-
-
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 toPrinterUser
object
-
toPrinterUser
com.soffid.iam.api.PrinterUser toPrinterUser(UserPrinterEntity entity)
Transforms toPrinterUser
object
-
toPrinterUserList
List<com.soffid.iam.api.PrinterUser> toPrinterUserList(Collection<UserPrinterEntity> entities)
Transforms toPrinterUser
list
-
printerUserToEntity
void printerUserToEntity(com.soffid.iam.api.PrinterUser source, UserPrinterEntity target, boolean copyIfNull)
Copy data fromPrinterUser
object
-
printerUserToEntity
UserPrinterEntity printerUserToEntity(com.soffid.iam.api.PrinterUser instance)
Transforms fromPrinterUser
object
-
printerUserToEntityList
List<UserPrinterEntity> printerUserToEntityList(Collection<com.soffid.iam.api.PrinterUser> instances)
Transforms fromPrinterUser
list
-
toUsuariImpressora
void toUsuariImpressora(UserPrinterEntity source, es.caib.seycon.ng.comu.UsuariImpressora target)
Copy data toUsuariImpressora
object
-
toUsuariImpressora
es.caib.seycon.ng.comu.UsuariImpressora toUsuariImpressora(UserPrinterEntity entity)
Transforms toUsuariImpressora
object
-
toUsuariImpressoraList
List<es.caib.seycon.ng.comu.UsuariImpressora> toUsuariImpressoraList(Collection<UserPrinterEntity> entities)
Transforms toUsuariImpressora
list
-
usuariImpressoraToEntity
void usuariImpressoraToEntity(es.caib.seycon.ng.comu.UsuariImpressora source, UserPrinterEntity target, boolean copyIfNull)
Copy data fromUsuariImpressora
object
-
usuariImpressoraToEntity
UserPrinterEntity usuariImpressoraToEntity(es.caib.seycon.ng.comu.UsuariImpressora instance)
Transforms fromUsuariImpressora
object
-
usuariImpressoraToEntityList
List<UserPrinterEntity> usuariImpressoraToEntityList(Collection<es.caib.seycon.ng.comu.UsuariImpressora> instances)
Transforms fromUsuariImpressora
list
-
newUserPrinterEntity
UserPrinterEntity newUserPrinterEntity()
Creates an instance ofUserPrinterEntity
.
-
create
void create(UserPrinterEntity entity)
Adds an instance ofUserPrinterEntity
to the persistent store.
-
update
void update(UserPrinterEntity entity)
Updates an instance ofUserPrinterEntity
at the persistent store.
-
remove
void remove(UserPrinterEntity entity)
Removes an instance ofUserPrinterEntity
from the persistent store.
-
load
UserPrinterEntity load(Long id)
Loads an instance ofUserPrinterEntity
from the persistent store.
-
loadAll
List<UserPrinterEntity> loadAll()
Loads all instances ofUserPrinterEntity
from the persistent store.
-
create
void create(Collection<? extends UserPrinterEntity> entities)
Creates a collection ofUserPrinterEntity
and adds it to the persistent store.
-
update
void update(Collection<? extends UserPrinterEntity> entities)
Updates a collection ofUserPrinterEntity
in the persistent store.
-
remove
void remove(Collection<? extends UserPrinterEntity> entities)
Removes a collection ofUserPrinterEntity
from the persistent store.
-
remove
void remove(Long id)
Removes an instance ofUserPrinterEntity
from the persistent store.
-
query
List<UserPrinterEntity> query(String query, Parameter[] parameters)
Query ofUserPrinterEntity
from the persistent store. parameter query HQL Query String parameter parameters HQL Parameters
-
query
List<UserPrinterEntity> query(String query, Parameter[] parameters, CriteriaSearchConfiguration criteria)
Query ofUserPrinterEntity
from the persistent store. parameter query HQL Query String parameter parameters HQL Parameters parameter maxResults max number of rows to return
-
-