from zope.interface import Interface


class IJSONFolderListing(Interface):
    """Returns a folderish like listing in JSON"""

    def __init__(self, context):
        """Constructor"""

    def getBreadcrumbs(self):
        """Get breadcrumbs"""

    def getListing(self, filter_portal_types, rooted, document_base_url, upload_type=None):
        """Returns the actual listing"""
