public class Channel extends Object implements IFileStructureElement, Serializable, Cloneable
Documentation in this class focus synchronization behavior. About
the use behind the fields in the portal, see ChannelConfig
.
ChannelConfig
,
Serialized FormModifier and Type | Class and Description |
---|---|
static class |
Channel.CenterPage |
static class |
Channel.ChannelType
Enum for the
type field. |
static class |
Channel.GroupOrderComparator
Comparator used to order
groups . |
static class |
Channel.LayoutPageType |
static class |
Channel.LogPathType
Enum for the
friendlyPathType field. |
static class |
Channel.PageWebResourceDataProviderType |
static class |
Channel.Protocol |
Constructor and Description |
---|
Channel() |
Modifier and Type | Method and Description |
---|---|
protected Channel |
clone()
Returns a shallow clone of this channel.
|
Channel |
cloneAndPostponeDependencies(Queue<AccessControlEntry> entriesToAdd,
Queue<ParallelExecutor.IDatabaseTask> channelTemplateLinksToAdd)
Creates a clone of this channel, without dependencies (which are
postponed for add).
|
AccessControlList |
getAccessControlList() |
ChannelTemplateLink |
getChannelTemplateLink() |
List<ChannelCss> |
getCsss() |
String |
getDirectoryChannelId()
Returns the identifier of the channel that corresponds to the directory
this element's file resides in.
|
SortedSet<Group> |
getGroups() |
String |
getId()
Returns the element's identifier.
|
List<MetaTag> |
getMetaTags() |
String |
getName() |
String |
getParentId() |
String |
getParentTemplateId() |
PropertyBag |
getPropertyBag() |
String |
getStructureFileName()
Returns the name of the structure file for this element.
|
boolean |
isImplicitForeignKeysSet()
Indicates whether the implicit foreign keys, set by
setImplicitForeignKeys(String, String, String, String) ,
have been set. |
void |
setFriendlyId(String friendlyId)
Sets the friendly identifier for this structure element.
|
void |
setImplicitForeignKeys(String accessControlListId,
String parentAccessControlListId,
String propertyBagId,
String parentPropertyBagId)
Sets the implicit foreign keys in this channel.
|
void |
setParentId(String parentId) |
void |
setParentTemplateId(String parentTemplateId) |
public List<ChannelCss> getCsss()
public PropertyBag getPropertyBag()
public AccessControlList getAccessControlList()
public String getParentId()
public void setParentId(String parentId)
public String getParentTemplateId()
public void setParentTemplateId(String parentTemplateId)
public String getName()
public ChannelTemplateLink getChannelTemplateLink()
public Channel cloneAndPostponeDependencies(Queue<AccessControlEntry> entriesToAdd, Queue<ParallelExecutor.IDatabaseTask> channelTemplateLinksToAdd)
entriesToAdd
- the queue for the ACL entries to add.channelTemplateLinksToAdd
- the queue for the Channel Template Links to add.protected Channel clone()
public boolean isImplicitForeignKeysSet()
setImplicitForeignKeys(String, String, String, String)
,
have been set.public void setImplicitForeignKeys(String accessControlListId, String parentAccessControlListId, String propertyBagId, String parentPropertyBagId)
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.public String getId()
IFileStructureElement
getId
in interface IFileStructureElement
public String getDirectoryChannelId()
IFileStructureElement
getDirectoryChannelId
in interface IFileStructureElement
public String getStructureFileName()
IFileStructureElement
getStructureFileName
in interface IFileStructureElement
public void setFriendlyId(String friendlyId)
IFileStructureElement
setFriendlyId
in interface IFileStructureElement
friendlyId
- the friendly identifier.LumisXP 12.0.0.190809 - Copyright © 2006–2019 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.