Interface MetaInf

  • All Known Implementing Classes:
    DefaultMetaInf

    public interface MetaInf
    Abstracts the way of accessing the vault specific meta-info of a checkout.
    • Field Detail

      • FORMAT_VERSION_1

        static final int FORMAT_VERSION_1
        Format Version 1. Used for content assembled until Vault 1.2.8
        Since:
        2.0
        See Also:
        Constant Field Values
      • FORMAT_VERSION_2

        static final int FORMAT_VERSION_2
        Format Version 2. Used for content assembled since Vault 1.2.9
        Since:
        2.0
        See Also:
        Constant Field Values
      • PACKAGE_FORMAT_VERSION

        static final java.lang.String PACKAGE_FORMAT_VERSION
        Name of the package format version
        Since:
        2.0
        See Also:
        Constant Field Values
      • CREATED

        static final java.lang.String CREATED
        Name of the 'created' property
        See Also:
        Constant Field Values
      • CREATED_BY

        static final java.lang.String CREATED_BY
        Name of the 'created by' property
        See Also:
        Constant Field Values
    • Method Detail

      • getPackageFormatVersion

        int getPackageFormatVersion()
        Returns the package format version of this package. If the package lacks this information, FORMAT_VERSION_2 is returned, since this feature was implemented recently.
        Returns:
        the package format version
        Since:
        2.0
      • getSettings

        @CheckForNull
        VaultSettings getSettings()
        Returns the vault settings.
        Returns:
        the vault settings.
      • getFilter

        @CheckForNull
        WorkspaceFilter getFilter()
        Returns the workspace filter.
        Returns:
        the workspace filter.
      • getConfig

        @CheckForNull
        VaultFsConfig getConfig()
        Returns the vault config
        Returns:
        the vault config
      • getProperties

        @CheckForNull
        java.util.Properties getProperties()
        Returns the properties
        Returns:
        the properties
      • getNodeTypes

        @Nonnull
        java.util.Collection<NodeTypeSet> getNodeTypes()
        Returns the node types
        Returns:
        the node types
      • getPrivileges

        @CheckForNull
        PrivilegeDefinitions getPrivileges()
        Returns custom privileges defined in the meta inf.
        Returns:
        a collection of custom privileges.
        Since:
        3.0
      • hasDefinition

        boolean hasDefinition()
        Checks if the meta-inf contains a serialized definition.
        Returns:
        true if it contains a serialized definition.