|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.portal.business.style.PageTemplateHome
public final class PageTemplateHome
This class provides instances management methods (create, find, ...) for PageTemplate objects
Method Summary | |
---|---|
static boolean |
checkStylePageTemplateIsUsed(int nPageTemplateId)
Checks if a page template is used by a page |
static PageTemplate |
create(PageTemplate pageTemplate)
Creation of an instance of a page template |
static PageTemplate |
findByPrimaryKey(int nKey)
Returns an instance of an page template whose identifier is specified in parameter |
static java.util.List<PageTemplate> |
getPageTemplatesList()
Return the list of all the page templates |
static void |
remove(int nId)
Remove the page template whose identifier is specified in parameter |
static PageTemplate |
update(PageTemplate pageTemplate)
Update of the page template which is specified |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static PageTemplate create(PageTemplate pageTemplate)
pageTemplate
- template An instance of a page template which contains the informations to store
public static PageTemplate update(PageTemplate pageTemplate)
pageTemplate
- The instance of the page template which contains the data to store
public static void remove(int nId)
nId
- The identifier of the page template to removepublic static PageTemplate findByPrimaryKey(int nKey)
nKey
- The page template primary key
public static java.util.List<PageTemplate> getPageTemplatesList()
public static boolean checkStylePageTemplateIsUsed(int nPageTemplateId)
nPageTemplateId
- The identifier of the page Template
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |