| java.lang.Object org.contineo.core.document.CheckinDocUtil
CheckinDocUtil | public class CheckinDocUtil (Code) | | utility class to checkin/create a document
author: Sebastian Stein |
checkinDocument | public static void checkinDocument(int docId, InputStream fileInputStream, String filename, String username, Version.VERSION_TYPE versionType, String versionDesc) throws Exception(Code) | | checks in the given document
Parameters: docId - the document to be checked in Parameters: fileInputStream - input stream pointing to the new document version Parameters: filename - new filename (can also be the old one) Parameters: username - user uploading the new document version Parameters: versionType - specifies if this is a new release, a subversion orthe old version Parameters: versionDesc - a change description throws: Exception - if an error occurs, this exception is thrown |
createFolder | public static Menu createFolder(Menu parentMenu, String menuName)(Code) | | creates a new folder in the parent menu
|
|
|