-
Notifications
You must be signed in to change notification settings - Fork 188
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
started with SearchItemDefinition clean up
- Loading branch information
1 parent
17cec78
commit 9bd32c9
Showing
18 changed files
with
272 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 38 additions & 0 deletions
38
...rc/main/java/com/evolveum/midpoint/web/component/search/FunctionSearchItemDefinition.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
/* | ||
* Copyright (C) 2021 Evolveum and contributors | ||
* | ||
* This work is dual-licensed under the Apache License 2.0 | ||
* and European Union Public License. See LICENSE file for details. | ||
*/ | ||
package com.evolveum.midpoint.web.component.search; | ||
|
||
import com.evolveum.midpoint.gui.api.util.WebComponentUtil; | ||
import com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectReferenceType; | ||
|
||
import org.apache.commons.lang3.StringUtils; | ||
import org.apache.wicket.model.IModel; | ||
|
||
import java.util.function.Function; | ||
|
||
public class FunctionSearchItemDefinition extends SpecialSearchItemDefinition<Function<Search, SearchItem>> { | ||
|
||
public FunctionSearchItemDefinition(IModel<Function<Search, SearchItem>> valueModel) { | ||
super(valueModel); | ||
} | ||
|
||
@Override | ||
public String getName() { | ||
return ""; //todo implement | ||
} | ||
|
||
@Override | ||
public String getHelp(){ | ||
return ""; //todo implement | ||
} | ||
|
||
@Override | ||
public SearchItem<FilterSearchItemDefinition> createSearchItem() { | ||
return null; //todo implement | ||
} | ||
|
||
} |
32 changes: 32 additions & 0 deletions
32
...gui/src/main/java/com/evolveum/midpoint/web/component/search/OidSearchItemDefinition.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
/* | ||
* Copyright (C) 2021 Evolveum and contributors | ||
* | ||
* This work is dual-licensed under the Apache License 2.0 | ||
* and European Union Public License. See LICENSE file for details. | ||
*/ | ||
package com.evolveum.midpoint.web.component.search; | ||
|
||
import org.apache.wicket.model.IModel; | ||
|
||
public class OidSearchItemDefinition extends SpecialSearchItemDefinition { | ||
|
||
public OidSearchItemDefinition(IModel valueModel) { | ||
super(valueModel); | ||
} | ||
|
||
@Override | ||
public String getName() { | ||
return ""; //todo implement | ||
} | ||
|
||
@Override | ||
public String getHelp(){ | ||
return ""; //todo implement | ||
} | ||
|
||
@Override | ||
public SearchItem<OidSearchItemDefinition> createSearchItem() { | ||
return null; //todo implement | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.