Class ConfluenceEntityObject

    • Constructor Detail

      • ConfluenceEntityObject

        public ConfluenceEntityObject()
    • Method Detail

      • getCreatorName

        public String getCreatorName()
        Deprecated.
        Since 5.2. See instead. If you need a username you would retrieve it by id from the UserAccessor.
        Returns:
        username of the creator, or null if created anonymously
      • getLastModifierName

        public String getLastModifierName()
        Deprecated.
        Since 5.2. See instead. If you need a username you would retrieve it by id from the UserAccessor.
        Returns:
        username of the last modifier, or null if none.
      • getLastModifier

        public ConfluenceUser getLastModifier()
        Since:
        5.2
      • setCreator

        public void setCreator​(ConfluenceUser creator)
        Since:
        5.2
      • setLastModifier

        public void setLastModifier​(ConfluenceUser lastModifier)
        Since:
        5.2
      • isPersistent

        public boolean isPersistent()
        This object is persistent if the id is not 0.
        Returns:
        true if this instance is a persisted label.
      • getRealClass

        public static Class getRealClass​(Object ceo)
        Get the real class of a content entity object. This is necessary as the object may be wrapped by a hibernate proxy.
        Parameters:
        ceo - Content entity object
        Returns:
        Underlying class of the ceo