|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnl.gx.webmanager.wcb.foundation.ComponentDefinitionImpl
nl.gx.webmanager.wcb.mediaitemtype.impl.MediaItemComponentDefinitionImpl
public class MediaItemComponentDefinitionImpl
This class implements additional properties for media items to the default componentdefinition.
| Field Summary |
|---|
| Fields inherited from class nl.gx.webmanager.wcb.foundation.ComponentDefinitionImpl |
|---|
LOG |
| Constructor Summary | |
|---|---|
MediaItemComponentDefinitionImpl(boolean isLicensed,
java.lang.Class mediaClass)
Creates a new MediaItemComponentDefinitionImpl instance. |
|
| Method Summary | |
|---|---|
java.lang.String |
getContentType()
Returns the unique content type of this media item type. |
java.lang.String |
getContentTypeLabelId()
Return the label id to be assosiated with the contenttype. |
java.lang.String |
getIcon()
Return the name of the icon assosiated with this content type. |
boolean |
isArticle()
Returns if this media item type is of type article. |
void |
setContentType(java.lang.String contentType)
Setter for the content type. |
void |
setContentTypeLabelId(java.lang.String labelId)
Set the label id to be assosiated with the content type. |
void |
setIcon(java.lang.String icon)
Set the icon with which the content type is identified. |
void |
setIsArticle(boolean isArticle)
Setter for is article indication. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface nl.gx.webmanager.wcb.mediaitemtype.MediaItemComponentDefinition |
|---|
getDescription, getName, getNodeType |
| Constructor Detail |
|---|
public MediaItemComponentDefinitionImpl(boolean isLicensed,
java.lang.Class mediaClass)
MediaItemComponentDefinitionImpl instance.
isLicensed - Indicates whether the MediaComponent requires a license.mediaClass - The implementation class for the media item| Method Detail |
|---|
public void setIsArticle(boolean isArticle)
isArticle - Indicates if this media type is of type articlepublic boolean isArticle()
isArticle in interface MediaItemComponentDefinitionpublic void setContentType(java.lang.String contentType)
contentType - The content typepublic java.lang.String getContentType()
getContentType in interface MediaItemComponentDefinitionpublic void setIcon(java.lang.String icon)
icon - Name of the icon to identify the content type withpublic java.lang.String getIcon()
getIcon in interface MediaItemComponentDefinitionpublic void setContentTypeLabelId(java.lang.String labelId)
labelId - Label id to be assosiated with the content typepublic java.lang.String getContentTypeLabelId()
getContentTypeLabelId in interface MediaItemComponentDefinition
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||