|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.fenalco.entities.Section
public class Section
Esta clase representa una seccíon de la página de inicio del sistema.
| Field Summary | |
|---|---|
private java.lang.String |
content
Contenido de la sección |
private java.lang.String |
email
Email de la persona responsable de esta sección |
private int |
id
id de la sección en la base de datos |
private java.lang.String |
image
URL de la imagen que está asociada a esta sección |
private java.lang.String |
name
Nombre de la sección |
| Constructor Summary | |
|---|---|
Section()
Constructor por defecto de la clase |
|
Section(int id)
Constructor de la clase |
|
| Method Summary | |
|---|---|
boolean |
delete(Transaction transaction)
Operación para eliminar la sección de la base de datos |
java.lang.String |
getContent()
Getter for property content. |
java.lang.String |
getEmail()
Getter for property email. |
int |
getId()
Getter for property id. |
java.lang.String |
getImage()
Getter for property image. |
java.lang.String |
getName()
Getter for property name. |
boolean |
loadData(int id)
Operación para guardar el objeto de base de datos |
boolean |
saveData(Transaction transaction)
Operación para guardar el objeto de base de datos |
void |
setContent(java.lang.String content)
Setter for property content. |
void |
setEmail(java.lang.String email)
Setter for property email. |
void |
setId(int id)
Setter for property id. |
void |
setImage(java.lang.String image)
Setter for property image. |
void |
setName(java.lang.String name)
Setter for property name. |
boolean |
update(Transaction transaction)
Operación para actualizar la sección en la base de datos |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private int id
private java.lang.String name
private java.lang.String content
private java.lang.String image
private java.lang.String email
| Constructor Detail |
|---|
public Section()
public Section(int id)
id - del sector| Method Detail |
|---|
public boolean loadData(int id)
public boolean saveData(Transaction transaction)
public boolean update(Transaction transaction)
public boolean delete(Transaction transaction)
public int getId()
public void setId(int id)
id - New value of property id.public java.lang.String getName()
public void setName(java.lang.String name)
name - New value of property name.public java.lang.String getContent()
public void setContent(java.lang.String content)
content - New value of property content.public java.lang.String getEmail()
public void setEmail(java.lang.String email)
email - New value of property email.public java.lang.String getImage()
public void setImage(java.lang.String image)
image - New value of property image.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||