Interface IFormRecordAccessDao
- All Superinterfaces:
de.xima.cmn.dao.interfaces.IAbstractDao<FormRecordAccess, Long, IEntityContext>, IGenericDao<FormRecordAccess>
- All Known Implementing Classes:
FormRecordAccessDao
DAO for reading and writing
FormRecordAccess entities.- Since:
- 8.4.0
- Author:
- XIMA Media GmbH
-
Method Summary
Modifier and TypeMethodDescriptiongetByExternalUserRef(IEntityContext ec, Vorgang formRecord, IExternalUserRef externalUserRef) getByFormRecord(IEntityContext ec, Vorgang formRecord) Retrieves a list ofFormRecordAccessentities associated with a givenVorgang.getByMail(IEntityContext ec, Vorgang formRecord, String mail) Retrieves aFormRecordAccessentity by its associatedVorgangand email address.getByUserRef(IEntityContext ec, Vorgang formRecord, IUserRef userRef) getOrCreateByMail(IEntityContext ec, Vorgang formRecord, String mail, EFormRecordAccessGrantType grantType) Retrieves or creates aFormRecordAccessentity by its associatedVorgangand email address.getOrCreateExternalUserRef(IEntityContext ec, Vorgang formRecord, IExternalUserRef externalUserRef, EFormRecordAccessGrantType grantType) getOrCreateUserRef(IEntityContext ec, Vorgang formRecord, IUserRef userRef, EFormRecordAccessGrantType grantType) 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, updateMethods inherited from interface IGenericDao
count, createOrUpdate, findAll, findSingle, getEntityRefs, read
-
Method Details
-
getByUserRef
- Parameters:
ec- The entity context.formRecord- The associatedVorgang.userRef- TheIUserRefto search for.- Returns:
- The found
FormRecordAccessentity, or null if not found.
-
getByExternalUserRef
FormRecordAccess getByExternalUserRef(IEntityContext ec, Vorgang formRecord, IExternalUserRef externalUserRef) - Parameters:
ec- The entity context.formRecord- The associatedVorgang.externalUserRef- TheIExternalUserRefto search for.- Returns:
- The found
FormRecordAccessentity, or null if not found.
-
getByMail
Retrieves aFormRecordAccessentity by its associatedVorgangand email address.- Parameters:
ec- The entity context.formRecord- The associatedVorgang.mail- The email address to search for.- Returns:
- The found
FormRecordAccessentity, or null if not found.
-
getByFormRecord
Retrieves a list ofFormRecordAccessentities associated with a givenVorgang.- Parameters:
ec- The entity context.formRecord- The associatedVorgang.- Returns:
- A list of
FormRecordAccessentities.
-
getOrCreateByMail
FormRecordAccess getOrCreateByMail(IEntityContext ec, Vorgang formRecord, String mail, EFormRecordAccessGrantType grantType) Retrieves or creates aFormRecordAccessentity by its associatedVorgangand 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
FormRecordAccessentity.
-
getOrCreateExternalUserRef
FormRecordAccess getOrCreateExternalUserRef(IEntityContext ec, Vorgang formRecord, IExternalUserRef externalUserRef, EFormRecordAccessGrantType grantType) - Parameters:
ec- The entity context.formRecord- The associatedVorgang.externalUserRef- TheIExternalUserRefto search for.grantType- The access grant type.- Returns:
- The found or created
FormRecordAccessentity.
-
getOrCreateUserRef
FormRecordAccess getOrCreateUserRef(IEntityContext ec, Vorgang formRecord, IUserRef userRef, EFormRecordAccessGrantType grantType) - Parameters:
ec- The entity context.formRecord- The associatedVorgang.userRef- TheIUserRefto search for.grantType- The access grant type.- Returns:
- The found or created
FormRecordAccessentity.
-