-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use BeanParam for InstanceFilter. Remove unused classes.
- Loading branch information
1 parent
8c1a83d
commit 4063cdc
Showing
9 changed files
with
117 additions
and
154 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
67 changes: 0 additions & 67 deletions
67
visa-core/src/main/java/eu/ill/visa/core/domain/InstanceFilter.java
This file was deleted.
Oops, something went wrong.
34 changes: 0 additions & 34 deletions
34
visa-core/src/main/java/eu/ill/visa/core/domain/ProtocolStatus.java
This file was deleted.
Oops, something went wrong.
22 changes: 0 additions & 22 deletions
22
visa-core/src/main/java/eu/ill/visa/core/domain/UserFilter.java
This file was deleted.
Oops, something went wrong.
85 changes: 85 additions & 0 deletions
85
visa-core/src/main/java/eu/ill/visa/core/domain/filters/InstanceFilter.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,85 @@ | ||
package eu.ill.visa.core.domain.filters; | ||
|
||
|
||
import eu.ill.visa.core.entity.enumerations.InstanceState; | ||
import jakarta.ws.rs.QueryParam; | ||
|
||
public class InstanceFilter { | ||
|
||
@QueryParam("id") | ||
private Long id; | ||
|
||
@QueryParam("nameLike") | ||
private String nameLike; | ||
|
||
@QueryParam("instrumentId") | ||
private Long instrumentId; | ||
|
||
@QueryParam("imageId") | ||
private Long imageId; | ||
|
||
@QueryParam("flavourId") | ||
private Long flavourId; | ||
|
||
@QueryParam("state") | ||
private InstanceState state; | ||
|
||
@QueryParam("ownerId") | ||
private String ownerId; | ||
|
||
public Long getId() { | ||
return id; | ||
} | ||
|
||
public void setId(Long id) { | ||
this.id = id; | ||
} | ||
|
||
public String getNameLike() { | ||
return nameLike; | ||
} | ||
|
||
public void setNameLike(String nameLike) { | ||
this.nameLike = nameLike; | ||
} | ||
|
||
public Long getInstrumentId() { | ||
return instrumentId; | ||
} | ||
|
||
public void setInstrumentId(Long instrumentId) { | ||
this.instrumentId = instrumentId; | ||
} | ||
|
||
public Long getImageId() { | ||
return imageId; | ||
} | ||
|
||
public void setImageId(Long imageId) { | ||
this.imageId = imageId; | ||
} | ||
|
||
public Long getFlavourId() { | ||
return flavourId; | ||
} | ||
|
||
public void setFlavourId(Long flavourId) { | ||
this.flavourId = flavourId; | ||
} | ||
|
||
public InstanceState getState() { | ||
return state; | ||
} | ||
|
||
public void setState(InstanceState state) { | ||
this.state = state; | ||
} | ||
|
||
public String getOwnerId() { | ||
return ownerId; | ||
} | ||
|
||
public void setOwnerId(String ownerId) { | ||
this.ownerId = ownerId; | ||
} | ||
} |
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