All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.microsoft.exchange.services.odata.model.Attachments Maven / Gradle / Ivy

The newest version!

package com.microsoft.exchange.services.odata.model;

import com.msopentech.odatajclient.engine.client.http.HttpClientException;
import com.msopentech.odatajclient.engine.communication.ODataClientErrorException;
import com.msopentech.odatajclient.engine.communication.ODataServerErrorException;

import com.microsoft.office.proxy.OfficeEntityContainerFactory;
import com.microsoft.office.proxy.OfficeEntitySet;
import com.msopentech.odatajclient.proxy.api.AbstractEntityCollection;
import com.msopentech.odatajclient.proxy.api.Query;
import com.msopentech.odatajclient.proxy.api.annotations.EntitySet;
import com.msopentech.odatajclient.proxy.api.annotations.CompoundKey;
import com.msopentech.odatajclient.proxy.api.annotations.CompoundKeyElement;
import com.microsoft.exchange.services.odata.model.system.*;
import com.microsoft.exchange.services.odata.model.system.types.*;
import com.microsoft.exchange.services.odata.model.*;
import com.microsoft.exchange.services.odata.model.types.*;

import com.google.common.util.concurrent.ListenableFuture;

// EdmSimpleType property imports
import com.msopentech.odatajclient.engine.data.ODataDuration;
import com.msopentech.odatajclient.engine.data.ODataTimestamp;
import com.msopentech.odatajclient.engine.data.metadata.edm.geospatial.Geospatial;
import com.msopentech.odatajclient.engine.data.metadata.edm.geospatial.GeospatialCollection;
import com.msopentech.odatajclient.engine.data.metadata.edm.geospatial.LineString;
import com.msopentech.odatajclient.engine.data.metadata.edm.geospatial.MultiLineString;
import com.msopentech.odatajclient.engine.data.metadata.edm.geospatial.MultiPoint;
import com.msopentech.odatajclient.engine.data.metadata.edm.geospatial.MultiPolygon;
import com.msopentech.odatajclient.engine.data.metadata.edm.geospatial.Point;
import com.msopentech.odatajclient.engine.data.metadata.edm.geospatial.Polygon;
import java.math.BigDecimal;
import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.util.Iterator;

/** Default IAttachments implementation. */
public class Attachments implements IAttachments {

    /** Proxy to communicate with service. */
    private IAttachments mProxy;

    /**
     * Constructor.
     *
     * @param proxy proxy to communicate with service.
     */
    public Attachments(IAttachments proxy) {
        mProxy = proxy;
    }


    /**
     * {@inheritDoc}
     */
    public Iterator iterator() throws HttpClientException, ODataServerErrorException, ODataClientErrorException {
        return mProxy.iterator();
    }

    /**
     * {@inheritDoc}
     */
    public void clear() {
        mProxy.clear();
    }

    /**
     * {@inheritDoc}
     */
    public Long count() {
        return mProxy.count();
    }

    /**
     * {@inheritDoc}
     */
    public ListenableFuture countAsync() {
        return mProxy.countAsync();
    }

    /**
     * {@inheritDoc}
     */
    public Query createQuery() {
        return mProxy.createQuery();
    }

    /**
     * {@inheritDoc}
     */
    public > Query createQuery(Class arg0) {
        return mProxy.createQuery(arg0);
    }

    /**
     * {@inheritDoc}
     */
    public void delete(String key) throws IllegalArgumentException, HttpClientException, ODataServerErrorException, ODataClientErrorException {
        mProxy.delete(key);     }

    /**
     * {@inheritDoc}
     */
    public  void delete(Iterable arg0) throws HttpClientException, ODataServerErrorException, ODataClientErrorException  {
        mProxy.delete(arg0);
    }

    /**
     * {@inheritDoc}
     */
    public Boolean exists(String key) throws IllegalArgumentException, HttpClientException, ODataServerErrorException, ODataClientErrorException  {
        return mProxy.exists(key);     }

    /**
     * {@inheritDoc}
     */
    public ListenableFuture existsAsync(String key) {
        return mProxy.existsAsync(key);
    }

    /**
     * {@inheritDoc}
     */
    public IAttachment get(String key) throws IllegalArgumentException, HttpClientException, ODataServerErrorException, ODataClientErrorException  {
        return mProxy.get(key);     }

