-
Notifications
You must be signed in to change notification settings - Fork 467
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#28894 Changes input from indeos to keys
- Loading branch information
1 parent
e754b6a
commit 0876f2c
Showing
11 changed files
with
176 additions
and
113 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
41 changes: 0 additions & 41 deletions
41
dotCMS/src/main/java/com/dotcms/rest/api/v1/categories/CategoryInodesForm.java
This file was deleted.
Oops, something went wrong.
40 changes: 40 additions & 0 deletions
40
dotCMS/src/main/java/com/dotcms/rest/api/v1/categories/CategoryKeysForm.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,40 @@ | ||
package com.dotcms.rest.api.v1.categories; | ||
|
||
import com.dotcms.rest.api.Validated; | ||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
import com.fasterxml.jackson.databind.annotation.JsonDeserialize; | ||
|
||
import java.util.List; | ||
|
||
/** | ||
* Category Input Form | ||
*/ | ||
@JsonDeserialize(builder = CategoryKeysForm.Builder.class) | ||
public class CategoryKeysForm extends Validated { | ||
|
||
private List<String> keys; | ||
|
||
private CategoryKeysForm(final Builder builder) { | ||
|
||
this.keys = builder.keys; | ||
} | ||
|
||
public List<String> getKeys() { | ||
return keys; | ||
} | ||
|
||
public static final class Builder { | ||
|
||
@JsonProperty | ||
private List<String> keys; | ||
|
||
public void setKeys(List<String> keys) { | ||
this.keys = keys; | ||
} | ||
|
||
public CategoryKeysForm build() { | ||
|
||
return new CategoryKeysForm(this); | ||
} | ||
} | ||
} |
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
Oops, something went wrong.