Class DmDependencyTO

java.lang.Object
org.craftercms.studio.api.v1.to.DmDependencyTO
All Implemented Interfaces:
Serializable

public class DmDependencyTO extends Object implements Serializable
contains the dependent file names of the content specified by the URI
Author:
hyanghee
See Also:
  • Field Details

    • _assets

      protected List<DmDependencyTO> _assets
    • _components

      protected List<DmDependencyTO> _components
    • _documents

      protected List<DmDependencyTO> _documents
    • _pages

      protected List<DmDependencyTO> _pages
    • _deletedItems

      protected List<DmDependencyTO> _deletedItems
    • _children

      protected List<DmDependencyTO> _children
    • _renderingTemplates

      protected List<DmDependencyTO> _renderingTemplates
    • _levelDescriptors

      protected List<DmDependencyTO> _levelDescriptors
    • _uri

      protected String _uri
    • _submittedBy

      protected String _submittedBy
    • _workflowTasks

      protected List<String> _workflowTasks
    • _deleted

      protected boolean _deleted
    • _isNow

      protected boolean _isNow
    • _isReference

      protected boolean _isReference
    • _submittedForDeletion

      protected boolean _submittedForDeletion
    • _submitted

      protected boolean _submitted
    • _inProgress

      protected boolean _inProgress
    • _sendEmail

      protected boolean _sendEmail
    • _scheduledDate

      protected ZonedDateTime _scheduledDate
    • _deleteEmptyParentFolder

      protected boolean _deleteEmptyParentFolder
  • Constructor Details

    • DmDependencyTO

      public DmDependencyTO()
  • Method Details

    • getAssets

      public List<DmDependencyTO> getAssets()
      Returns:
      the assets
    • setAssets

      public void setAssets(List<DmDependencyTO> assets)
      Parameters:
      assets - the assets to set
    • getComponents

      public List<DmDependencyTO> getComponents()
      Returns:
      the components
    • setComponents

      public void setComponents(List<DmDependencyTO> components)
      Parameters:
      components - the components to set
    • getDocuments

      public List<DmDependencyTO> getDocuments()
      Returns:
      the documents
    • setDocuments

      public void setDocuments(List<DmDependencyTO> documents)
      Parameters:
      documents - the documents to set
    • getRenderingTemplates

      public List<DmDependencyTO> getRenderingTemplates()
      Returns:
      the rendering templates
    • setRenderingTemplates

      public void setRenderingTemplates(List<DmDependencyTO> templates)
      Parameters:
      templates - the rendering templates to set
    • getLevelDescriptors

      public List<DmDependencyTO> getLevelDescriptors()
      Returns:
      the level descriptors
    • setLevelDescriptors

      public void setLevelDescriptors(List<DmDependencyTO> levelDescriptors)
      Parameters:
      levelDescriptors - the level descriptors to set
    • getUri

      public String getUri()
      Returns:
      the uri
    • setUri

      public void setUri(String uri)
      Parameters:
      uri - the uri to set
    • setPages

      public void setPages(List<DmDependencyTO> pages)
    • getPages

      public List<DmDependencyTO> getPages()
    • isDeleted

      public boolean isDeleted()
      Returns:
      the deleted
    • setDeleted

      public void setDeleted(boolean deleted)
      Parameters:
      deleted - the deleted to set
    • isNow

      public boolean isNow()
      Returns:
      the isNow
    • setNow

      public void setNow(boolean isNow)
      Parameters:
      isNow - the isNow to set
    • isReference

      public boolean isReference()
    • setReference

      public void setReference(boolean reference)
    • isSubmittedForDeletion

      public boolean isSubmittedForDeletion()
      Returns:
      the submitted for deletion
    • setSubmittedForDeletion

      public void setSubmittedForDeletion(boolean submittedForDeletion)
      Parameters:
      submittedForDeletion - for deletion to set
    • isSubmitted

      public boolean isSubmitted()
    • setSubmitted

      public void setSubmitted(boolean _submitted)
    • isInProgress

      public boolean isInProgress()
    • setInProgress

      public void setInProgress(boolean _inProgress)
    • getScheduledDate

      public ZonedDateTime getScheduledDate()
      Returns:
      the scheduledDate
    • setScheduledDate

      public void setScheduledDate(ZonedDateTime scheduledDate)
      Parameters:
      scheduledDate - the scheduledDate to set
    • flattenChildren

      public List<DmDependencyTO> flattenChildren()
    • getDeletedItems

      public List<DmDependencyTO> getDeletedItems()
    • setDeletedItems

      public void setDeletedItems(List<DmDependencyTO> deletedItems)
    • getChildren

      public List<DmDependencyTO> getChildren()
      Returns:
      the children
    • setChildren

      public void setChildren(List<DmDependencyTO> children)
      Parameters:
      children - the children to set
    • isSendEmail

      public boolean isSendEmail()
      Returns:
      the sendEmail
    • setSendEmail

      public void setSendEmail(boolean sendEmail)
      Parameters:
      sendEmail - the sendEmail to set
    • getSubmittedBy

      public String getSubmittedBy()
    • setSubmittedBy

      public void setSubmittedBy(String submittedBy)
    • getWorkflowTasks

      public List<String> getWorkflowTasks()
      Returns:
      the workflowTasks
    • setWorkflowTasks

      public void setWorkflowTasks(List<String> workflowTasks)
      Parameters:
      workflowTasks - the workflowTasks to set
    • setDeleteEmptyParentFolder

      public void setDeleteEmptyParentFolder(boolean _deleteEmptyParentFolder)
    • isDeleteEmptyParentFolder

      public boolean isDeleteEmptyParentFolder()
    • _flatten

      protected void _flatten(List<DmDependencyTO> dmDependencyTOList, DmDependencyTO parent)
    • getDirectDependencies

      public List<DmDependencyTO> getDirectDependencies()
      Return Component, Documents and Assets direct dependencies unlike the _flattenChildren
      Returns:
      list of direct dependencies
    • toString

      public String toString()
      Overrides:
      toString in class Object