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 writingFormRecordAccessentities.- 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- 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
FormRecordAccess getByMail(IEntityContext ec, Vorgang formRecord, String mail)
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
List<FormRecordAccess> getByFormRecord(IEntityContext ec, Vorgang formRecord)
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.
-
-