<?php

/**
 * This file is part of the Akeneo Dam Module.
 *
 * (c) 2019 Webkul Soft. Pvt. Ltd. (http://www.webkul.com)
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */
namespace Webkul\DamBundle\Model;

use Akeneo\Component\Classification\Model\CategoryInterface as BaseCategoryInterface;
use Akeneo\Component\Localization\Model\TranslatableInterface;
use Akeneo\Component\Versioning\Model\VersionableInterface;
use Pim\Component\Catalog\Model\ReferableInterface;

/**
 * Category interface
 *
 * @author Aman Srivastava <aman.srivastava462@webkul.com>
 */
interface AssetCategoryInterface extends
    BaseCategoryInterface,
    TranslatableInterface,
    ReferableInterface,
    VersionableInterface
{
    /**
     * Predicate to know if this category has asset(s) linked
     *
     * @return bool
     */
    public function hasAssets();

    /**
     * Get assets for this category node
     *
     * @return AssetInterface[]
     */
    public function getAssets();
}
