Package com.polarion.alm.projects.model
Interface IFolderManager
public interface IFolderManager
- Since:
- 3.8.3
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateFolder
(String projectId, String name, String title) Creates a new rootIFolder
under the "Documents & Pages" root Topic.boolean
existFolder
(String projectId, String name) Check if the folder with the given name and project exists.getFolders
(String projectId) Returns a list of allIFolder
sorted in ascending order byIFolder.getTitleOrName()
from the given project.getRootFolders
(String projectId) Returns a list of the rootIFolder
sorted in ascending order byIFolder.getTitleOrName()
from the given project.
-
Field Details
-
DEFAULT_SPACE
- See Also:
-
-
Method Details
-
getFolder
ReturnsIFolder
for the givenname
from the project given byprojectId
. Usenull
as the projectId for the global context. -
getFolders
Returns a list of allIFolder
sorted in ascending order byIFolder.getTitleOrName()
from the given project. Usenull
as the projectId for the global context. -
getRootFolders
Returns a list of the rootIFolder
sorted in ascending order byIFolder.getTitleOrName()
from the given project. Usenull
as 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 rootIFolder
under the "Documents & Pages" root Topic. Usenull
as 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
-