|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.document.business.DocumentTypeHome
public final class DocumentTypeHome
This class provides instances management methods (create, find, ...) for DocumentType objects
Method Summary | |
---|---|
static boolean |
checkDocuments(java.lang.String strCode)
Checks if type has documents |
static DocumentType |
create(DocumentType documentType)
Creation of an instance of documentType |
static java.util.Collection<DocumentType> |
findAll()
Returns a collection of documentTypes objects |
static DocumentType |
findByPrimaryKey(java.lang.String strCode)
Returns an instance of a documentType whose identifier is specified in parameter |
static fr.paris.lutece.util.ReferenceList |
getDocumentTypesList()
Get document types list |
static void |
remove(java.lang.String strCode)
Remove the DocumentType whose identifier is specified in parameter |
static void |
reorderAttributes(int nIdAttribute1,
int nOrderAttribute1,
int nIdAttribute2,
int nOrderAttribute2)
Reorder Attributes |
static DocumentType |
update(DocumentType documentType)
Update of the documentType which is specified in parameter |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static DocumentType create(DocumentType documentType)
documentType
- The instance of the documentType which contains the informations to store
public static DocumentType update(DocumentType documentType)
documentType
- The instance of the documentType which contains the data to store
public static void remove(java.lang.String strCode)
strCode
- public static DocumentType findByPrimaryKey(java.lang.String strCode)
strCode
-
public static java.util.Collection<DocumentType> findAll()
public static boolean checkDocuments(java.lang.String strCode)
strCode
-
public static void reorderAttributes(int nIdAttribute1, int nOrderAttribute1, int nIdAttribute2, int nOrderAttribute2)
nIdAttribute1
- nOrderAttribute1
- nIdAttribute2
- nOrderAttribute2
- public static fr.paris.lutece.util.ReferenceList getDocumentTypesList()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |