T - The type of the entity modelE - The implementing subclass of this classpublic abstract class CreateTypedEntities<T extends TypedEntityModel,E extends CreateTypedEntities> extends TypedEntityList.TypedEntityRequest<T>
for the non typed version| Modifier | Constructor and Description |
|---|---|
protected |
CreateTypedEntities(Class<T> typedEntityModelClass,
OctaneHttpClient octaneHttpClient,
String urlDomain) |
| Modifier and Type | Method and Description |
|---|---|
E |
entities(Collection<T> entities)
Adds the entities to be sent to the server to be created
|
OctaneCollection<T> |
execute()
Carries out the execution and returns a collection of created entities
|
OctaneCollection<T> |
execute(APIMode header)
Carries out the execution and returns the entities, using a custom api mode
|
getEntityInstanceprotected CreateTypedEntities(Class<T> typedEntityModelClass, OctaneHttpClient octaneHttpClient, String urlDomain)
public final OctaneCollection<T> execute()
public final OctaneCollection<T> execute(APIMode header)
public final E entities(Collection<T> entities)
entities - A collection of entitiesCopyright © 2021 Micro Focus. All rights reserved.