Class Media


  • public class Media
    extends java.lang.Object
    Entity class for an media from the Media Service
    Since:
    7.0.0
    Version:
    $Revision$ $Date$
    • Constructor Detail

      • Media

        public Media()
    • Method Detail

      • getId

        public java.lang.String getId()
      • getMediaFile

        public java.lang.String getMediaFile()
      • setMediaFile

        public void setMediaFile​(java.lang.String mediaFile)
      • getLegend

        public java.lang.String getLegend()
      • setLegend

        public void setLegend​(java.lang.String legend)
      • getTitle

        public java.lang.String getTitle()
      • setTitle

        public void setTitle​(java.lang.String title)
      • getDescription

        public java.lang.String getDescription()
      • setDescription

        public void setDescription​(java.lang.String description)
      • getType

        public int getType()
      • setType

        public void setType​(int type)
      • getParentFolder

        public java.lang.String getParentFolder()
      • setParentFolder

        public void setParentFolder​(java.lang.String parentFolder)
      • getCredits

        public java.lang.String getCredits()
      • setCredits

        public void setCredits​(java.lang.String credits)
      • getInheritPublishTo

        public boolean getInheritPublishTo()
        Returns whether the publish to principals for this media is inherited from its parent folder.
        Returns:
        true if the publish to principals is inherited, false otherwise.
        Since:
        10.1.0
      • setInheritPublishTo

        public void setInheritPublishTo​(boolean inheritPublishTo)
        Sets whether the publish to principals for this media is inherited from its parent folder.
        Parameters:
        inheritPublishTo - true if the publish to principals is inherited, false otherwise.
        Since:
        10.1.0