...
Code Block |
---|
/*Method to create folder in CubeSemantic model Section*/ public static void addFolderinCube(RepositoryManager repManager, UserInfo userInfo) { try { Folder cubefolder = repManager.createFolder("FolderName", folderType.CUBE, userInfo); repManager.addFolder(cubefolder, userInfo); } catch (FolderManagerException e) { e.printStackTrace(); } } /*Method to create folder in File Section*/ public static void addFolderinFiles(RepositoryManager repManager, UserInfo userInfo) { try { Folder rffolder = repManager.createFolder("FolderName", folderType.REGISTERED_FILE, userInfo); repManager.addFolder(rffolder, userInfo); } catch (FolderManagerException e) { e.printStackTrace(); } } /*Method to create folder in DRD Section*/ public static void addFolderinDRD(RepositoryManager repManager, UserInfo userInfo) { try { Folder drdfolder = repManager.createFolder("FolderName", folderType.DRD, userInfo); repManager.addFolder(drdfolder, userInfo); } catch (FolderManagerException e) { e.printStackTrace(); } } |
...