nl.gx.webmanager.cms.element
Interface Ecard


public interface Ecard

Interface for the Ecard Element.


Method Summary
 EcardLabel[] getEcardLabels()
          Return the Ecard labels attached to this ecard.
 int getId()
          Return the id of the ecard.
 Image getImage()
          Return the full image of the ecard.
 java.lang.String[] getLabels()
          Deprecated.  
 Link getLink()
          Return the link to this ecard.
 java.lang.String getName()
          Return the name of the ecard.
 Image getThumbnail()
          Return the thumbnail of the ecard.
 java.lang.String getUrl()
          Deprecated.  
 boolean hasLabel(java.lang.String[] labels)
          Deprecated.  
 

Method Detail

getName

java.lang.String getName()
Return the name of the ecard.

Returns:
the name of the ecard.

getImage

Image getImage()
Return the full image of the ecard.

Returns:
the full image of the ecard.

getThumbnail

Image getThumbnail()
Return the thumbnail of the ecard.

Returns:
the thumbnail of the ecard.

getId

int getId()
Return the id of the ecard.

Returns:
the id of the ecard.

getUrl

java.lang.String getUrl()
Deprecated. 

Return the URL to this ecard.

Returns:
the URL to this ecard.

getLink

Link getLink()
Return the link to this ecard.

Returns:
the link to this ecard.

getLabels

java.lang.String[] getLabels()
Deprecated. 

Return the labels (as String array) attached to this ecard.

Returns:
labels attached to this ecard as String array

getEcardLabels

EcardLabel[] getEcardLabels()
Return the Ecard labels attached to this ecard.

Returns:
Ecard labels attached to this ecard

hasLabel

boolean hasLabel(java.lang.String[] labels)
Deprecated. 

Return if this ecard has one of the given labels attached.

Parameters:
labels -
Returns:
true if this ecard has one or more of the given labels attached, otherwise false


Copyright © 2007-2011 GX Software BV. All Rights Reserved.