-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Harsh Modi <[email protected]>
- Loading branch information
Showing
9 changed files
with
162 additions
and
27 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
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
61 changes: 61 additions & 0 deletions
61
src/main/java/org/commonjava/indy/service/repository/model/dto/ListArtifactStoreDTO.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,61 @@ | ||
package org.commonjava.indy.service.repository.model.dto; | ||
|
||
import org.commonjava.indy.service.repository.model.ArtifactStore; | ||
|
||
import java.util.Set; | ||
|
||
public class ListArtifactStoreDTO | ||
{ | ||
private Set<ArtifactStore> items; | ||
|
||
private String currentPage; | ||
|
||
private String nextPage; | ||
|
||
public ListArtifactStoreDTO() | ||
{ | ||
|
||
} | ||
|
||
public ListArtifactStoreDTO( Set<ArtifactStore> items, String currentPage, String nextPage ) | ||
{ | ||
this.items = items; | ||
this.currentPage = currentPage; | ||
this.nextPage = nextPage; | ||
} | ||
|
||
public ListArtifactStoreDTO( Set<ArtifactStore> items ) | ||
{ | ||
this.items = items; | ||
} | ||
|
||
public Set<ArtifactStore> getItems() | ||
{ | ||
return items; | ||
} | ||
|
||
public void setItems( Set<ArtifactStore> items ) | ||
{ | ||
this.items = items; | ||
} | ||
|
||
public String getCurrentPage() | ||
{ | ||
return currentPage; | ||
} | ||
|
||
public void setCurrentPage( String currentPage ) | ||
{ | ||
this.currentPage = currentPage; | ||
} | ||
|
||
public String getNextPage() | ||
{ | ||
return nextPage; | ||
} | ||
|
||
public void setNextPage( String nextPage ) | ||
{ | ||
this.nextPage = nextPage; | ||
} | ||
} |
56 changes: 56 additions & 0 deletions
56
src/main/java/org/commonjava/indy/service/repository/model/dto/ListDtxArtifactStoreDTO.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,56 @@ | ||
package org.commonjava.indy.service.repository.model.dto; | ||
|
||
import org.commonjava.indy.service.repository.data.cassandra.DtxArtifactStore; | ||
|
||
import java.util.Set; | ||
|
||
public class ListDtxArtifactStoreDTO | ||
{ | ||
private Set<DtxArtifactStore> items; | ||
|
||
private String currentPage; | ||
|
||
private String nextPage; | ||
|
||
public ListDtxArtifactStoreDTO() | ||
{ | ||
|
||
} | ||
|
||
public ListDtxArtifactStoreDTO( Set<DtxArtifactStore> items, String currentPage, String nextPage ) | ||
{ | ||
this.items = items; | ||
this.currentPage = currentPage; | ||
this.nextPage = nextPage; | ||
} | ||
|
||
public Set<DtxArtifactStore> getItems() | ||
{ | ||
return items; | ||
} | ||
|
||
public void setItems( Set<DtxArtifactStore> items ) | ||
{ | ||
this.items = items; | ||
} | ||
|
||
public String getCurrentPage() | ||
{ | ||
return currentPage; | ||
} | ||
|
||
public void setCurrentPage( String currentPage ) | ||
{ | ||
this.currentPage = currentPage; | ||
} | ||
|
||
public String getNextPage() | ||
{ | ||
return nextPage; | ||
} | ||
|
||
public void setNextPage( String nextPage ) | ||
{ | ||
this.nextPage = nextPage; | ||
} | ||
} |
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