
com.threatconnect.sdk.client.writer.associate.AttributeAssociateWritable Maven / Gradle / Ivy
Show all versions of java-sdk Show documentation
package com.threatconnect.sdk.client.writer.associate;
import com.threatconnect.sdk.client.response.WriteListResponse;
import com.threatconnect.sdk.exception.FailedResponseException;
import com.threatconnect.sdk.server.entity.Attribute;
import com.threatconnect.sdk.server.response.entity.ApiEntitySingleResponse;
import java.io.IOException;
import java.util.List;
public interface AttributeAssociateWritable {
public WriteListResponse addAttributes(P uniqueId, List attributes)
throws IOException;
public WriteListResponse addAttributes(P uniqueId, List attribute, String ownerName)
throws IOException;
public ApiEntitySingleResponse addAttribute(P uniqueId, Attribute attribute) throws IOException, FailedResponseException;
public ApiEntitySingleResponse addAttribute(P uniqueId, Attribute attribute, String ownerName)
throws IOException, FailedResponseException;
public WriteListResponse addAttributeSecurityLabels(P uniqueId, Integer attributeId, List securityLabels) throws IOException;
public WriteListResponse addAttributeSecurityLabels(P uniqueId, Integer attributeId, List securityLabels, String ownerName)
throws IOException;
public ApiEntitySingleResponse addAttributeSecurityLabel(P uniqueId, Integer attributeId, String securityLabel) throws IOException, FailedResponseException;
public ApiEntitySingleResponse addAttributeSecurityLabel(P uniqueId, Integer attributeId, String securityLabel, String ownerName)
throws IOException, FailedResponseException;
public WriteListResponse updateAttributes(P uniqueId, List attributes)
throws IOException;
public WriteListResponse updateAttributes(P uniqueId, List attribute, String ownerName)
throws IOException;
public ApiEntitySingleResponse updateAttribute(P uniqueId, Attribute attribute) throws IOException, FailedResponseException;
public ApiEntitySingleResponse updateAttribute(P uniqueId, Attribute attribute, String ownerName)
throws IOException, FailedResponseException;
public WriteListResponse deleteAttributes(P uniqueId, List attributes)
throws IOException;
public WriteListResponse deleteAttributes(P uniqueId, List attribute, String ownerName)
throws IOException;
public ApiEntitySingleResponse deleteAttribute(P uniqueId, Integer attribute) throws IOException, FailedResponseException;
public ApiEntitySingleResponse deleteAttribute(P uniqueId, Integer attribute, String ownerName)
throws IOException, FailedResponseException;
public WriteListResponse deleteAttributeSecurityLabels(P uniqueId, Integer attributeId, List securityLabels) throws IOException, FailedResponseException;
public WriteListResponse deleteAttributeSecurityLabels(P uniqueId, Integer attributeId, List securityLabels, String ownerName)
throws IOException, FailedResponseException;
public ApiEntitySingleResponse deleteAttributeSecurityLabel(P uniqueId, Integer attributeId, String securityLabel) throws IOException, FailedResponseException;
public ApiEntitySingleResponse deleteAttributeSecurityLabel(P uniqueId, Integer attributeId, String securityLabel, String ownerName)
throws IOException, FailedResponseException;
}