Class FormRecordAccessHandler
java.lang.Object
de.xima.fc.handler.AMSApiHandler
de.xima.fc.handler.entity.GenericHandler
de.xima.fc.handler.entity.FormRecordAccessHandler
- All Implemented Interfaces:
IAPIHandler, IFormRecordAccessHandler, IGenericHandler, Serializable
- See Also:
-
Field Summary
Fields inherited from class GenericHandler
LOG -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetByExternalUserRef(UserContext uc, Vorgang formRecord, IExternalUserRef externalUserRef) getByFormRecord(UserContext uc, Vorgang formRecord) Retrieves a list ofFormRecordAccessentities associated with a givenVorgang.getByMail(UserContext uc, Vorgang formRecord, String mail) Retrieves aFormRecordAccessentity by its associatedVorgangand email address.getByUserRef(UserContext uc, Vorgang formRecord, IUserRef userRef) getOrCreateByMail(UserContext uc, Vorgang formRecord, String mail, EFormRecordAccessGrantType grantType) Creates or retrieves aFormRecordAccessentity by its associatedVorgangand email address.getOrCreateExternalUserRef(UserContext uc, Vorgang formRecord, IExternalUserRef externalUserRef, EFormRecordAccessGrantType grantType) Creates or retrieves aFormRecordAccessentity by its associatedVorgangand external user reference.getOrCreateUserRef(UserContext uc, Vorgang formRecord, IUserRef userRef, EFormRecordAccessGrantType grantType) Creates or retrieves aFormRecordAccessentity by its associatedVorgangand user reference.Methods inherited from class GenericHandler
create, create, delete, delete, deleteBy, deleteById, deleteById, getAll, getAllBy, getAttributes, getAttributes, getBy, getById, getById, getById, getEntityRefs, getSingleAttributes, getSingleAttributes, resultTotalCount, serializableList, update, updateMethods inherited from class AMSApiHandler
getNameMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IAPIHandler
getNameMethods inherited from interface IGenericHandler
create, create, delete, delete, deleteBy, deleteById, deleteById, getAll, getAllBy, getAttributes, getAttributes, getBy, getById, getById, getById, getEntityRefs, getSingleAttributes, getSingleAttributes, resultTotalCount, update, update
-
Constructor Details
-
FormRecordAccessHandler
public FormRecordAccessHandler()
-
-
Method Details
-
getByUserRef
Description copied from interface:IFormRecordAccessHandler- Specified by:
getByUserRefin interfaceIFormRecordAccessHandler- Parameters:
uc- The user context.formRecord- The associatedVorgang.userRef- TheIUserRefto search for.- Returns:
- The found
FormRecordAccessentity, or null if not found.
-
getByExternalUserRef
public FormRecordAccess getByExternalUserRef(UserContext uc, Vorgang formRecord, IExternalUserRef externalUserRef) Description copied from interface:IFormRecordAccessHandler- Specified by:
getByExternalUserRefin interfaceIFormRecordAccessHandler- Parameters:
uc- The user context.formRecord- The associatedVorgang.externalUserRef- TheIExternalUserRefto search for.- Returns:
- The found
FormRecordAccessentity, or null if not found.
-
getByMail
Description copied from interface:IFormRecordAccessHandlerRetrieves aFormRecordAccessentity by its associatedVorgangand email address.- Specified by:
getByMailin interfaceIFormRecordAccessHandler- Parameters:
uc- The user context.formRecord- The associatedVorgang.mail- The email address to search for.- Returns:
- The found
FormRecordAccessentity, or null if not found.
-
getByFormRecord
Description copied from interface:IFormRecordAccessHandlerRetrieves a list ofFormRecordAccessentities associated with a givenVorgang.- Specified by:
getByFormRecordin interfaceIFormRecordAccessHandler- Parameters:
uc- The user context.formRecord- The associatedVorgang.- Returns:
- A list of
FormRecordAccessentities.
-
getOrCreateByMail
public FormRecordAccess getOrCreateByMail(UserContext uc, Vorgang formRecord, String mail, EFormRecordAccessGrantType grantType) Description copied from interface:IFormRecordAccessHandlerCreates or retrieves aFormRecordAccessentity by its associatedVorgangand email address.- Specified by:
getOrCreateByMailin interfaceIFormRecordAccessHandler- 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
FormRecordAccessentity.
-
getOrCreateExternalUserRef
public FormRecordAccess getOrCreateExternalUserRef(UserContext uc, Vorgang formRecord, IExternalUserRef externalUserRef, EFormRecordAccessGrantType grantType) Description copied from interface:IFormRecordAccessHandlerCreates or retrieves aFormRecordAccessentity by its associatedVorgangand external user reference.- Specified by:
getOrCreateExternalUserRefin interfaceIFormRecordAccessHandler- 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
FormRecordAccessentity.
-
getOrCreateUserRef
public FormRecordAccess getOrCreateUserRef(UserContext uc, Vorgang formRecord, IUserRef userRef, EFormRecordAccessGrantType grantType) Description copied from interface:IFormRecordAccessHandlerCreates or retrieves aFormRecordAccessentity by its associatedVorgangand user reference.- Specified by:
getOrCreateUserRefin interfaceIFormRecordAccessHandler- 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
FormRecordAccessentity.
-