|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectspcp7.imagegallery.view.managedbean.helper.EditContentWrapper
public class EditContentWrapper
Wraps a ContentFace for use within the browsing perspective of the
edit properties.
| Constructor Summary | |
|---|---|
EditContentWrapper(ContentFace cf,
PropertyWrapper appropriateProperty,
EditBean propBean,
java.lang.String thumbnailUrl)
Standard contstructor |
|
| Method Summary | |
|---|---|
PropertyWrapper |
getAppropriateProperty()
|
ContentFace |
getContent()
|
boolean |
getSelectionAllowed()
Evaluates content if selecting the wrapped content isallowed. |
java.lang.String |
getThumbnailUrl()
|
boolean |
isThumbnailAvailable()
|
void |
selectContent(javax.faces.event.ActionEvent ae)
Content was selected (user pressed select button within the browsing view) so update the property in the propBean. |
void |
setThumbnailUrl(java.lang.String thumbnailUrl)
|
void |
showParentElements(javax.faces.event.ActionEvent ae)
Retrieves the parent element of the currently browsed content. |
void |
showSubElements(javax.faces.event.ActionEvent ae)
Should be called when subelements of the clicked element should be shown. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EditContentWrapper(ContentFace cf,
PropertyWrapper appropriateProperty,
EditBean propBean,
java.lang.String thumbnailUrl)
cf - The content face to wrap.appropriateProperty - the property from which the browsing button was openedpropBean - the backing beanthumbnailUrl - the url of the thumbnail of this content or null if none
is provided.| Method Detail |
|---|
public ContentFace getContent()
public boolean isThumbnailAvailable()
public void selectContent(javax.faces.event.ActionEvent ae)
propBean.
ae - public void showSubElements(javax.faces.event.ActionEvent ae)
EditBean.retrieveCurrentBrowsedContent(ContentFace, PropertyWrapper)
with the current content.
ae - public void showParentElements(javax.faces.event.ActionEvent ae)
ae - public PropertyWrapper getAppropriateProperty()
public boolean getSelectionAllowed()
content if selecting the wrapped content isallowed.
public java.lang.String getThumbnailUrl()
public void setThumbnailUrl(java.lang.String thumbnailUrl)
thumbnailUrl - the thumbnailUrl to setpublic java.lang.String toString()
toString in class java.lang.ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||