|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.document.business.autopublication.DocumentAutoPublicationHome
public class DocumentAutoPublicationHome
This class provides instances management methods for DocumentAutoPublication objects
| Method Summary | |
|---|---|
static void |
add(DocumentAutoPublication documentAutoPublication)
Insert a new document auto publication |
static Collection<DocumentAutoPublication> |
findAll()
Loads all data Document Auto Publication |
static Collection<DocumentAutoPublication> |
findByPortletId(int nPortletId)
Load the list of Document Auto Publication whose portlet identifier is specified in parameter |
static DocumentAutoPublication |
findByPrimaryKey(int nPortletId,
int nSpaceId)
Loads the data of Document Auto Publication whose identifier is specified in parameter |
static Collection<DocumentAutoPublication> |
findBySpaceId(int nSpaceId)
Load the list of Document Auto Publication whose DocumentSpace identifier is specified in parameter |
static boolean |
isPortletAutoPublished(int nPortletId)
Check if the specified portlet is auto published |
static boolean |
isSpaceAutoPublished(int nSpaceId)
Check if the specified Space is auto published |
static void |
remove(int nPortletId,
int nSpaceId)
Delete a document auto publication object |
static void |
removeAllSpaces(int nPortletId)
Delete All Space from a portlet |
static void |
update(DocumentAutoPublication documentAutoPublication)
Update the document auto publication |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void add(DocumentAutoPublication documentAutoPublication)
documentAutoPublication - the instance of the
DocumentAutoPublication object to insertpublic static Collection<DocumentAutoPublication> findAll()
Collection of DocumentAutoPublication object
public static DocumentAutoPublication findByPrimaryKey(int nPortletId,
int nSpaceId)
nPortletId - The Portlet identifiernSpaceId - The DocumentSpace identifier
DocumentAutoPublication objectpublic static Collection<DocumentAutoPublication> findByPortletId(int nPortletId)
nPortletId - The Portlet identifier
Collection of DocumentAutoPublication objectpublic static Collection<DocumentAutoPublication> findBySpaceId(int nSpaceId)
DocumentSpace identifier is specified in parameter
nSpaceId - The DocumentSpace identifier
Collection of DocumentAutoPublication objectpublic static void update(DocumentAutoPublication documentAutoPublication)
documentAutoPublication - The DocumentAutoPublication to update
public static void remove(int nPortletId,
int nSpaceId)
nPortletId - the portlet identifiernSpaceId - the space identifierpublic static void removeAllSpaces(int nPortletId)
nPortletId - the portlet identifierpublic static boolean isPortletAutoPublished(int nPortletId)
nPortletId - The portlet id
public static boolean isSpaceAutoPublished(int nSpaceId)
nSpaceId - The space id
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||