UploadedFileInterface.php 4.26 KiB
<?php
/*
 * Copyright (C) 2015 IRSTEA
 * All rights reserved.
 */
namespace Irstea\FileUploadBundle\Model;
use DateTime;
/**
 * @author Guillaume Perréal <guillaume.perreal@irstea.fr>
interface UploadedFileInterface
    const ETAT_EN_COURS = 'en-cours';
    const ETAT_ORPHELIN = 'orphelin';
    const ETAT_NORMAL   = 'normal';
    const ETAT_CORROMPU = 'corrompu';
    const ETAT_MANQUANT = 'manquant';
    const ETAT_REJETE   = 'rejete';
    /**
     * Get id
     * @return integer
    public function getId();
    /**
     * Set originalFilename
     * @param string $displayName
     * @return UploadedFileInterface
    public function setDisplayName($displayName);
    /**
     * Get originalFilename
     * @return string
    public function getDisplayName();
    /**
     * @param string $description
     * @return UploadedFileInterface
    public function setDescription($description = null);
    /**
     * @return string
    public function getDescription();
    /**
     * Get path
     * @return string
    public function getPath();
    /**
     * Set path
     * @param string $path
     * @return UploadedFileInterface