Package lumis.service.media
Class Media
- java.lang.Object
-
- lumis.service.media.Media
-
public class Media extends java.lang.Object
Entity class for an media from the Media Service- Since:
- 7.0.0
- Version:
- $Revision$ $Date$
-
-
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 java.lang.String
getCredits()
java.lang.String
getDescription()
java.lang.String
getId()
boolean
getInheritPublishTo()
Returns whether the publish to principals for this media is inherited from itsparent folder
.java.lang.String
getLegend()
java.lang.String
getMediaFile()
java.lang.String
getParentFolder()
java.lang.String
getTitle()
int
getType()
void
setCredits(java.lang.String credits)
void
setDescription(java.lang.String description)
void
setInheritPublishTo(boolean inheritPublishTo)
Sets whether the publish to principals for this media is inherited from itsparent folder
.void
setLegend(java.lang.String legend)
void
setMediaFile(java.lang.String mediaFile)
void
setParentFolder(java.lang.String parentFolder)
void
setTitle(java.lang.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 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 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
-
-