Interface Audience


@ConsumerType public interface Audience
Represents an interface for the audiences and is intended to be used by UI.
  • Method Details

    • getTitle

      String getTitle()
      Returns the audience title
      Returns:
      Title of the resource or the resource name if title is not available.
    • getPath

      String getPath()
      Returns the path.
      Returns:
      Path of the resource.
    • getResourceType

      String getResourceType()
      Returns the resource type.
      Returns:
      Resource type of the resource.
    • getLastModified

      Calendar getLastModified()
      Returns the last modified date.
      Returns:
      Last modification date or null
    • getLastModifiedBy

      String getLastModifiedBy()
      Returns the formatted user name by whom the item has been modified.
      Returns:
      Formatted user name, identifier or null
    • getLastPublished

      Calendar getLastPublished()
      Returns the last publication date.
      Returns:
      Last publication date or null
    • getLastPublishedBy

      String getLastPublishedBy()
      Returns the formatted user name by whom the item has been published.
      Returns:
      Formatted user name, identifier or null
    • getClasses

      String getClasses()
      Returns the applicable CSS classes.
      Returns:
      Space separated CSS classes or an empty string
    • getAudienceType

      String getAudienceType()
      Returns the audience type which can be either 'CC', 'CH', 'AT' or 'folder'.
      Returns:
      Audience type
    • getAudienceJson

      String getAudienceJson()
      Returns the audience JSON
      Returns:
      Audience JSON or null
    • getConfigPath

      String getConfigPath()
      Returns the path to the cloud configuration.
      Returns:
      Cloud configuration path or null
    • getNavigatorHref

      String getNavigatorHref()
      Returns the navigator HREF attribute.
      Returns:
      Navigator href attribute or null
    • getQuickactionsRels

      List<String> getQuickactionsRels()
      Returns the quick actions relations.
      Returns:
      A list of quick actions relations or an empty list
    • isEditable

      boolean isEditable()
      Return true if resource is editable.
      Returns:
      true it resource is editable, false otherwise
    • isFolder

      boolean isFolder()
      Returns true if resource is of type folder.
      Returns:
      true if resource is a folder, false otherwise