Class CmsResourceState

    • Field Detail

      • STATE_CHANGED

        public static final CmsResourceState STATE_CHANGED
        Indicates if a resource has been changed in the offline version when compared to the online version.
      • STATE_DELETED

        public static final CmsResourceState STATE_DELETED
        Indicates if a resource has been deleted in the offline version when compared to the online version.
      • STATE_KEEP

        public static final CmsResourceState STATE_KEEP
        Special state value that indicates the current state must be kept on a resource, this value must never be written to the database.
      • STATE_NEW

        public static final CmsResourceState STATE_NEW
        Indicates if a resource is new in the offline version when compared to the online version.
      • STATE_UNCHANGED

        public static final CmsResourceState STATE_UNCHANGED
        Indicates if a resource is unchanged in the offline version when compared to the online version.
    • Constructor Detail

      • CmsResourceState

        @Deprecated
        protected CmsResourceState()
        Deprecated.
        Don't use this constructor! It is only used to transfer the resource state via RPC call.
        Default constructor for serialization.

      • CmsResourceState

        protected CmsResourceState​(int state,
                                   char abbrev)
        protected constructor.

        Parameters:
        state - an integer representing the state
        abbrev - an abbreviation character