Interface IFormRecordAccessHandler
-
- All Superinterfaces:
IAPIHandler
,IGenericHandler
,Serializable
- All Known Implementing Classes:
FormRecordAccessHandler
public interface IFormRecordAccessHandler extends IGenericHandler
Handler forFormRecordSubmission
entities- Since:
- 8.2.0
- Author:
- XIMA Media GmbH
-
-
Method Summary
-
Methods inherited from interface de.xima.fc.com.interfaces.IAPIHandler
getName
-
Methods inherited from interface de.xima.fc.handler.interfaces.entity.IGenericHandler
create, create, delete, delete, deleteBy, deleteById, deleteById, getAll, getAllBy, getAttributes, getAttributes, getBy, getById, getById, getById, getEntityRefs, getSingleAttributes, getSingleAttributes, resultTotalCount, update, update
-
-
-
-
Method Detail
-
getByUserRef
FormRecordAccess getByUserRef(UserContext uc, Vorgang formRecord, IUserRef userRef)
- Parameters:
uc
- The user context.formRecord
- The associatedVorgang
.userRef
- TheIUserRef
to search for.- Returns:
- The found
FormRecordAccess
entity, or null if not found.
-
getByExternalUserRef
FormRecordAccess getByExternalUserRef(UserContext uc, Vorgang formRecord, IExternalUserRef externalUserRef)
- Parameters:
uc
- The user context.formRecord
- The associatedVorgang
.externalUserRef
- TheIExternalUserRef
to search for.- Returns:
- The found
FormRecordAccess
entity, or null if not found.
-
getByMail
FormRecordAccess getByMail(UserContext uc, Vorgang formRecord, String mail)
Retrieves aFormRecordAccess
entity by its associatedVorgang
and email address.- Parameters:
uc
- The user 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(UserContext uc, Vorgang formRecord)
Retrieves a list ofFormRecordAccess
entities associated with a givenVorgang
.- Parameters:
uc
- The user context.formRecord
- The associatedVorgang
.- Returns:
- A list of
FormRecordAccess
entities.
-
getOrCreateByMail
FormRecordAccess getOrCreateByMail(UserContext uc, Vorgang formRecord, String mail, EFormRecordAccessGrantType grantType)
Creates or retrieves aFormRecordAccess
entity by its associatedVorgang
and email address.- Parameters:
uc
- The user context.formRecord
- The associatedVorgang
.mail
- The email address to search for.grantType
- The access grant type.- Returns:
- The created or retrieved
FormRecordAccess
entity.
-
getOrCreateExternalUserRef
FormRecordAccess getOrCreateExternalUserRef(UserContext uc, Vorgang formRecord, IExternalUserRef externalUserRef, EFormRecordAccessGrantType grantType)
Creates or retrieves aFormRecordAccess
entity by its associatedVorgang
and external user reference.- Parameters:
uc
- The user context.formRecord
- The associatedVorgang
.externalUserRef
- The external user ref to search for.grantType
- The access grant type.- Returns:
- The created or retrieved
FormRecordAccess
entity.
-
getOrCreateUserRef
FormRecordAccess getOrCreateUserRef(UserContext uc, Vorgang formRecord, IUserRef userRef, EFormRecordAccessGrantType grantType)
Creates or retrieves aFormRecordAccess
entity by its associatedVorgang
and user reference.- Parameters:
uc
- The user context.formRecord
- The associatedVorgang
.userRef
- The user ref to search for.grantType
- The access grant type.- Returns:
- The created or retrieved
FormRecordAccess
entity.
-
-