Interface WorkspaceProjectSearchService
-
public interface WorkspaceProjectSearchServiceModuleremote search interface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<WorkspaceProject>searchByName(String pattern, int maxItems, boolean caseSensitive)Retrieve a max number ofModuleinstances given a name pattern.
-
-
-
Method Detail
-
searchByName
Collection<WorkspaceProject> searchByName(String pattern, int maxItems, boolean caseSensitive)
Retrieve a max number ofModuleinstances given a name pattern.Examples:
searchByName("", 20, true);=> get 20 instances, no matter their namesearchByName("A", 10, true);=> get the first 10 instances that match the letter AsearchByName("alfa", -1, false);=> get all the projects which name contains the word "alfa" (case unsensitive)
- Parameters:
pattern- An string fragment which must be present in any of the projects instances retrieved.maxItems- Max number of instances to retrieve. This setting is ruled out if zero or negative.caseSensitive- Case sensitiveness flag- Returns:
- A collection of
Moduleinstances
-
-