
com.threatconnect.sdk.client.writer.VictimWriterAdapter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-sdk Show documentation
Show all versions of java-sdk Show documentation
The ThreatConnect Java SDK. Used to communicate with teh ThreatConnect Threat Intelligence Platform
The newest version!
package com.threatconnect.sdk.client.writer;
import com.threatconnect.sdk.client.UrlTypeable;
import com.threatconnect.sdk.client.response.WriteListResponse;
import com.threatconnect.sdk.client.writer.associate.*;
import com.threatconnect.sdk.conn.Connection;
import com.threatconnect.sdk.exception.FailedResponseException;
import com.threatconnect.sdk.server.entity.Victim;
import com.threatconnect.sdk.server.response.entity.ApiEntitySingleResponse;
import com.threatconnect.sdk.server.response.entity.VictimResponse;
import java.io.IOException;
import java.util.List;
/**
* VictimWriterAdapter is the primary writer adapter for all Victim level objects.
* It uses the {@link Connection} object to execute requests against the {@link com.threatconnect.sdk.conn.AbstractRequestExecutor} object.
* The responsibility of this class is to encapsulate all the low level ThreatConnect API calls
* specifically targeted at data under the Victim type.
*
*
* @author dtineo
*/
public class VictimWriterAdapter
extends AbstractBaseWriterAdapter
implements UrlTypeable, GroupAssociateWritable
, IndicatorAssociateWritable, VictimAssetAssociateWritable {
// composite pattern
private AbstractGroupAssociateWriterAdapter groupAssocWriter;
private AbstractIndicatorAssociateWriterAdapter indAssocWriter;
private AbstractVictimAssetAssociateWriterAdapter victimAssetAssocWriter;
/**
* Package level constructor. Use the {@link WriterAdapterFactory} to access this object.
* @param conn Primary connection object to the ThreatConnect API
*
* @see WriterAdapterFactory
*/
protected VictimWriterAdapter(Connection conn) {
super(conn, VictimResponse.class );
initComposite();
}
private void initComposite() {
groupAssocWriter = new AbstractGroupAssociateWriterAdapter(
VictimWriterAdapter.this.getConn()
, VictimWriterAdapter.this.singleType
) {
@Override
protected String getUrlBasePrefix() {
return VictimWriterAdapter.this.getUrlBasePrefix();
}
@Override
public Integer getId(Victim item) {
return VictimWriterAdapter.this.getId(item);
}
@Override
public String getUrlType()
{
return VictimWriterAdapter.this.getUrlType();
}
};
indAssocWriter = new AbstractIndicatorAssociateWriterAdapter(
VictimWriterAdapter.this.getConn()
, VictimWriterAdapter.this.singleType
) {
@Override
protected String getUrlBasePrefix() {
return VictimWriterAdapter.this.getUrlBasePrefix();
}
@Override
public String getUrlType() {
return VictimWriterAdapter.this.getUrlType();
}
@Override
public Integer getId(Victim item) {
return VictimWriterAdapter.this.getId(item);
}
};
victimAssetAssocWriter = new AbstractVictimAssetAssociateWriterAdapter(
VictimWriterAdapter.this.getConn()
, VictimWriterAdapter.this.singleType
) {
@Override
protected String getUrlBasePrefix() {
return VictimWriterAdapter.this.getUrlBasePrefix();
}
@Override
public Integer getId(Victim item) {
return VictimWriterAdapter.this.getId(item);
}
@Override
public String getUrlType() {
return VictimWriterAdapter.this.getUrlType();
}
};
}
@Override
protected String getUrlBasePrefix() {
return "v2.victims";
}
@Override
public Integer getId(Victim item) {
return item.getId();
}
@Override
public String getUrlType() {
return "victims";
}
@Override
public WriteListResponse associateGroupAdversaries(Integer uniqueId, List adversaryIds) throws IOException {
return groupAssocWriter.associateGroupAdversaries(uniqueId, adversaryIds);
}
@Override
public WriteListResponse associateGroupAdversaries(Integer uniqueId, List adversaryIds, String ownerName) throws IOException {
return groupAssocWriter.associateGroupAdversaries(uniqueId, adversaryIds, ownerName);
}
@Override
public ApiEntitySingleResponse associateGroupAdversary(Integer uniqueId, Integer adversaryId) throws IOException, FailedResponseException {
return groupAssocWriter.associateGroupAdversary(uniqueId, adversaryId);
}
@Override
public ApiEntitySingleResponse associateGroupAdversary(Integer uniqueId, Integer adversaryId, String ownerName) throws IOException, FailedResponseException {
return groupAssocWriter.associateGroupAdversary(uniqueId, adversaryId, ownerName);
}
@Override
public ApiEntitySingleResponse associateGroupDocument(Integer uniqueId, Integer documentId) throws IOException, FailedResponseException {
return groupAssocWriter.associateGroupDocument(uniqueId, documentId);
}
@Override
public ApiEntitySingleResponse associateGroupDocument(Integer uniqueId, Integer documentId, String ownerName) throws IOException, FailedResponseException {
return groupAssocWriter.associateGroupDocument(uniqueId, documentId, ownerName);
}
@Override
public WriteListResponse associateGroupEmails(Integer uniqueId, List emailIds) throws IOException {
return groupAssocWriter.associateGroupEmails(uniqueId, emailIds);
}
@Override
public WriteListResponse associateGroupEmails(Integer uniqueId, List emailIds, String ownerName) throws IOException {
return groupAssocWriter.associateGroupEmails(uniqueId, emailIds, ownerName);
}
@Override
public ApiEntitySingleResponse associateGroupEmail(Integer uniqueId, Integer emailId) throws IOException, FailedResponseException {
return groupAssocWriter.associateGroupEmail(uniqueId, emailId);
}
@Override
public ApiEntitySingleResponse associateGroupEmail(Integer uniqueId, Integer emailId, String ownerName) throws IOException, FailedResponseException {
return groupAssocWriter.associateGroupEmail(uniqueId, emailId, ownerName);
}
@Override
public WriteListResponse associateGroupIncidents(Integer uniqueId, List incidentIds) throws IOException {
return groupAssocWriter.associateGroupIncidents(uniqueId, incidentIds);
}
@Override
public WriteListResponse associateGroupIncidents(Integer uniqueId, List incidentIds, String ownerName) throws IOException {
return groupAssocWriter.associateGroupIncidents(uniqueId, incidentIds, ownerName);
}
@Override
public ApiEntitySingleResponse associateGroupIncident(Integer uniqueId, Integer incidentId) throws IOException, FailedResponseException {
return groupAssocWriter.associateGroupIncident(uniqueId, incidentId);
}
@Override
public ApiEntitySingleResponse associateGroupIncident(Integer uniqueId, Integer incidentId, String ownerName) throws IOException, FailedResponseException {
return groupAssocWriter.associateGroupIncident(uniqueId, incidentId, ownerName);
}
@Override
public WriteListResponse associateGroupSignatures(Integer uniqueId, List signatureIds) throws IOException {
return groupAssocWriter.associateGroupSignatures(uniqueId, signatureIds);
}
@Override
public WriteListResponse associateGroupSignatures(Integer uniqueId, List signatureIds, String ownerName) throws IOException {
return groupAssocWriter.associateGroupSignatures(uniqueId, signatureIds, ownerName);
}
@Override
public ApiEntitySingleResponse associateGroupSignature(Integer uniqueId, Integer signatureId) throws IOException, FailedResponseException {
return groupAssocWriter.associateGroupSignature(uniqueId, signatureId);
}
@Override
public ApiEntitySingleResponse associateGroupSignature(Integer uniqueId, Integer signatureId, String ownerName) throws IOException, FailedResponseException {
return groupAssocWriter.associateGroupSignature(uniqueId, signatureId, ownerName);
}
@Override
public WriteListResponse associateGroupThreats(Integer uniqueId, List threatIds) throws IOException {
return groupAssocWriter.associateGroupThreats(uniqueId, threatIds);
}
@Override
public WriteListResponse associateGroupThreats(Integer uniqueId, List threatIds, String ownerName) throws IOException {
return groupAssocWriter.associateGroupThreats(uniqueId, threatIds, ownerName);
}
@Override
public ApiEntitySingleResponse associateGroupThreat(Integer uniqueId, Integer threatId) throws IOException, FailedResponseException {
return groupAssocWriter.associateGroupThreat(uniqueId, threatId);
}
@Override
public ApiEntitySingleResponse associateGroupThreat(Integer uniqueId, Integer threatId, String ownerName) throws IOException, FailedResponseException {
return groupAssocWriter.associateGroupThreat(uniqueId, threatId, ownerName);
}
@Override
public WriteListResponse associateIndicatorAddresses(Integer uniqueId, List ipAddresses) throws IOException {
return indAssocWriter.associateIndicatorAddresses(uniqueId, ipAddresses);
}
@Override
public WriteListResponse associateIndicatorAddresses(Integer uniqueId, List ipAddresses, String ownerName) throws IOException {
return indAssocWriter.associateIndicatorAddresses(uniqueId, ipAddresses, ownerName);
}
@Override
public ApiEntitySingleResponse associateIndicatorAddress(Integer uniqueId, String ipAddress) throws IOException, FailedResponseException {
return indAssocWriter.associateIndicatorAddress(uniqueId, ipAddress);
}
@Override
public ApiEntitySingleResponse associateIndicatorAddress(Integer uniqueId, String ipAddress, String ownerName) throws IOException, FailedResponseException {
return indAssocWriter.associateIndicatorAddress(uniqueId, ipAddress, ownerName);
}
@Override
public WriteListResponse associateIndicatorEmailAddresses(Integer uniqueId, List emailAddresses) throws IOException {
return indAssocWriter.associateIndicatorEmailAddresses(uniqueId, emailAddresses);
}
@Override
public WriteListResponse associateIndicatorEmailAddresses(Integer uniqueId, List emailAddresses, String ownerName) throws IOException {
return indAssocWriter.associateIndicatorEmailAddresses(uniqueId, emailAddresses, ownerName);
}
@Override
public ApiEntitySingleResponse associateIndicatorEmailAddress(Integer uniqueId, String emailAddress) throws IOException, FailedResponseException {
return indAssocWriter.associateIndicatorEmailAddress(uniqueId, emailAddress);
}
@Override
public ApiEntitySingleResponse associateIndicatorEmailAddress(Integer uniqueId, String emailAddress, String ownerName) throws IOException, FailedResponseException {
return indAssocWriter.associateIndicatorAddress(uniqueId, emailAddress, ownerName);
}
@Override
public WriteListResponse associateIndicatorFiles(Integer uniqueId, List fileHashes) throws IOException {
return indAssocWriter.associateIndicatorFiles(uniqueId, fileHashes);
}
@Override
public WriteListResponse associateIndicatorFiles(Integer uniqueId, List fileHashes, String ownerName) throws IOException {
return indAssocWriter.associateIndicatorFiles(uniqueId, fileHashes, ownerName);
}
@Override
public ApiEntitySingleResponse associateIndicatorFile(Integer uniqueId, String fileHash) throws IOException, FailedResponseException {
return indAssocWriter.associateIndicatorFile(uniqueId, fileHash);
}
@Override
public ApiEntitySingleResponse associateIndicatorFile(Integer uniqueId, String fileHash, String ownerName) throws IOException, FailedResponseException {
return indAssocWriter.associateIndicatorAddress(uniqueId, fileHash, ownerName);
}
@Override
public WriteListResponse associateIndicatorHosts(Integer uniqueId, List hostNames) throws IOException {
return indAssocWriter.associateIndicatorHosts(uniqueId, hostNames);
}
@Override
public WriteListResponse associateIndicatorHosts(Integer uniqueId, List hostNames, String ownerName) throws IOException {
return indAssocWriter.associateIndicatorHosts(uniqueId, hostNames, ownerName);
}
@Override
public ApiEntitySingleResponse associateIndicatorHost(Integer uniqueId, String hostName) throws IOException, FailedResponseException {
return indAssocWriter.associateIndicatorHost(uniqueId, hostName);
}
@Override
public ApiEntitySingleResponse associateIndicatorHost(Integer uniqueId, String hostName, String ownerName) throws IOException, FailedResponseException {
return indAssocWriter.associateIndicatorHost(uniqueId, hostName, ownerName);
}
@Override
public WriteListResponse associateIndicatorUrls(Integer uniqueId, List urlTexts) throws IOException {
return indAssocWriter.associateIndicatorUrls(uniqueId, urlTexts);
}
@Override
public WriteListResponse associateIndicatorUrls(Integer uniqueId, List urlTexts, String ownerName) throws IOException {
return indAssocWriter.associateIndicatorUrls(uniqueId, urlTexts, ownerName);
}
@Override
public ApiEntitySingleResponse associateIndicatorUrl(Integer uniqueId, String urlText) throws IOException, FailedResponseException {
return indAssocWriter.associateIndicatorUrl(uniqueId, urlText);
}
@Override
public ApiEntitySingleResponse associateIndicatorUrl(Integer uniqueId, String urlText, String ownerName) throws IOException, FailedResponseException {
return indAssocWriter.associateIndicatorUrl(uniqueId, urlText, ownerName);
}
@Override
public WriteListResponse associateVictimAssetEmailAddresses(Integer uniqueId, List assetIds) throws IOException {
return victimAssetAssocWriter.associateVictimAssetEmailAddresses(uniqueId, assetIds);
}
@Override
public WriteListResponse associateVictimAssetEmailAddresses(Integer uniqueId, List assetIds, String ownerName) throws IOException {
return victimAssetAssocWriter. associateVictimAssetEmailAddresses(uniqueId, assetIds, ownerName);
}
@Override
public ApiEntitySingleResponse associateVictimAssetEmailAddress(Integer uniqueId, Integer assetId) throws IOException, FailedResponseException {
return victimAssetAssocWriter.associateVictimAssetEmailAddress(uniqueId, assetId);
}
@Override
public ApiEntitySingleResponse associateVictimAssetEmailAddress(Integer uniqueId, Integer assetId, String ownerName) throws IOException, FailedResponseException {
return victimAssetAssocWriter.associateVictimAssetEmailAddress(uniqueId, assetId, ownerName);
}
@Override
public WriteListResponse associateVictimAssetNetworkAccounts(Integer uniqueId, List assetIds) throws IOException {
return victimAssetAssocWriter.associateVictimAssetNetworkAccounts(uniqueId, assetIds);
}
@Override
public WriteListResponse associateVictimAssetNetworkAccounts(Integer uniqueId, List assetIds, String ownerName) throws IOException {
return victimAssetAssocWriter.associateVictimAssetNetworkAccounts(uniqueId, assetIds, ownerName);
}
@Override
public ApiEntitySingleResponse associateVictimAssetNetworkAccount(Integer uniqueId, Integer assetId) throws IOException, FailedResponseException {
return victimAssetAssocWriter.associateVictimAssetNetworkAccount(uniqueId, assetId);
}
@Override
public ApiEntitySingleResponse associateVictimAssetNetworkAccount(Integer uniqueId, Integer assetId, String ownerName) throws IOException, FailedResponseException {
return victimAssetAssocWriter.associateVictimAssetNetworkAccount(uniqueId, assetId, ownerName);
}
@Override
public WriteListResponse associateVictimAssetPhoneNumbers(Integer uniqueId, List assetIds) throws IOException {
return victimAssetAssocWriter.associateVictimAssetPhoneNumbers(uniqueId, assetIds);
}
@Override
public WriteListResponse associateVictimAssetPhoneNumbers(Integer uniqueId, List assetIds, String ownerName) throws IOException {
return victimAssetAssocWriter.associateVictimAssetPhoneNumbers(uniqueId, assetIds, ownerName);
}
@Override
public ApiEntitySingleResponse associateVictimAssetPhoneNumber(Integer uniqueId, Integer assetId) throws IOException, FailedResponseException {
return victimAssetAssocWriter.associateVictimAssetPhoneNumber(uniqueId, assetId);
}
@Override
public ApiEntitySingleResponse associateVictimAssetPhoneNumber(Integer uniqueId, Integer assetId, String ownerName) throws IOException, FailedResponseException {
return victimAssetAssocWriter.associateVictimAssetPhoneNumber(uniqueId, assetId, ownerName);
}
@Override
public WriteListResponse associateVictimAssetSocialNetworks(Integer uniqueId, List assetIds) throws IOException, FailedResponseException {
return victimAssetAssocWriter.associateVictimAssetSocialNetworks(uniqueId, assetIds);
}
@Override
public WriteListResponse associateVictimAssetSocialNetworks(Integer uniqueId, List assetIds, String ownerName) throws IOException {
return victimAssetAssocWriter.associateVictimAssetSocialNetworks(uniqueId, assetIds, ownerName);
}
@Override
public ApiEntitySingleResponse associateVictimAssetSocialNetwork(Integer uniqueId, Integer assetId) throws IOException, FailedResponseException {
return victimAssetAssocWriter.associateVictimAssetSocialNetwork(uniqueId, assetId);
}
@Override
public ApiEntitySingleResponse associateVictimAssetSocialNetwork(Integer uniqueId, Integer assetId, String ownerName) throws IOException, FailedResponseException {
return victimAssetAssocWriter.associateVictimAssetSocialNetwork(uniqueId, assetId, ownerName);
}
@Override
public WriteListResponse associateVictimAssetWebsites(Integer uniqueId, List assetIds) throws IOException {
return victimAssetAssocWriter.associateVictimAssetWebsites(uniqueId, assetIds);
}
@Override
public WriteListResponse associateVictimAssetWebsites(Integer uniqueId, List assetIds, String ownerName) throws IOException {
return victimAssetAssocWriter.associateVictimAssetWebsites(uniqueId, assetIds, ownerName);
}
@Override
public ApiEntitySingleResponse associateVictimAssetWebsite(Integer uniqueId, Integer assetId) throws IOException, FailedResponseException {
return victimAssetAssocWriter.associateVictimAssetWebsite(uniqueId, assetId);
}
@Override
public ApiEntitySingleResponse associateVictimAssetWebsite(Integer uniqueId, Integer assetId, String ownerName) throws IOException, FailedResponseException {
return victimAssetAssocWriter.associateVictimAssetWebsite(uniqueId, assetId, ownerName);
}
@Override
public WriteListResponse dissociateGroupAdversaries(Integer uniqueId, List adversaryIds) throws IOException {
return groupAssocWriter.dissociateGroupAdversaries(uniqueId, adversaryIds);
}
@Override
public WriteListResponse dissociateGroupAdversaries(Integer uniqueId, List adversaryIds, String ownerName) throws IOException {
return groupAssocWriter.associateGroupAdversaries(uniqueId, adversaryIds, ownerName);
}
@Override
public ApiEntitySingleResponse dissociateGroupAdversary(Integer uniqueId, Integer adversaryId) throws IOException, FailedResponseException {
return groupAssocWriter.associateGroupAdversary(uniqueId, adversaryId);
}
@Override
public ApiEntitySingleResponse dissociateGroupAdversary(Integer uniqueId, Integer adversaryId, String ownerName) throws IOException, FailedResponseException {
return groupAssocWriter.associateGroupAdversary(uniqueId, adversaryId, ownerName);
}
@Override
public WriteListResponse dissociateGroupEmails(Integer uniqueId, List emailIds) throws IOException {
return groupAssocWriter.dissociateGroupEmails(uniqueId, emailIds);
}
@Override
public WriteListResponse dissociateGroupEmails(Integer uniqueId, List emailIds, String ownerName) throws IOException {
return groupAssocWriter.dissociateGroupEmails(uniqueId, emailIds, ownerName);
}
@Override
public ApiEntitySingleResponse dissociateGroupEmail(Integer uniqueId, Integer emailId) throws IOException, FailedResponseException {
return groupAssocWriter.dissociateGroupEmail(uniqueId, emailId);
}
@Override
public ApiEntitySingleResponse dissociateGroupEmail(Integer uniqueId, Integer emailId, String ownerName) throws IOException, FailedResponseException {
return groupAssocWriter.dissociateGroupEmail(uniqueId, emailId, ownerName);
}
@Override
public WriteListResponse dissociateGroupIncidents(Integer uniqueId, List incidentIds) throws IOException {
return groupAssocWriter.dissociateGroupIncidents(uniqueId, incidentIds);
}
@Override
public WriteListResponse dissociateGroupIncidents(Integer uniqueId, List incidentIds, String ownerName) throws IOException {
return groupAssocWriter.dissociateGroupIncidents(uniqueId, incidentIds, ownerName);
}
@Override
public ApiEntitySingleResponse dissociateGroupIncident(Integer uniqueId, Integer incidentId) throws IOException, FailedResponseException {
return groupAssocWriter.dissociateGroupIncident(uniqueId, incidentId);
}
@Override
public ApiEntitySingleResponse dissociateGroupIncident(Integer uniqueId, Integer incidentId, String ownerName) throws IOException, FailedResponseException {
return groupAssocWriter.dissociateGroupIncident(uniqueId, incidentId, ownerName);
}
@Override
public WriteListResponse dissociateGroupSignatures(Integer uniqueId, List signatureIds) throws IOException {
return groupAssocWriter.dissociateGroupSignatures(uniqueId, signatureIds);
}
@Override
public WriteListResponse dissociateGroupSignatures(Integer uniqueId, List signatureIds, String ownerName) throws IOException {
return groupAssocWriter.dissociateGroupSignatures(uniqueId, signatureIds, ownerName);
}
@Override
public ApiEntitySingleResponse dissociateGroupSignature(Integer uniqueId, Integer signatureId) throws IOException, FailedResponseException {
return groupAssocWriter.associateGroupSignature(uniqueId, signatureId);
}
@Override
public ApiEntitySingleResponse dissociateGroupSignature(Integer uniqueId, Integer signatureId, String ownerName) throws IOException, FailedResponseException {
return groupAssocWriter.dissociateGroupSignature(uniqueId, signatureId, ownerName);
}
@Override
public WriteListResponse dissociateGroupThreats(Integer uniqueId, List threatIds) throws IOException {
return groupAssocWriter.dissociateGroupThreats(uniqueId, threatIds);
}
@Override
public WriteListResponse dissociateGroupThreats(Integer uniqueId, List threatIds, String ownerName) throws IOException {
return groupAssocWriter.dissociateGroupThreats(uniqueId, threatIds, ownerName);
}
@Override
public ApiEntitySingleResponse dissociateGroupThreat(Integer uniqueId, Integer threatId) throws IOException, FailedResponseException {
return groupAssocWriter.dissociateGroupThreat(uniqueId, threatId);
}
@Override
public ApiEntitySingleResponse dissociateGroupThreat(Integer uniqueId, Integer threatId, String ownerName) throws IOException, FailedResponseException {
return groupAssocWriter.dissociateGroupThreat(uniqueId, threatId, ownerName);
}
@Override
public WriteListResponse dissociateIndicatorAddresses(Integer uniqueId, List ipAddresses) throws IOException {
return indAssocWriter.dissociateIndicatorAddresses(uniqueId, ipAddresses);
}
@Override
public WriteListResponse dissociateIndicatorAddresses(Integer uniqueId, List ipAddresses, String ownerName) throws IOException {
return indAssocWriter.dissociateIndicatorAddresses(uniqueId, ipAddresses, ownerName);
}
@Override
public ApiEntitySingleResponse dissociateIndicatorAddress(Integer uniqueId, String ipAddress) throws IOException, FailedResponseException {
return indAssocWriter.dissociateIndicatorAddress(uniqueId, ipAddress);
}
@Override
public ApiEntitySingleResponse dissociateIndicatorAddress(Integer uniqueId, String ipAddress, String ownerName) throws IOException, FailedResponseException {
return indAssocWriter.dissociateIndicatorAddress(uniqueId, ipAddress, ownerName);
}
@Override
public WriteListResponse dissociateIndicatorEmailAddresses(Integer uniqueId, List emailAddresses) throws IOException {
return indAssocWriter.dissociateIndicatorEmailAddresses(uniqueId, emailAddresses);
}
@Override
public WriteListResponse dissociateIndicatorEmailAddresses(Integer uniqueId, List emailAddresses, String ownerName) throws IOException {
return indAssocWriter.dissociateIndicatorEmailAddresses(uniqueId, emailAddresses, ownerName);
}
@Override
public ApiEntitySingleResponse dissociateIndicatorEmailAddress(Integer uniqueId, String emailAddress) throws IOException, FailedResponseException {
return indAssocWriter.dissociateIndicatorEmailAddress(uniqueId, emailAddress);
}
@Override
public ApiEntitySingleResponse dissociateIndicatorEmailAddress(Integer uniqueId, String emailAddress, String ownerName) throws IOException, FailedResponseException {
return indAssocWriter.dissociateIndicatorEmailAddress(uniqueId, emailAddress, ownerName);
}
@Override
public WriteListResponse dissociateIndicatorFiles(Integer uniqueId, List fileHashes) throws IOException {
return indAssocWriter.dissociateIndicatorFiles(uniqueId, fileHashes);
}
@Override
public WriteListResponse dissociateIndicatorFiles(Integer uniqueId, List fileHashes, String ownerName) throws IOException {
return indAssocWriter.dissociateIndicatorFiles(uniqueId, fileHashes, ownerName);
}
@Override
public ApiEntitySingleResponse dissociateIndicatorFile(Integer uniqueId, String fileHash) throws IOException, FailedResponseException {
return indAssocWriter.dissociateIndicatorFile(uniqueId, fileHash);
}
@Override
public ApiEntitySingleResponse dissociateIndicatorFile(Integer uniqueId, String fileHash, String ownerName) throws IOException, FailedResponseException {
return indAssocWriter.dissociateIndicatorFile(uniqueId, fileHash, ownerName);
}
@Override
public WriteListResponse dissociateIndicatorHosts(Integer uniqueId, List hostNames) throws IOException {
return indAssocWriter.dissociateIndicatorHosts(uniqueId, hostNames);
}
@Override
public WriteListResponse dissociateIndicatorHosts(Integer uniqueId, List hostNames, String ownerName) throws IOException {
return indAssocWriter.dissociateIndicatorHosts(uniqueId, hostNames, ownerName);
}
@Override
public ApiEntitySingleResponse dissociateIndicatorHost(Integer uniqueId, String hostName) throws IOException, FailedResponseException {
return indAssocWriter.dissociateIndicatorHost(uniqueId, hostName);
}
@Override
public ApiEntitySingleResponse dissociateIndicatorHost(Integer uniqueId, String hostName, String ownerName) throws IOException, FailedResponseException {
return indAssocWriter.dissociateIndicatorHost(uniqueId, hostName, ownerName);
}
@Override
public WriteListResponse dissociateIndicatorUrls(Integer uniqueId, List urlTexts) throws IOException {
return indAssocWriter.dissociateIndicatorUrls(uniqueId, urlTexts);
}
@Override
public WriteListResponse dissociateIndicatorUrls(Integer uniqueId, List urlTexts, String ownerName) throws IOException {
return indAssocWriter.dissociateIndicatorUrls(uniqueId, urlTexts, ownerName);
}
@Override
public ApiEntitySingleResponse dissociateIndicatorUrl(Integer uniqueId, String urlText) throws IOException, FailedResponseException {
return indAssocWriter.dissociateIndicatorUrl(uniqueId, urlText);
}
@Override
public ApiEntitySingleResponse dissociateIndicatorUrl(Integer uniqueId, String urlText, String ownerName) throws IOException, FailedResponseException {
return indAssocWriter.dissociateIndicatorUrl(uniqueId, urlText, ownerName);
}
@Override
public WriteListResponse dissociateVictimAssetEmailAddresses(Integer uniqueId, List assetIds) throws IOException {
return victimAssetAssocWriter.dissociateVictimAssetEmailAddresses(uniqueId, assetIds);
}
@Override
public WriteListResponse dissociateVictimAssetEmailAddresses(Integer uniqueId, List assetIds, String ownerName) throws IOException {
return victimAssetAssocWriter.dissociateVictimAssetEmailAddresses(uniqueId, assetIds, ownerName);
}
@Override
public ApiEntitySingleResponse dissociateVictimAssetEmailAddress(Integer uniqueId, Integer assetId) throws IOException, FailedResponseException {
return victimAssetAssocWriter.dissociateVictimAssetEmailAddress(uniqueId, assetId);
}
@Override
public ApiEntitySingleResponse dissociateVictimAssetEmailAddress(Integer uniqueId, Integer assetId, String ownerName) throws IOException, FailedResponseException {
return victimAssetAssocWriter.dissociateVictimAssetEmailAddress(uniqueId, assetId, ownerName);
}
@Override
public WriteListResponse dissociateVictimAssetNetworkAccounts(Integer uniqueId, List assetIds) throws IOException {
return victimAssetAssocWriter.dissociateVictimAssetNetworkAccounts(uniqueId, assetIds);
}
@Override
public WriteListResponse dissociateVictimAssetNetworkAccounts(Integer uniqueId, List assetIds, String ownerName) throws IOException {
return victimAssetAssocWriter.dissociateVictimAssetNetworkAccounts(uniqueId, assetIds, ownerName);
}
@Override
public ApiEntitySingleResponse dissociateVictimAssetNetworkAccount(Integer uniqueId, Integer assetId) throws IOException, FailedResponseException {
return victimAssetAssocWriter.associateVictimAssetNetworkAccount(uniqueId, assetId);
}
@Override
public ApiEntitySingleResponse dissociateVictimAssetNetworkAccount(Integer uniqueId, Integer assetId, String ownerName) throws IOException, FailedResponseException {
return victimAssetAssocWriter.dissociateVictimAssetNetworkAccount(uniqueId, assetId, ownerName);
}
@Override
public WriteListResponse dissociateVictimAssetPhoneNumbers(Integer uniqueId, List assetIds) throws IOException {
return victimAssetAssocWriter.dissociateVictimAssetPhoneNumbers(uniqueId, assetIds);
}
@Override
public WriteListResponse dissociateVictimAssetPhoneNumbers(Integer uniqueId, List assetIds, String ownerName) throws IOException {
return victimAssetAssocWriter.dissociateVictimAssetPhoneNumbers(uniqueId, assetIds, ownerName);
}
@Override
public ApiEntitySingleResponse dissociateVictimAssetPhoneNumber(Integer uniqueId, Integer assetId) throws IOException, FailedResponseException {
return victimAssetAssocWriter.dissociateVictimAssetPhoneNumber(uniqueId, assetId);
}
@Override
public ApiEntitySingleResponse dissociateVictimAssetPhoneNumber(Integer uniqueId, Integer assetId, String ownerName) throws IOException, FailedResponseException {
return victimAssetAssocWriter.dissociateVictimAssetPhoneNumber(uniqueId, assetId, ownerName);
}
@Override
public WriteListResponse dissociateVictimAssetSocialNetworks(Integer uniqueId, List assetIds) throws IOException, FailedResponseException {
return victimAssetAssocWriter.dissociateVictimAssetSocialNetworks(uniqueId, assetIds);
}
@Override
public WriteListResponse dissociateVictimAssetSocialNetworks(Integer uniqueId, List assetIds, String ownerName) throws IOException {
return victimAssetAssocWriter.dissociateVictimAssetSocialNetworks(uniqueId, assetIds, ownerName);
}
@Override
public ApiEntitySingleResponse dissociateVictimAssetSocialNetwork(Integer uniqueId, Integer assetId) throws IOException, FailedResponseException {
return victimAssetAssocWriter.dissociateVictimAssetSocialNetwork(uniqueId, assetId);
}
@Override
public ApiEntitySingleResponse dissociateVictimAssetSocialNetwork(Integer uniqueId, Integer assetId, String ownerName) throws IOException, FailedResponseException {
return victimAssetAssocWriter.dissociateVictimAssetSocialNetwork(uniqueId, assetId, ownerName);
}
@Override
public WriteListResponse dissociateVictimAssetWebsites(Integer uniqueId, List assetIds) throws IOException {
return victimAssetAssocWriter.dissociateVictimAssetWebsites(uniqueId, assetIds);
}
@Override
public WriteListResponse dissociateVictimAssetWebsites(Integer uniqueId, List assetIds, String ownerName) throws IOException {
return victimAssetAssocWriter.dissociateVictimAssetWebsites(uniqueId, assetIds, ownerName);
}
@Override
public ApiEntitySingleResponse dissociateVictimAssetWebsite(Integer uniqueId, Integer assetId) throws IOException, FailedResponseException {
return victimAssetAssocWriter.dissociateVictimAssetWebsite(uniqueId, assetId);
}
@Override
public ApiEntitySingleResponse dissociateVictimAssetWebsite(Integer uniqueId, Integer assetId, String ownerName) throws IOException, FailedResponseException {
return victimAssetAssocWriter.dissociateVictimAssetWebsite(uniqueId, assetId, ownerName);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy