Package lumis.service.media
Class Media
- java.lang.Object
-
- lumis.service.media.Media
-
public class Media extends Object
Entity class for an media from the Media Service- Since:
- 7.0.0
- Version:
- $Revision: 19963 $ $Date: 2017-02-21 19:28:29 -0300 (Tue, 21 Feb 2017) $
-
-
Field Summary
Fields Modifier and Type Field Description static int
TYPE_FOLDER
static int
TYPE_MEDIA
-
Constructor Summary
Constructors Constructor Description Media()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCredits()
String
getDescription()
String
getId()
boolean
getInheritPublishTo()
Returns whether the publish to principals for this media is inherited from itsparent folder
.String
getLegend()
String
getMediaFile()
String
getParentFolder()
String
getTitle()
int
getType()
void
setCredits(String credits)
void
setDescription(String description)
void
setInheritPublishTo(boolean inheritPublishTo)
Sets whether the publish to principals for this media is inherited from itsparent folder
.void
setLegend(String legend)
void
setMediaFile(String mediaFile)
void
setParentFolder(String parentFolder)
void
setTitle(String title)
void
setType(int type)
-
-
-
Field Detail
-
TYPE_MEDIA
public static final int TYPE_MEDIA
- See Also:
- Constant Field Values
-
TYPE_FOLDER
public static final int TYPE_FOLDER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
public String getId()
-
getMediaFile
public String getMediaFile()
-
setMediaFile
public void setMediaFile(String mediaFile)
-
getLegend
public String getLegend()
-
setLegend
public void setLegend(String legend)
-
getTitle
public String getTitle()
-
setTitle
public void setTitle(String title)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
getType
public int getType()
-
setType
public void setType(int type)
-
getParentFolder
public String getParentFolder()
-
setParentFolder
public void setParentFolder(String parentFolder)
-
getCredits
public String getCredits()
-
setCredits
public void setCredits(String credits)
-
getInheritPublishTo
public boolean getInheritPublishTo()
Returns whether the publish to principals for this media is inherited from itsparent 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 itsparent folder
.- Parameters:
inheritPublishTo
-true
if the publish to principals is inherited,false
otherwise.- Since:
- 10.1.0
-
-