|
||||||||||
| 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
| Constructor Summary | |
|---|---|
DocumentAutoPublicationHome()
Constructor |
|
| Method Summary | |
|---|---|
static void |
add(DocumentAutoPublication documentAutoPublication)
Insert a new document auto publication |
static java.util.Collection<DocumentAutoPublication> |
findAll()
Loads all data Document Auto Publication |
static java.util.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 java.util.Collection<DocumentAutoPublication> |
findBySpaceId(int nSpaceId)
Load the list of Document Auto Publication whose DocumentSpace identifier is specified in parameter |
static DocumentAutoPublicationHome |
getInstance()
Returns the instance of DocumentAutoPublicationHome |
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 |
| Constructor Detail |
|---|
public DocumentAutoPublicationHome()
| Method Detail |
|---|
public static DocumentAutoPublicationHome getInstance()
public static void add(DocumentAutoPublication documentAutoPublication)
portlet - the instance of the DocumentAutoPublication object to insertpublic static java.util.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 java.util.Collection<DocumentAutoPublication> findByPortletId(int nPortletId)
nPortletId - The Portlet identifier
Collection of DocumentAutoPublication objectpublic static java.util.Collection<DocumentAutoPublication> findBySpaceId(int nSpaceId)
DocumentSpace identifier is specified in parameter
nSpaceId - The DocumentSpace identifier
Collection of DocumentAutoPublication objectpublic static void update(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 -
public static boolean isSpaceAutoPublished(int nSpaceId)
nSpaceId -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||