| Modifier and Type | Method and Description |
|---|---|
CreateAttachment |
CreateAttachment.attachment(EntityModel entity,
InputStream stream,
String type,
String name)
Setter of new entities to create and file to upload
|
| Modifier and Type | Method and Description |
|---|---|
protected T |
TypedEntityList.TypedEntityRequest.getEntityInstance(EntityModel entityModel) |
| Modifier and Type | Method and Description |
|---|---|
OctaneCollection<EntityModel> |
CreateEntities.execute()
1.
|
OctaneCollection<EntityModel> |
CreateEntities.execute(APIMode apiMode)
1.
|
| Modifier and Type | Method and Description |
|---|---|
CreateEntities |
CreateEntities.entities(Collection<EntityModel> entities)
Set new entities collection
|
| Modifier and Type | Method and Description |
|---|---|
EntityModel |
DeleteEntity.execute()
1.
|
EntityModel |
DeleteEntity.execute(APIMode apiMode)
1.
|
| Modifier and Type | Method and Description |
|---|---|
OctaneCollection<EntityModel> |
DeleteEntities.execute()
Execute a DeleteEntities request
|
OctaneCollection<EntityModel> |
DeleteEntities.execute(APIMode apiMode)
1.
|
| Modifier and Type | Method and Description |
|---|---|
EntityModel |
GetEntity.execute()
1.
|
EntityModel |
GetEntity.execute(APIMode apiMode)
1.
|
| Modifier and Type | Method and Description |
|---|---|
OctaneCollection<EntityModel> |
GetEntities.execute()
1.
|
OctaneCollection<EntityModel> |
GetEntities.execute(APIMode apiMode)
1.
|
| Modifier and Type | Method and Description |
|---|---|
EntityModel |
UpdateEntity.execute()
1.
|
EntityModel |
UpdateEntity.execute(APIMode apiMode)
1.
|
| Modifier and Type | Method and Description |
|---|---|
OctaneCollection<EntityModel> |
UpdateEntities.execute()
1.
|
OctaneCollection<EntityModel> |
UpdateEntities.execute(APIMode apiMode)
1.
|
| Modifier and Type | Method and Description |
|---|---|
UpdateEntity |
UpdateEntity.entity(EntityModel entityModel)
set a new entity for updating
|
| Modifier and Type | Method and Description |
|---|---|
UpdateEntities |
UpdateEntities.entities(Collection<EntityModel> entities)
Set new entities collection
|
| Modifier and Type | Method and Description |
|---|---|
Collection<EntityModel> |
OctanePartialException.getEntitiesModels()
getter of collection of entities models
|
| Constructor and Description |
|---|
OctanePartialException(Collection<ErrorModel> errorModels,
Collection<EntityModel> entities)
Creates a new OctanePartialException object based on errors and entities models
|
| Constructor and Description |
|---|
GetTestScriptModel(EntityModel wrappedEntityModel)
Constructor
|
| Modifier and Type | Class and Description |
|---|---|
class |
ErrorModel
This class hold the ErrorModel objects and server as an error data holder
entities.
|
| Modifier and Type | Field and Description |
|---|---|
protected EntityModel |
TypedEntityModel.wrappedEntityModel
The typed entity model wraps a normal
EntityModel |
| Modifier and Type | Method and Description |
|---|---|
EntityModel |
ModelParser.getEntityModel(org.json.JSONObject jsonEntityObj)
get a new EntityModel object based on json object
|
EntityModel |
ReferenceFieldModel.getValue()
GetEntities Value
|
EntityModel |
TypedEntityModel.getWrappedEntityModel()
Returns the wrapped
EntityModel |
EntityModel |
EntityModel.setValue(FieldModel fieldModel)
setter of single field, update if field exists
|
EntityModel |
EntityModel.setValues(Set<FieldModel> values)
setter of new entity value, all old fields are cleared
|
| Modifier and Type | Method and Description |
|---|---|
OctaneCollection<EntityModel> |
ModelParser.getEntities(String json)
get a entity model collection based on a given json string
|
Collection<EntityModel> |
MultiReferenceFieldModel.getValue()
get value
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
EntityUtil.EntityEquator.areEqual(EntityModel leftEntityModel,
EntityModel rightEntityModel) |
static boolean |
EntityUtil.areEqualByContent(EntityModel leftEntityModel,
EntityModel rightEntityModel)
Check if two entities have exactly the same field models, not taking into account their order
|
static boolean |
EntityUtil.areEqualByIdAndType(EntityModel leftEntityModel,
EntityModel rightEntityModel)
Check if two entities are equal by id + type
|
static boolean |
EntityUtil.containsEntityModel(Collection<EntityModel> collection,
EntityModel entityModel)
Check if a collection contains and entity model, uses
EntityUtil.areEqualByIdAndType(EntityModel, EntityModel) |
static boolean |
EntityUtil.containsEntityModel(Collection<EntityModel> collection,
EntityModel entityModel,
EntityUtil.EntityEquator entityEquator)
Check if a collection contains and entity model, can use any
EntityUtil.EntityEquator |
org.json.JSONObject |
ModelParser.getEntityJSONObject(EntityModel entityModel)
get a new json object based on a given EntityModel object
|
org.json.JSONObject |
ModelParser.getEntityJSONObject(EntityModel entityModel,
boolean onlyDirty)
get a new json object based on a given EntityModel object
|
static boolean |
EntityUtil.removeEntityModel(Collection<EntityModel> collection,
EntityModel entityModel)
Remove an entity model from a collection, uses
EntityUtil.areEqualByIdAndType(EntityModel, EntityModel) |
static boolean |
EntityUtil.removeEntityModel(Collection<EntityModel> collection,
EntityModel entityModel,
EntityUtil.EntityEquator entityEquator)
Remove an entity model from a collection, can use any
EntityUtil.EntityEquator |
void |
ReferenceFieldModel.setValue(String name,
EntityModel value)
Set name/value
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
EntityUtil.containsAllEntityModels(Collection<EntityModel> baseCollection,
Collection<EntityModel> sourceCollection,
EntityUtil.EntityEquator entityEquator)
Check if baseCollection contains all elements of sourceCollection
|
static boolean |
EntityUtil.containsAllEntityModels(Collection<EntityModel> baseCollection,
Collection<EntityModel> sourceCollection,
EntityUtil.EntityEquator entityEquator)
Check if baseCollection contains all elements of sourceCollection
|
static boolean |
EntityUtil.containsEntityModel(Collection<EntityModel> collection,
EntityModel entityModel)
Check if a collection contains and entity model, uses
EntityUtil.areEqualByIdAndType(EntityModel, EntityModel) |
static boolean |
EntityUtil.containsEntityModel(Collection<EntityModel> collection,
EntityModel entityModel,
EntityUtil.EntityEquator entityEquator)
Check if a collection contains and entity model, can use any
EntityUtil.EntityEquator |
static boolean |
EntityUtil.containsSameEntities(Collection<EntityModel> leftCollection,
Collection<EntityModel> rightCollection,
EntityUtil.EntityEquator entityEquator)
Check if two entity collections contain the same entities
|
static boolean |
EntityUtil.containsSameEntities(Collection<EntityModel> leftCollection,
Collection<EntityModel> rightCollection,
EntityUtil.EntityEquator entityEquator)
Check if two entity collections contain the same entities
|
org.json.JSONObject |
ModelParser.getEntitiesJSONObject(Collection<EntityModel> entitiesModels)
get a new json object based on a given EntityModel list
|
org.json.JSONObject |
ModelParser.getEntitiesJSONObject(Collection<EntityModel> entitiesModels,
boolean onlyDirty)
get a new json object based on a given EntityModel list
|
static boolean |
EntityUtil.removeEntityModel(Collection<EntityModel> collection,
EntityModel entityModel)
Remove an entity model from a collection, uses
EntityUtil.areEqualByIdAndType(EntityModel, EntityModel) |
static boolean |
EntityUtil.removeEntityModel(Collection<EntityModel> collection,
EntityModel entityModel,
EntityUtil.EntityEquator entityEquator)
Remove an entity model from a collection, can use any
EntityUtil.EntityEquator |
void |
MultiReferenceFieldModel.setValue(String newName,
Collection<EntityModel> value)
set name/value;
|
| Constructor and Description |
|---|
ReferenceFieldModel(String name,
EntityModel value)
Creates a new ReferenceFieldModel object
|
TypedEntityModel(EntityModel wrappedEntityModel)
Constructor with an existing
EntityModel. |
| Constructor and Description |
|---|
MultiReferenceFieldModel(String newName,
Collection<EntityModel> value)
Creates a new MultiReferenceFieldModel object
|
| Modifier and Type | Method and Description |
|---|---|
EntityModel |
OctaneRequest.getEntityResponse(OctaneHttpRequest octaneHttpRequest)
get entity result based on Http Request
|
| Modifier and Type | Method and Description |
|---|---|
OctaneCollection<EntityModel> |
OctaneRequest.getEntitiesResponse(OctaneHttpRequest octaneHttpRequest)
get entities result based on Http Request
|
Copyright © 2021 Micro Focus. All rights reserved.