    /**
     * {@inheritDoc}
     */
    public ListenableFuture getAsync(String key) throws IllegalArgumentException, HttpClientException, ODataServerErrorException, ODataClientErrorException  {
        return mProxy.getAsync(key);     }

    /**
     * {@inheritDoc}
     */
    public  S get(String key, Class arg1) throws IllegalArgumentException, HttpClientException, ODataServerErrorException, ODataClientErrorException {
        return mProxy.get(key, arg1);
    }

    /**
     * {@inheritDoc}
     */
    public  ListenableFuture getAsync(String key, Class arg1) throws IllegalArgumentException, HttpClientException, ODataServerErrorException, ODataClientErrorException {
        return mProxy.getAsync(key, arg1);
    }

    /**
     * {@inheritDoc}
     */
    public IAttachmentCollection getAll() throws HttpClientException, ODataServerErrorException, ODataClientErrorException  {
        return mProxy.getAll();
    }

    /**
     * {@inheritDoc}
     */
    public ListenableFuture getAllAsync() throws HttpClientException, ODataServerErrorException, ODataClientErrorException  {
        return mProxy.getAllAsync();
    }

    /**
     * {@inheritDoc}
     */
    public > SEC getAll(Class arg0) throws HttpClientException, ODataServerErrorException, ODataClientErrorException  {
        return mProxy.getAll(arg0);
    }

    /**
     * {@inheritDoc}
     */
    public > ListenableFuture getAllAsync(Class arg0) throws HttpClientException, ODataServerErrorException, ODataClientErrorException  {
        return mProxy.getAllAsync(arg0);
    }

    /**
     * {@inheritDoc}
     */
    public boolean retainAll(Collection c) {
        return mProxy.retainAll(c);
    }

    /**
     * {@inheritDoc}
     */
    public boolean removeAll(Collection c) {
        return mProxy.removeAll(c);
    }

    /**
     * {@inheritDoc}
     */
    public boolean remove(Object o) {
        return mProxy.remove(o);
    }

    /**
     * {@inheritDoc}
     */
    public boolean add(IAttachment e) {
        return mProxy.add(e);
    }

    /**
     * {@inheritDoc}
     */
    public boolean addAll(Collection c) {
        return mProxy.addAll(c);
    }

    /**
     * {@inheritDoc}
     */
    public boolean contains(Object o) {
        return mProxy.contains(o);
    }

    /**
     * {@inheritDoc}
     */
    public boolean containsAll(Collection c) {
        return mProxy.contains(c);
    }

    /**
     * {@inheritDoc}
     */
    public  T[] toArray(T[] a) {
        return mProxy.toArray(a);
    }

    /**
     * {@inheritDoc}
     */
    public Object[] toArray() {
        return mProxy.toArray();
    }

    /**
     * {@inheritDoc}
     */
    public boolean isEmpty() {
        return mProxy.isEmpty();
    }

    /**
     * {@inheritDoc}
     */
    public int size() {
        return mProxy.size();
    }

    /**
     * {@inheritDoc}
     */
     public void fetch() {
        mProxy.fetch();
     }

     /**
     * {@inheritDoc}
     */
     public ListenableFuture fetchAsync() {
        return mProxy.fetchAsync();
     }


    /**
     * {@inheritDoc}
     */
    public com.microsoft.exchange.services.odata.model.types.IAttachment newAttachment() {
        return mProxy.newAttachment();
    }
    
    /**
     * {@inheritDoc}
     */
    public com.microsoft.exchange.services.odata.model.types.IAttachmentCollection newAttachmentCollection() {
        return mProxy.newAttachmentCollection();
    }

    /**
     * {@inheritDoc}
     */
    public com.microsoft.exchange.services.odata.model.types.IFileAttachment newFileAttachment() {
        return mProxy.newFileAttachment();
    }
    
    /**
     * {@inheritDoc}
     */
    public com.microsoft.exchange.services.odata.model.types.IFileAttachmentCollection newFileAttachmentCollection() {
        return mProxy.newFileAttachmentCollection();
    }

    /**
     * {@inheritDoc}
     */
    public com.microsoft.exchange.services.odata.model.types.IItemAttachment newItemAttachment() {
        return mProxy.newItemAttachment();
    }
    
    /**
     * {@inheritDoc}
     */
    public com.microsoft.exchange.services.odata.model.types.IItemAttachmentCollection newItemAttachmentCollection() {
        return mProxy.newItemAttachmentCollection();
    }
}