Package de.xima.fc.testhelper
Class EntityDummyFactory
- java.lang.Object
-
- de.xima.fc.testhelper.EntityDummyFactory
-
public class EntityDummyFactory extends Object
-
-
Method Summary
-
-
-
Method Detail
-
dummyAction
@Deprecated public static Aktion dummyAction(String name, Status status)
Deprecated.
-
dummyAttachmentEmpty
public static Attachment dummyAttachmentEmpty(String filename, Vorgang process)
-
dummyFormElement
public static FormElement dummyFormElement(FormVersion formVersion, String elementName)
-
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)
-
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)
-
dummyClientLdapData
public static MandantLdapData dummyClientLdapData(Mandant client)
-
dummyClientLdapData
public static MandantLdapData dummyClientLdapData(Mandant client, int port)
-
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)
-
dummyCsvSource
public static Datenquelle dummyCsvSource(String name, String csv, 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)
-
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(String subject, Projekt project, IUser user, Status state)
-
dummyFormRecord
public static Vorgang dummyFormRecord(String subject, Projekt project, IUser user, WorkflowState state)
-
dummyFormVersion
public static FormVersion dummyFormVersion(Projekt project, int versionNumber)
-
dummyFrontendServer
public static FrontendServer dummyFrontendServer(String name)
-
dummyClientFrontendServer
public static MandantFrontendServer dummyClientFrontendServer(String name, FrontendServer fs, Mandant client)
-
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)
-
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(SystemAuthenticator auth, String identifier)
-
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)
-
dummyWorkflowVersion
public static WorkflowVersion dummyWorkflowVersion(Projekt project, WorkflowProcess process, int versionNumber)
-
-