|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WarningMessageEntityDao
Data access object for WarningMessageEntity
You can report about problems to: Martynas StakÄ—
Field Summary | |
---|---|
static java.lang.String |
BEAN_NAME
|
Method Summary | |
---|---|
WarningMessageEntity |
find(java.lang.Long severty,
java.lang.Long unionId)
|
WarningMessageEntity |
find(java.lang.Long severty,
java.lang.String unionId)
|
java.util.List<WarningMessageEntity> |
findAll()
|
java.util.List<WarningMessageEntity> |
findAll(java.lang.Long unionId)
|
WarningMessageEntity |
findById(java.lang.Long id)
|
WarningMessageEntity |
getWarningMessageWithGreatestSeverity(Union union)
|
void |
remove(java.lang.Long id)
Removes entity from data source |
WarningMessageEntity |
update(java.lang.Long id,
java.lang.String message,
java.lang.Long severty,
java.lang.Long unionId)
Updates or creates entity in data source; |
WarningMessageEntity |
update(java.lang.Long id,
java.lang.String message,
java.lang.Long severty,
java.lang.String unionId)
Updates or creates entity in data source; |
WarningMessageEntity |
update(WarningMessageEntity entity)
Updates or creates entity in data source; |
Methods inherited from interface com.idega.core.persistence.GenericDao |
---|
contains, createNamedQuery, find, flush, getQueryInline, getQueryNamed, getQueryNativeInline, getReference, getResultList, getResultListByInlineQuery, getSingleResult, getSingleResultByInlineQuery, merge, mergeRemove, persist, refresh, remove |
Field Detail |
---|
static final java.lang.String BEAN_NAME
Method Detail |
---|
WarningMessageEntity update(WarningMessageEntity entity)
Updates or creates entity in data source;
entity
- to create or update, not null
;
null
on failure;WarningMessageEntity update(java.lang.Long id, java.lang.String message, java.lang.Long severty, java.lang.String unionId)
Updates or creates entity in data source;
id
- is WarningMessageEntity.getId()
, new entity is created
if null
;message
- is WarningMessageEntity.getMessage()
,
skipped if null
;severty
- is WarningMessageEntity.getSeverity()
is number
of message importance, not null
;unionId
- is EJBLocalObject.getPrimaryKey()
of Union
this message is intended for, not null
;
null
on failure;WarningMessageEntity update(java.lang.Long id, java.lang.String message, java.lang.Long severty, java.lang.Long unionId)
Updates or creates entity in data source;
id
- is WarningMessageEntity.getId()
, new entity is created
if null
;message
- is WarningMessageEntity.getMessage()
,
skipped if null
;severty
- is WarningMessageEntity.getSeverity()
is number
of message importance, not null
;unionId
- is EJBLocalObject.getPrimaryKey()
of Union
this message is intended for, not null
;
null
on failure;WarningMessageEntity findById(java.lang.Long id)
id
- is WarningMessageEntity.getId()
to search by,
not null
;
null
on failure;java.util.List<WarningMessageEntity> findAll()
Collections.emptyList()
on failure;java.util.List<WarningMessageEntity> findAll(java.lang.Long unionId)
unionId
- is EJBLocalObject.getPrimaryKey()
to search by,
not null
;
Collections.emptyList()
on failure;WarningMessageEntity find(java.lang.Long severty, java.lang.Long unionId)
severty
- is WarningMessageEntity.getSeverity()
or it is
importance of the WarningMessageEntity
, not null
;unionId
- is EJBLocalObject.getPrimaryKey()
to which
WarningMessageEntity
is connected;
WarningMessageEntity
or null
on
failure;WarningMessageEntity find(java.lang.Long severty, java.lang.String unionId)
severty
- is WarningMessageEntity.getSeverity()
or it is
importance of the WarningMessageEntity
, not null
;unionId
- is EJBLocalObject.getPrimaryKey()
to which
WarningMessageEntity
is connected;
WarningMessageEntity
or null
on
failure;void remove(java.lang.Long id)
Removes entity from data source
id
- to remove entity by, not null
;WarningMessageEntity getWarningMessageWithGreatestSeverity(Union union)
union
- to get all WarningMessageEntity
s for,
not null
;
WarningMessageEntity
with greatest
WarningMessageEntity.getSeverity()
or null
on failure;
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |