Interface PublicationTemplate

  • All Known Implementing Classes:
    PublicationTemplateImpl

    public interface PublicationTemplate
    A PublicationTemplate describes a set of publication records built on a same template. A PublicationTemplate groups :
    1. a RecordTemplate which describes the built records.
    2. a RecordSet of records built on this template,
    3. an update Form used to create and update the publication items
    4. a view Form used to show the publications.
    5. a search form used to search the publication records.
    6. a result search view form to add publication records inside search result display
    • Method Detail

      • setExternalId

        void setExternalId​(String externalId)
      • getExternalId

        String getExternalId()
      • getDescription

        String getDescription()
      • getThumbnail

        String getThumbnail()
      • getFileName

        String getFileName()
      • isVisible

        boolean isVisible()
        Is this publication template visible to others?
        Returns:
        true if it is visible, false otherwise.
      • isLocked

        boolean isLocked()
        Is this publication template locked, and so not modifiable or deletable?
        Returns:
        true if it is locked, false otherwise.
      • isSearchable

        boolean isSearchable()
        Is the publication records described by this template can be searchable?
        Returns:
        true if the records are searchable, false othersise.
      • getFieldsForFacets

        List<String> getFieldsForFacets()
        Returns all field names which can generate a search facet
        Returns:
        a List of field name
      • isRestrictedVisibility

        boolean isRestrictedVisibility()
      • isRestrictedVisibilityToSpace

        boolean isRestrictedVisibilityToSpace()
      • isRestrictedVisibilityToApplication

        boolean isRestrictedVisibilityToApplication()
      • isRestrictedVisibilityToInstance

        boolean isRestrictedVisibilityToInstance()
      • isVisibleToUser

        boolean isVisibleToUser​(String userId)
      • isVisibleToDomain

        boolean isVisibleToDomain​(String domainId)
      • isDataEncrypted

        boolean isDataEncrypted()
      • isViewLayerExist

        boolean isViewLayerExist()
      • isUpdateLayerExist

        boolean isUpdateLayerExist()
      • isDirectoryUsage

        boolean isDirectoryUsage()