*
* @return the list of all document types
*/
- public List<DocumentType> selectAllTypes();
+ List<DocumentType> selectAllTypes();
/**
* Find all result document types.
*
* @return the list of found types
*/
- public List<DocumentType> selectResultTypes();
+ List<DocumentType> selectResultTypes();
/**
* Get document type by the given type name.
* the type name
* @return the found document type
*/
- public DocumentType selectType(String name);
+ DocumentType selectType(String name);
/**
* Get document type by the given id.
* the id
* @return the found document type
*/
- public DocumentType selectType(long index);
+ DocumentType selectType(long index);
/**
* Create a new document type.
* @throws MultiplyDefinedException
* if some property is defined several times
*/
- public DocumentType createType(DocumentType.Properties tprop)
+ DocumentType createType(DocumentType.Properties tprop)
throws MissedPropertyException, InvalidPropertyException,
MultiplyDefinedException;
* the step (study activity)
* @return the list of found document types
*/
- public List<DocumentType> selectTypesOf(ProjectSettingsService.Step step);
+ List<DocumentType> selectTypesOf(ProjectSettingsService.Step step);
/**
* Approve the document type.
* the document type to approve
* @return true if approval succeeded
*/
- public boolean approve(DocumentType aType);
+ boolean approve(DocumentType aType);
}