|
RichFaces Photoalbum 4.3.5.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.richfaces.photoalbum.model.Album
@Entity public class Album
Class for representing Album Entity. EJB3 Entity Bean
| Constructor Summary | |
|---|---|
Album()
|
|
| Method Summary | |
|---|---|
void |
addImage(Image image)
This method add image to collection of images of current album |
boolean |
equals(Object obj)
|
Image |
getCoveringImage()
This method determine covering image of this album |
Date |
getCreated()
|
String |
getDescription()
|
Long |
getId()
|
List<Image> |
getImages()
Getter for property images |
int |
getIndex(Image image)
This method determine index of specified image in collection of images, belongs to this album. |
String |
getName()
|
User |
getOwner()
Getter for property owner |
String |
getPath()
Return relative path of this album in file-system(relative to uploadRoot parameter) |
Shelf |
getShelf()
Getter for property shelf |
List<Image> |
getUnvisitedImages()
|
int |
hashCode()
|
boolean |
isEmpty()
This method determine is album empty or not |
boolean |
isOwner(User user)
|
boolean |
isPreDefined()
Getter for property preDefined |
boolean |
isShowAfterCreate()
|
void |
removeImage(Image image)
This method remove image from collection of images of album |
void |
setCoveringImage(Image coveringImage)
|
void |
setCreated(Date created)
|
void |
setDescription(String description)
|
void |
setName(String name)
|
void |
setShelf(Shelf parent)
|
void |
setShowAfterCreate(boolean showAfterCreate)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Album()
| Method Detail |
|---|
public Shelf getShelf()
public void setShelf(Shelf parent)
public Long getId()
public String getName()
public void setName(String name)
public String getDescription()
public void setDescription(String description)
public List<Image> getImages()
public Date getCreated()
public void setCreated(Date created)
public List<Image> getUnvisitedImages()
public void setCoveringImage(Image coveringImage)
coveringImage - - Image for covering albumpublic void addImage(Image image)
image - - image to addpublic void removeImage(Image image)
image - - image to removepublic User getOwner()
public boolean isOwner(User user)
public int getIndex(Image image)
public Image getCoveringImage()
public boolean isEmpty()
public boolean isPreDefined()
public String getPath()
public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Objectpublic boolean isShowAfterCreate()
public void setShowAfterCreate(boolean showAfterCreate)
|
RichFaces Photoalbum 4.3.5.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||