Package com.polarion.alm.projects.model
Interface IFolderManager
public interface IFolderManager
- Since:
- 3.8.3
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptioncreateFolder(String projectId, String name, String title) Creates a new rootIFolderunder the "Documents invalid input: '&' Pages" root Topic.booleanexistFolder(String projectId, String name) Check if the folder with the given name and project exists.getFolders(String projectId) Returns a list of allIFoldersorted in ascending order byIFolder.getTitleOrName()from the given project.getRootFolders(String projectId) Returns a list of the rootIFoldersorted in ascending order byIFolder.getTitleOrName()from the given project.
-
Field Details
-
DEFAULT_SPACE
- See Also:
-
-
Method Details
-
getFolder
ReturnsIFolderfor the givennamefrom the project given byprojectId. Usenullas the projectId for the global context. -
getFolders
Returns a list of allIFoldersorted in ascending order byIFolder.getTitleOrName()from the given project. Usenullas the projectId for the global context. -
getRootFolders
Returns a list of the rootIFoldersorted in ascending order byIFolder.getTitleOrName()from the given project. Usenullas the projectId for the global context.- Since:
- 3.18.1
-
existFolder
Check if the folder with the given name and project exists.- Since:
- 3.18.1
-
createFolder
@NotNull IFolder createFolder(@Nullable String projectId, @NotNull String name, @Nullable String title) Creates a new rootIFolderunder the "Documents invalid input: '&' Pages" root Topic. Usenullas the projectId for the global context.- Parameters:
name- (ID) must be unique for the whole folder hierarchy.- Returns:
- Just created
IFolder. - Since:
- 3.18.1
-