Package de.xima.fc.dao.interfaces
Interface IFormRecordAccessDao
-
- All Superinterfaces:
de.xima.cmn.dao.interfaces.IAbstractDao<FormRecordAccess,Long,IEntityContext>
,IGenericDao<FormRecordAccess>
- All Known Implementing Classes:
FormRecordAccessDao
public interface IFormRecordAccessDao extends IGenericDao<FormRecordAccess>
DAO for reading and writingFormRecordAccess
entities.- Since:
- 8.4.0
- Author:
- XIMA Media GmbH
-
-
Method Summary
-
Methods inherited from interface de.xima.cmn.dao.interfaces.IAbstractDao
all, bulkDelete, bulkUpdate, checkLockingVersion, create, create, delete, delete, deleteAll, executePagedDaoAction, getAttributes, getAttributes, getSingleAttributes, getSingleAttributes, getTransactionHandler, read, registerListener, registerListener, registerListener, resultTotalCount, setTransactionHandler, singleElement, unregisterListener, unregisterListener, unregisterListener, update, update
-
Methods inherited from interface de.xima.fc.dao.interfaces.IGenericDao
count, findAll, findSingle, getEntityRefs, read
-
-
-
-
Method Detail
-
getByUserRef
FormRecordAccess getByUserRef(IEntityContext ec, Vorgang formRecord, IUserRef userRef)
- Parameters:
ec
- The entity context.formRecord
- The associatedVorgang
.userRef
- TheIUserRef
to search for.- Returns:
- The found
FormRecordAccess
entity, or null if not found.
-
getByExternalUserRef
FormRecordAccess getByExternalUserRef(IEntityContext ec, Vorgang formRecord, IExternalUserRef externalUserRef)
- Parameters:
ec
- The entity context.formRecord
- The associatedVorgang
.externalUserRef
- TheIExternalUserRef
to search for.- Returns:
- The found
FormRecordAccess
entity, or null if not found.
-
getByMail
FormRecordAccess getByMail(IEntityContext ec, Vorgang formRecord, String mail)
Retrieves aFormRecordAccess
entity by its associatedVorgang
and email address.- Parameters:
ec
- The entity context.formRecord
- The associatedVorgang
.mail
- The email address to search for.- Returns:
- The found
FormRecordAccess
entity, or null if not found.
-
getByFormRecord
List<FormRecordAccess> getByFormRecord(IEntityContext ec, Vorgang formRecord)
Retrieves a list ofFormRecordAccess
entities associated with a givenVorgang
.- Parameters:
ec
- The entity context.formRecord
- The associatedVorgang
.- Returns:
- A list of
FormRecordAccess
entities.
-
getOrCreateByMail
FormRecordAccess getOrCreateByMail(IEntityContext ec, Vorgang formRecord, String mail, EFormRecordAccessGrantType grantType)
Retrieves or creates aFormRecordAccess
entity by its associatedVorgang
and email address.- Parameters:
ec
- The entity context.formRecord
- The associatedVorgang
.mail
- The email address to search for.grantType
- The access grant type.- Returns:
- The found or created
FormRecordAccess
entity.
-
getOrCreateExternalUserRef
FormRecordAccess getOrCreateExternalUserRef(IEntityContext ec, Vorgang formRecord, IExternalUserRef externalUserRef, EFormRecordAccessGrantType grantType)
- Parameters:
ec
- The entity context.formRecord
- The associatedVorgang
.externalUserRef
- TheIExternalUserRef
to search for.grantType
- The access grant type.- Returns:
- The found or created
FormRecordAccess
entity.
-
getOrCreateUserRef
FormRecordAccess getOrCreateUserRef(IEntityContext ec, Vorgang formRecord, IUserRef userRef, EFormRecordAccessGrantType grantType)
- Parameters:
ec
- The entity context.formRecord
- The associatedVorgang
.userRef
- TheIUserRef
to search for.grantType
- The access grant type.- Returns:
- The found or created
FormRecordAccess
entity.
-
-