
com.threatconnect.sdk.client.writer.associate.IndicatorAssociateWritable Maven / Gradle / Ivy
Show all versions of java-sdk Show documentation
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
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.response.entity.ApiEntitySingleResponse;
import java.io.IOException;
import java.util.List;
/**
*
* @author dtineo
*/
public interface IndicatorAssociateWritable {
public WriteListResponse associateIndicatorAddresses(P uniqueId, List ipAddresses) throws IOException;
public WriteListResponse associateIndicatorAddresses(P uniqueId, List ipAddresses, String ownerName)
throws IOException;
public ApiEntitySingleResponse associateIndicatorAddress(P uniqueId, String ipAddress) throws IOException, FailedResponseException;
public ApiEntitySingleResponse associateIndicatorAddress(P uniqueId, String ipAddress, String ownerName)
throws IOException, FailedResponseException;
public WriteListResponse associateIndicatorEmailAddresses(P uniqueId, List emailAddresses) throws IOException;
public WriteListResponse associateIndicatorEmailAddresses(P uniqueId, List emailAddresses, String ownerName)
throws IOException;
public ApiEntitySingleResponse associateIndicatorEmailAddress(P uniqueId, String emailAddress) throws IOException, FailedResponseException;
public ApiEntitySingleResponse associateIndicatorEmailAddress(P uniqueId, String emailAddress, String ownerName)
throws IOException, FailedResponseException;
public WriteListResponse associateIndicatorFiles(P uniqueId, List fileHashes) throws IOException;
public WriteListResponse associateIndicatorFiles(P uniqueId, List fileHashes, String ownerName)
throws IOException;
public ApiEntitySingleResponse associateIndicatorFile(P uniqueId, String fileHash) throws IOException, FailedResponseException;
public ApiEntitySingleResponse associateIndicatorFile(P uniqueId, String fileHash, String ownerName)
throws IOException, FailedResponseException;
public WriteListResponse associateIndicatorHosts(P uniqueId, List hostNames) throws IOException;
public WriteListResponse associateIndicatorHosts(P uniqueId, List hostNames, String ownerName)
throws IOException;
public ApiEntitySingleResponse associateIndicatorHost(P uniqueId, String hostName) throws IOException, FailedResponseException;
public ApiEntitySingleResponse associateIndicatorHost(P uniqueId, String hostName, String ownerName)
throws IOException, FailedResponseException;
public WriteListResponse associateIndicatorUrls(P uniqueId, List urlTexts) throws IOException;
public WriteListResponse associateIndicatorUrls(P uniqueId, List urlTexts, String ownerName)
throws IOException;
public ApiEntitySingleResponse associateIndicatorUrl(P uniqueId, String urlText) throws IOException, FailedResponseException;
public ApiEntitySingleResponse associateIndicatorUrl(P uniqueId, String urlText, String ownerName)
throws IOException, FailedResponseException;
public WriteListResponse dissociateIndicatorAddresses(P uniqueId, List ipAddresses) throws IOException;
public WriteListResponse dissociateIndicatorAddresses(P uniqueId, List ipAddresses, String ownerName)
throws IOException;
public ApiEntitySingleResponse dissociateIndicatorAddress(P uniqueId, String ipAddress) throws IOException, FailedResponseException;
public ApiEntitySingleResponse dissociateIndicatorAddress(P uniqueId, String ipAddress, String ownerName)
throws IOException, FailedResponseException;
public WriteListResponse dissociateIndicatorEmailAddresses(P uniqueId, List emailAddresses) throws IOException;
public WriteListResponse dissociateIndicatorEmailAddresses(P uniqueId, List emailAddresses, String ownerName)
throws IOException;
public ApiEntitySingleResponse dissociateIndicatorEmailAddress(P uniqueId, String emailAddress) throws IOException, FailedResponseException;
public ApiEntitySingleResponse dissociateIndicatorEmailAddress(P uniqueId, String emailAddress, String ownerName)
throws IOException, FailedResponseException;
public WriteListResponse dissociateIndicatorFiles(P uniqueId, List fileHashes) throws IOException;
public WriteListResponse dissociateIndicatorFiles(P uniqueId, List fileHashes, String ownerName)
throws IOException;
public ApiEntitySingleResponse dissociateIndicatorFile(P uniqueId, String fileHash) throws IOException, FailedResponseException;
public ApiEntitySingleResponse dissociateIndicatorFile(P uniqueId, String fileHash, String ownerName)
throws IOException, FailedResponseException;
public WriteListResponse dissociateIndicatorHosts(P uniqueId, List hostNames) throws IOException;
public WriteListResponse dissociateIndicatorHosts(P uniqueId, List hostNames, String ownerName)
throws IOException;
public ApiEntitySingleResponse dissociateIndicatorHost(P uniqueId, String hostName) throws IOException, FailedResponseException;
public ApiEntitySingleResponse dissociateIndicatorHost(P uniqueId, String hostName, String ownerName)
throws IOException, FailedResponseException;
public WriteListResponse dissociateIndicatorUrls(P uniqueId, List urlTexts) throws IOException;
public WriteListResponse dissociateIndicatorUrls(P uniqueId, List urlTexts, String ownerName)
throws IOException;
public ApiEntitySingleResponse dissociateIndicatorUrl(P uniqueId, String urlText) throws IOException, FailedResponseException;
public ApiEntitySingleResponse dissociateIndicatorUrl(P uniqueId, String urlText, String ownerName)
throws IOException, FailedResponseException;
}