class AttachmentHandler implements AttachmentService.Iface {

    @Override
    public List<AttachmentUsage> getAttachmentsUsages(Source owner, Set<String> attachmentContentIds, UsageData filter) throws TException {
        assertNotNull(owner);
        assertTrue(owner.isSet());
        assertNotNull(attachmentContentIds);
        if (attachmentContentIds.isEmpty()) {
            return Collections.emptyList();
        }
        return handler.getAttachmentUsages(owner, attachmentContentIds, filter);
    }

    public  AttachmentHandler();

}