18 namespace erminas.SmartAPI.CMS.Project.ContentClasses.Elements
22 bool IsDynamic {
get;
set; }
24 bool IsTargetContainer {
get;
set; }
26 bool IsTransferingContentOfFollowingPages {
get;
set; }
29 internal class Container : AbstractWorkflowAssignments, IContainer
31 private readonly ReferencePreassignment _referencePreassignment;
33 internal Container(
IContentClass contentClass, XmlElement xmlElement) : base(contentClass, xmlElement)
35 PreassignedContentClasses =
new PreassignedContentClassesAndPageDefinitions(
this);
36 _referencePreassignment =
new ReferencePreassignment(
this);
39 public override void Refresh()
41 _referencePreassignment.InvalidateCache();
50 public IReferencePreassignTarget PreassignedReference
52 get {
return _referencePreassignment.Target; }
53 set { _referencePreassignment.Target = value; }
56 [RedDot(
"eltisdynamic")]
59 get {
return GetAttributeValue<bool>(); }
60 set { SetAttributeValue(value); }
63 [RedDot(
"eltistargetcontainer")]
64 public bool IsTargetContainer
66 get {
return GetAttributeValue<bool>(); }
67 set { SetAttributeValue(value); }
70 [RedDot(
"eltextendedlist")]
71 public bool IsTransferingContentOfFollowingPages
73 get {
return GetAttributeValue<bool>(); }
74 set { SetAttributeValue(value); }
77 public PreassignedContentClassesAndPageDefinitions PreassignedContentClasses {
get;
private set; }