Package de.xima.fc.testhelper
Class EntityDummyFactory
- java.lang.Object
-
- de.xima.fc.testhelper.EntityDummyFactory
-
public class EntityDummyFactory extends Object
-
-
Method Summary
-
-
-
Method Detail
-
addDummyFormSubmission
public static void addDummyFormSubmission(Vorgang formRecord, IUser user, EFormRecordSubmitContext submitContext)
-
addDummyFormSubmission
public static void addDummyFormSubmission(Vorgang formRecord, IUser user, String formData, boolean newDataEntry)
-
addDummyFormSubmission
public static void addDummyFormSubmission(Vorgang formRecord, IUser user, EFormRecordSubmitContext submitContext, String formData, boolean newDataEntry)
-
addFileEntityMetaData
public static <E extends de.xima.cmn.dao.interfaces.IEntity<Long>,F extends ALocalizedScopedFileMetaEntity<E,?>> void addFileEntityMetaData(Locale locale, String filename, String fileKey, E baseEntity, F fileMetaEntity)
-
addLocalizationData
public static <E extends de.xima.cmn.dao.interfaces.IEntity<Long>,F extends ALocalization<E>> void addLocalizationData(Locale locale, String i18nName, String i18nValue, E baseEntity, F localizationEntity)
-
dummyAction
@Deprecated public static Aktion dummyAction(String name, Status status)
Deprecated.
-
dummyAppointment
public static Appointment dummyAppointment(Vorgang formRecord, Instant from, Instant until, AppointmentType type, EAppointmentStatus status)
-
dummyAppointment
public static Appointment dummyAppointment(Vorgang formRecord, IFormRecordAppointmentTestConfig config)
-
dummyAttachment
public static Attachment dummyAttachment(String filename, byte[] data, Vorgang process, IUser user, String elementName)
-
dummyAttachment
public static Attachment dummyAttachment(String filename, String text, Vorgang process, IUser user, String elementName, EAttachmentSource source)
-
dummyAttachment
public static Attachment dummyAttachment(String filename, byte[] data, Vorgang process, IUser user, String elementName, EAttachmentSource source)
-
dummyAttachmentEmpty
public static Attachment dummyAttachmentEmpty(String filename, Vorgang process)
-
dummyClientAuthenticator
public static ClientAuthenticator dummyClientAuthenticator(String name, EAuthClientType clientType, Mandant client)
-
dummyClientAuthenticatorFile
public static ClientAuthenticatorFile dummyClientAuthenticatorFile(String filename, byte[] data, ClientAuthenticator auth)
-
dummyClientCounter
public static ClientCounter dummyClientCounter(Mandant client, String name)
-
dummyClientCounter
public static ClientCounter dummyClientCounter(Mandant client, String name, int counterValue)
-
dummyClientFile
public static MandantRessource dummyClientFile(Mandant client, String name, String content)
-
dummyClientFile
public static MandantRessource dummyClientFile(Mandant client, String name, String description, byte[] data, String creator)
-
dummyClientFrontendServer
public static MandantFrontendServer dummyClientFrontendServer(String name, FrontendServer fs, Mandant client)
-
dummyClientLdapData
public static MandantLdapData dummyClientLdapData(Mandant client)
-
dummyClientLdapData
@Deprecated public static MandantLdapData dummyClientLdapData(Mandant client, int port)
Deprecated.
-
dummyClientPortalConfig
public static ClientPortalConfig dummyClientPortalConfig(UserPortal portal, Mandant client, boolean active)
-
dummyCondition
@Deprecated public static Bedingung dummyCondition(Aktion action)
Deprecated.
-
dummyCsvSource
public static Datenquelle dummyCsvSource(String name, String csv, Mandant client)
-
dummyDBConnection
public static DatenbankZugriff dummyDBConnection(String name, Mandant client)
-
dummyDBConnection
@Deprecated public static DatenbankZugriff dummyDBConnection(String name, Mandant client, String jdbcUrl)
Deprecated.
-
dummyDBConnection
public static DatenbankZugriff dummyDBConnection(String name, Mandant client, EDatenbankTyp type, String jdbcUrl)
-
dummyDBConnectionInvalid
public static DatenbankZugriff dummyDBConnectionInvalid(String name, Mandant client)
-
dummyDbQuery
public static Datenquelle dummyDbQuery(String name, DatenbankZugriff connection, String sql)
-
dummyDbQuery
public static Datenquelle dummyDbQuery(String name, DatenbankZugriff connection, String sql, Mandant client)
-
dummyDirectClientAuthorization
public static DirectClientAuthorization dummyDirectClientAuthorization(UserProfile profile, Mandant client, boolean accepted, Rolle... roles)
-
dummyFormData
public static FormEingang dummyFormData(Vorgang formRecord, String formData)
-
dummyFormElement
public static FormElement dummyFormElement(FormVersion formVersion, String elementName)
-
dummyFormElement
public static FormElement dummyFormElement(FormVersion formVersion, String elementName, String aliasName)
-
dummyFormElement
public static FormElement dummyFormElement(FormVersion formVersion, String elementName, String aliasName, EFormElementTyp type)
-
dummyFormFile
public static ProjektRessource dummyFormFile(Projekt project, String name, String content)
-
dummyFormFile
public static ProjektRessource dummyFormFile(Projekt project, String name, String description, byte[] data, String creator)
-
dummyFormRecord
public static Vorgang dummyFormRecord(IFormRecordTestConfig<?> config)
-
dummyFormRecord
public static Vorgang dummyFormRecord(String subject, Projekt project, Status state)
-
dummyFormRecord
public static Vorgang dummyFormRecord(String subject, Projekt project, WorkflowState state)
-
dummyFormRecordChat
public static FormRecordChat dummyFormRecordChat(Vorgang formRecord, IUser member)
-
dummyFormRecordChat
public static FormRecordChat dummyFormRecordChat(Vorgang formRecord, IUser member, boolean open)
-
dummyFormRecordMessage
public static FormRecordMessage dummyFormRecordMessage(FormRecordChat chat, IUser sender, String senderCtx, String content)
-
dummyFormRecordMessageUploadRequest
public static FormRecordMessageUploadRequest dummyFormRecordMessageUploadRequest(FormRecordMessage message, Attachment attachment, String name, String formFieldName)
-
dummyFormRecordMessageUploadRequest
public static FormRecordMessageUploadRequest dummyFormRecordMessageUploadRequest(FormRecordMessage message, List<Attachment> attachments, String name, String formFieldName)
-
dummyFormRecordSubmission
public static FormRecordSubmission dummyFormRecordSubmission(Vorgang formRecord, IUser user)
-
dummyFormRecordSubmission
public static FormRecordSubmission dummyFormRecordSubmission(Vorgang formRecord, IUser user, String submitCtx, WorkflowState submitState, FrontendServer submitFrontendServer, String submitServerBaseUrl, String formData)
-
dummyFormRecordSubmission
public static FormRecordSubmission dummyFormRecordSubmission(Vorgang formRecord, IUser user, String submitCtx, WorkflowState submitState, FrontendServer submitFrontendServer, String submitServerBaseUrl, byte[] formData)
-
dummyFormVersion
public static FormVersion dummyFormVersion(Projekt project, int versionNumber)
-
dummyFrontendServer
public static FrontendServer dummyFrontendServer(String name)
-
dummyFrontendServer
public static FrontendServer dummyFrontendServer(String name, String authToken)
-
dummyIndirectClientAuthorization
public static IndirectClientAuthorization dummyIndirectClientAuthorization(IClientDescriptor clientDescriptor, String name, Mandant client, Rolle... roles)
-
dummyLdapConnection
public static LDAPZugriff dummyLdapConnection(String name, Mandant client)
-
dummyLdapQuery
public static LDAPAbfrage dummyLdapQuery(String name, LDAPZugriff connection, String ldapQuery)
-
dummyProjectAuthenticatorConfig
public static ProjectAuthenticatorConfig dummyProjectAuthenticatorConfig(Projekt project, EAuthClientType clientType)
-
dummyProjectAuthenticatorConfig
public static ProjectAuthenticatorConfig dummyProjectAuthenticatorConfig(Projekt project, IAuthenticator<?> auth)
-
dummyProjectAuthenticatorConfig
public static ProjectAuthenticatorConfig dummyProjectAuthenticatorConfig(Projekt project, IClientDescriptor client)
-
dummyProjectPortalConfig
public static ProjectPortalConfig dummyProjectPortalConfig(ClientPortalConfig clientPortalConfig, Projekt project, boolean active)
-
dummyRole
public static Rolle dummyRole(String name, ERollenTyp type, Mandant client)
-
dummyStatus
@Deprecated public static Status dummyStatus(String name, Projekt project)
Deprecated.
-
dummySystemAuthenticator
public static SystemAuthenticator dummySystemAuthenticator(String name, EAuthClientType clientType)
-
dummySystemAuthenticatorFile
public static SystemAuthenticatorFile dummySystemAuthenticatorFile(String filename, byte[] data, SystemAuthenticator auth)
-
dummyTemplate
public static Textbaustein dummyTemplate(String name, String textValue, ETextbausteinKategorie cat, ETextbausteinMsgCode msgCode, Mandant client)
-
dummyTemplate
public static Textbaustein dummyTemplate(String name, String textValue, ETextbausteinKategorie cat, Mandant client)
-
dummyUser
@Deprecated public static Benutzer dummyUser(String surename, String givenName, Rolle role)
Deprecated.
-
dummyUser
@Deprecated public static Benutzer dummyUser(String surename, String givenName, Rolle role, String email)
Deprecated.
-
dummyUserGroup
public static BenutzerGruppe dummyUserGroup(String name, Mandant client)
-
dummyUserGroup
public static BenutzerGruppe dummyUserGroup(String name, Mandant client, Iterable<Postfach> inboxes)
-
dummyUserGroup
public static BenutzerGruppe dummyUserGroup(String name, Mandant client, Postfach... inboxes)
-
dummyUserIdentity
public static UserIdentity dummyUserIdentity(EAuthClientType type, String identifier)
-
dummyUserIdentity
public static UserIdentity dummyUserIdentity(IClientDescriptor client, String identifier)
-
dummyUserIdentity
public static UserIdentity dummyUserIdentity(IClientDescriptor client, String identifier, UserProfile profile)
-
dummyUserIdentity
public static UserIdentity dummyUserIdentity(SystemAuthenticator auth, String identifier)
-
dummyUserPortal
public static UserPortal dummyUserPortal(String name, String alias)
-
dummyUserProfile
public static UserProfile dummyUserProfile(String firstName, String lastName)
-
dummyUserProfile
public static UserProfile dummyUserProfile(String userName, String firstName, String lastName)
-
dummyUserProfile
public static UserProfile dummyUserProfile(String userName, String firstName, String lastName, String email, String password)
-
dummyWebDavAccess
public static WebDavAccess dummyWebDavAccess(String name, Mandant client, String url)
-
dummyWorkflowState
public static WorkflowState dummyWorkflowState(String name, WorkflowVersion version)
-
dummyWorkflowState
public static WorkflowState dummyWorkflowState(String name)
-
dummyWorkflowVersion
public static WorkflowVersion dummyWorkflowVersion(Projekt project, WorkflowProcess process, int versionNumber)
-
-