org.apache.rave.provider.w3c.service.impl
Class W3CWidget

java.lang.Object
  extended by org.apache.rave.portal.model.Widget
      extended by org.apache.rave.provider.w3c.service.impl.W3CWidget
All Implemented Interfaces:
Serializable, org.apache.openjpa.enhance.PersistenceCapable, BasicEntity

public class W3CWidget
extends Widget

Extended version of Widget with some additional W3C metadata. Enables height/width setting in W3C widget rendering without affecting core Rave data model classes.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.rave.portal.model.Widget
PARAM_OWNER, PARAM_SEARCH_TERM, PARAM_STATUS, PARAM_TAG, PARAM_URL, pcStateManager, WIDGET_COUNT_ALL, WIDGET_COUNT_BY_FREE_TEXT, WIDGET_COUNT_BY_OWNER, WIDGET_COUNT_BY_STATUS, WIDGET_COUNT_BY_TAG, WIDGET_GET_ALL, WIDGET_GET_BY_FREE_TEXT, WIDGET_GET_BY_OWNER, WIDGET_GET_BY_STATUS, WIDGET_GET_BY_TAG, WIDGET_GET_BY_URL, WIDGET_UNASSIGN_OWNER
 
Fields inherited from interface org.apache.openjpa.enhance.PersistenceCapable
CHECK_READ, CHECK_WRITE, DESERIALIZED, LOAD_REQUIRED, MEDIATE_READ, MEDIATE_WRITE, READ_OK, READ_WRITE_OK, SERIALIZABLE
 
Constructor Summary
W3CWidget()
           
 
Method Summary
 int getHeight()
           
 int getWidth()
           
 void setHeight(int height)
           
 void setWidth(int width)
           
 
Methods inherited from class org.apache.rave.portal.model.Widget
equals, getAuthor, getAuthorEmail, getCategories, getComments, getDescription, getDisableRenderingMessage, getEntityId, getOwner, getRatings, getScreenshotUrl, getTags, getThumbnailUrl, getTitle, getTitleUrl, getType, getUrl, getWidgetStatus, hashCode, isDisableRendering, isFeatured, pcClearFields, pcCopyField, pcCopyFields, pcCopyKeyFieldsFromObjectId, pcCopyKeyFieldsFromObjectId, pcCopyKeyFieldsToObjectId, pcCopyKeyFieldsToObjectId, pcDirty, pcFetchObjectId, pcGetDetachedState, pcGetEnhancementContractVersion, pcGetGenericContext, pcGetManagedFieldCount, pcGetStateManager, pcGetVersion, pcIsDeleted, pcIsDetached, pcIsDirty, pcIsNew, pcIsPersistent, pcIsTransactional, pcNewInstance, pcNewInstance, pcNewObjectIdInstance, pcNewObjectIdInstance, pcProvideField, pcProvideFields, pcReplaceField, pcReplaceFields, pcReplaceStateManager, pcSerializing, pcSetDetachedState, setAuthor, setAuthorEmail, setCategories, setComments, setDescription, setDisableRendering, setDisableRenderingMessage, setEntityId, setFeatured, setOwner, setRatings, setScreenshotUrl, setTags, setThumbnailUrl, setTitle, setTitleUrl, setType, setUrl, setWidgetStatus, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

W3CWidget

public W3CWidget()
Method Detail

getWidth

public int getWidth()
Returns:
the width

setWidth

public void setWidth(int width)
Parameters:
width - the width to set

getHeight

public int getHeight()
Returns:
the height

setHeight

public void setHeight(int height)
Parameters:
height - the height to set


Copyright © 2011-2012 The Apache Software Foundation. All Rights Reserved.