|
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.Shelf
@Entity public class Shelf
| Constructor Summary | |
|---|---|
Shelf()
|
|
| Method Summary | |
|---|---|
void |
addAlbum(Album album)
This method add album to collection of albums of current shelf |
boolean |
equals(Object obj)
|
List<Album> |
getAlbums()
|
Date |
getCreated()
|
String |
getDescription()
|
Event |
getEvent()
|
Album |
getFirstAlbum()
This method return first album of current shelf or null if shelf haven't albums. |
Long |
getId()
|
List<Image> |
getImages()
|
String |
getName()
Getter for property name |
User |
getOwner()
|
String |
getPath()
Return relative path of this shelf in file-system(relative to uploadRoot parameter) |
List<Image> |
getUnvisitedImages()
|
int |
hashCode()
|
boolean |
isOwner(User user)
|
boolean |
isPreDefined()
Getter for property preDefined |
boolean |
isShared()
Getter for property shared. |
void |
removeAlbum(Album album)
This method remove album from collection of albums of album |
void |
setCreated(Date created)
|
void |
setDescription(String description)
|
void |
setEvent(Event event)
|
void |
setName(String name)
|
void |
setOwner(User owner)
|
void |
setShared(boolean shared)
Setter for property shared |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Shelf()
| Method Detail |
|---|
public boolean isPreDefined()
public Long getId()
public String getName()
public void setName(String name)
public String getDescription()
public void setDescription(String description)
public List<Album> getAlbums()
public User getOwner()
public void setOwner(User owner)
public boolean isOwner(User user)
public Date getCreated()
public void setCreated(Date created)
public boolean isShared()
public void setShared(boolean shared)
shared - - determine is this shelf will be accessible by other users.public List<Image> getUnvisitedImages()
public List<Image> getImages()
public void addAlbum(Album album)
album - - album to addpublic void removeAlbum(Album album)
album - - album to removepublic Album getFirstAlbum()
public String getPath()
public Event getEvent()
public void setEvent(Event event)
public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
RichFaces Photoalbum 4.3.5.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||