|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.links.business.LinkDAO
public final class LinkDAO
This class provides Data Access methods for Link objects
| Method Summary | |
|---|---|
void |
delete(int nLinkId)
Delete a record from the table |
void |
insert(Link link)
Insert a new record in the table. |
Link |
load(int nLinkId)
Load the data of link from the table |
fr.paris.lutece.portal.service.image.ImageResource |
loadImageResource(int nIdLink)
Load a image corresponding to an Link |
int |
newPrimaryKey()
Calculate a new primary key to add a new record |
java.util.Collection<Link> |
selectByPortlet(int nIdPortlet)
load all the links registered in a specified portlet |
java.util.Collection<Link> |
selectList()
Returns a list of all the links |
void |
store(Link link)
Update the record in the table |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void insert(Link link)
insert in interface ILinkDAOlink - The instance of link objectpublic void delete(int nLinkId)
delete in interface ILinkDAOnLinkId - The indentifier of the link objectpublic Link load(int nLinkId)
load in interface ILinkDAOnLinkId - The indentifier of the link object
public void store(Link link)
store in interface ILinkDAOlink - The instance of link objectpublic int newPrimaryKey()
newPrimaryKey in interface ILinkDAOpublic java.util.Collection<Link> selectList()
selectList in interface ILinkDAOpublic java.util.Collection<Link> selectByPortlet(int nIdPortlet)
selectByPortlet in interface ILinkDAOnIdPortlet - The identifier of the portlet
public fr.paris.lutece.portal.service.image.ImageResource loadImageResource(int nIdLink)
ILinkDAO
loadImageResource in interface ILinkDAOnIdLink - The Link Id
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||