Class PredictionChildrenRelation

java.lang.Object
org.alfresco.hxi_connector.hxi_extension.rest.api.PredictionChildrenRelation
All Implemented Interfaces:
org.alfresco.rest.framework.resource.actions.interfaces.RelationshipResourceAction.Create<PredictionModel>, org.alfresco.rest.framework.resource.actions.interfaces.RelationshipResourceAction.Read<PredictionModel>, org.alfresco.rest.framework.resource.actions.interfaces.ResourceAction

@RelationshipResource(name="predictions", entityResource=NodeEntityResource.class, title="Predictions for a node") public class PredictionChildrenRelation extends Object implements org.alfresco.rest.framework.resource.actions.interfaces.RelationshipResourceAction.Read<PredictionModel>, org.alfresco.rest.framework.resource.actions.interfaces.RelationshipResourceAction.Create<PredictionModel>
  • Constructor Details

    • PredictionChildrenRelation

      public PredictionChildrenRelation()
  • Method Details

    • readAll

      public org.alfresco.rest.framework.resource.parameters.CollectionWithPagingInfo<PredictionModel> readAll(String nodeId, org.alfresco.rest.framework.resource.parameters.Parameters params)
      Specified by:
      readAll in interface org.alfresco.rest.framework.resource.actions.interfaces.RelationshipResourceAction.Read<PredictionModel>
    • create

      public List<PredictionModel> create(String nodeId, List<PredictionModel> predictionModels, org.alfresco.rest.framework.resource.parameters.Parameters parameters)
      Specified by:
      create in interface org.alfresco.rest.framework.resource.actions.interfaces.RelationshipResourceAction.Create<PredictionModel>