Class Channel

    • Constructor Detail

      • Channel

        public Channel()
    • Method Detail

      • getParentId

        public String getParentId()
      • setParentId

        public void setParentId​(String parentId)
      • getParentTemplateId

        public String getParentTemplateId()
      • setParentTemplateId

        public void setParentTemplateId​(String parentTemplateId)
      • getName

        public String getName()
      • cloneAndPostponeDependencies

        public Channel cloneAndPostponeDependencies​(Queue<AccessControlEntry> entriesToAdd,
                                                    Queue<ParallelExecutor.IDatabaseTask> channelTemplateLinksToAdd)
        Creates a clone of this channel, without dependencies (which are postponed for add).
        Parameters:
        entriesToAdd - the queue for the ACL entries to add.
        channelTemplateLinksToAdd - the queue for the Channel Template Links to add.
        Returns:
        the clone.
        Since:
        6.2.0
      • clone

        protected Channel clone()
        Returns a shallow clone of this channel.
        Overrides:
        clone in class Object
        Returns:
        the clone.
      • isImplicitForeignKeysSet

        public boolean isImplicitForeignKeysSet()
        Indicates whether the implicit foreign keys, set by setImplicitForeignKeys(String, String, String, String), have been set.
        Returns:
        true if the implicit foreign keys are set, false otherwise.
        Since:
        6.2.0
      • setImplicitForeignKeys

        public void setImplicitForeignKeys​(String accessControlListId,
                                           String parentAccessControlListId,
                                           String propertyBagId,
                                           String parentPropertyBagId)
        Sets the implicit foreign keys in this channel. Required before it can be properly persisted to the database.
        Parameters:
        accessControlListId - the identifier for this channel's ACL. Must be null if the channel will be added (will be auto-generated).
        parentAccessControlListId - the identifier of the parent of this channel's ACL.
        propertyBagId - the identifier for this channel's property bag. Must be null if the channel will be added. (will be auto-generated).
        parentPropertyBagId - the identifier for the parent of this channel's property bag.
        Since:
        6.2.0