Interface IdentifiableContentBean

    • Method Detail

      • getIdentifier

        @IndexField(name="id",
                    ignoreInCompound=true)
        String getIdentifier()

        This returns the identifier of the backing provider for this bean, for example some UUID or /documents/content/myprojec/news/article or http://www.example.com/foo/bar, or a RDBMS id, etc It is not allowed for any implementation to return null

        Since the return value for this method is used as the index document identifier, it must be unique for every bean that must be indexed

        Returns:
        the identifier for this IdentifiableContentBean