Class Channel

    • Constructor Detail

      • Channel

        public Channel()
    • Method Detail

      • getMetaTags

        public java.util.List<MetaTag> getMetaTags()
      • getCsss

        public java.util.List<ChannelCss> getCsss()
      • getParentId

        public java.lang.String getParentId()
      • setParentId

        public void setParentId​(java.lang.String parentId)
      • getParentTemplateId

        public java.lang.String getParentTemplateId()
      • setParentTemplateId

        public void setParentTemplateId​(java.lang.String parentTemplateId)
      • getName

        public java.lang.String getName()
      • getGroups

        public java.util.SortedSet<Group> getGroups()
      • cloneAndPostponeDependencies

        public Channel cloneAndPostponeDependencies​(java.util.Queue<AccessControlEntry> entriesToAdd,
                                                    java.util.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 java.lang.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​(java.lang.String accessControlListId,
                                           java.lang.String parentAccessControlListId,
                                           java.lang.String propertyBagId,
                                           java.lang.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
      • getDirectoryChannelId

        public java.lang.String getDirectoryChannelId()
        Description copied from interface: IFileStructureElement
        Returns the identifier of the channel that corresponds to the directory this element's file resides in.
        Specified by:
        getDirectoryChannelId in interface IFileStructureElement
        Returns:
        the identifier of the channel.
      • getStructureFileName

        public java.lang.String getStructureFileName()
        Description copied from interface: IFileStructureElement
        Returns the name of the structure file for this element.
        Specified by:
        getStructureFileName in interface IFileStructureElement
        Returns:
        the structure file name (only the file's name, does not include any path).
      • setFriendlyId

        public void setFriendlyId​(java.lang.String friendlyId)
        Description copied from interface: IFileStructureElement
        Sets the friendly identifier for this structure element.
        Specified by:
        setFriendlyId in interface IFileStructureElement
        Parameters:
        friendlyId - the friendly identifier.