Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Story/vspc 171 #266

Open
wants to merge 144 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 141 commits
Commits
Show all changes
144 commits
Select commit Hold shift + click to select a range
bc51fc4
[VSPC-171] Added new SpaceBlock
glend17 Oct 27, 2021
7be602f
[VSPC-171] Added SpaceBlock type functionality
glend17 Oct 27, 2021
5efc1a9
[VSPC-171] Adding SpaceBlock functionality
glend17 Oct 28, 2021
11aa526
[VSPC-171] Front-end changes
glend17 Oct 29, 2021
1bb50c2
[VSPC-171] Added drop down for staff to pick space to link to from sp…
glend17 Nov 1, 2021
afb962c
[VSPC-171] Bug checks
glend17 Nov 3, 2021
6ec14dd
[VSPC-171] Form fix
glend17 Nov 4, 2021
4d5a7a7
[VSPC-171] Space content block changes on slide.html
glend17 Nov 5, 2021
83b4e4d
[VSPC-171] Delete and edit related changes for space block
glend17 Nov 8, 2021
733d50f
[VSPC-171] Unit test
glend17 Nov 10, 2021
dca101f
[VSPC-171] dropdown will keep track of selected space block
glend17 Nov 12, 2021
5eb2f6e
[VSPC-171] Code factor changes
glend17 Nov 15, 2021
1fda47d
[VSPC-171] PR code review change
glend17 Nov 15, 2021
12aaaec
[VSPC-171] Removing loggers
glend17 Nov 15, 2021
017bc82
[VSPC-171] PR Review comments
glend17 Feb 17, 2022
8801229
[VSPC-171] Review comments
glend17 Feb 17, 2022
82fc9c0
[VSPC-171] PR Review comments
glend17 Feb 21, 2022
60d3fa1
[VSPC-171] PR review comments
glend17 Feb 21, 2022
b944cd7
[VSPC-171] Whitespace removal
glend17 Feb 21, 2022
fb785dc
[VSPC-171] Exhibition side link
glend17 Feb 23, 2022
4132c9d
[VSPC-171] PR Review comments addressed
glend17 Feb 23, 2022
95178b1
[VSPC-171] PR review comments
glend17 Feb 23, 2022
eb24c98
[VSPC-171] merging with develop
glend17 Feb 23, 2022
36209f9
[VSPC-171] PR comment on log
glend17 Mar 23, 2022
1ad4008
[VSPC-171] indentation
glend17 Mar 24, 2022
1fa0679
[VSPC-171] Indentation changes
glend17 Mar 28, 2022
b949658
[VSPC-171] Removing log
glend17 Mar 28, 2022
1bdae06
Merge branch 'story/vspc-171' of https://github.com/diging/virtual-sp…
glend17 Mar 28, 2022
e5964fc
[VSPC-171] implemented ajax call to get list of spaces
glend17 Mar 28, 2022
e5c50b7
[VSPC-171] Current selected space in edit space content block
glend17 Mar 29, 2022
0f644ac
[VSPC-171] Indentation fix
glend17 Mar 29, 2022
464560f
[VSPC-171] Space search
glend17 Mar 30, 2022
92c85b1
[VSPC-171] pagination and editspaceblock drop down
glend17 Mar 31, 2022
7cd76cd
[VSPC-171] current selected space for spaceblock
glend17 Apr 4, 2022
6702d39
[VSPC-171] adding headers to csrf
glend17 Apr 4, 2022
2b062e1
[VSPC-171] unit test
glend17 Apr 5, 2022
04ab7b6
[VSPC-171] overloaded space
glend17 Apr 5, 2022
5de472b
[VSPC-171] pr comments
glend17 Apr 6, 2022
5cf6e73
[VSPC-171] Organize imports
glend17 Apr 11, 2022
af9d3c9
[VSPC-171] Organized imports
glend17 Apr 11, 2022
dca6f80
[VSPC-171] merge with develop
glend17 Apr 11, 2022
e29fa72
[VSPC-171] page size call to db fix
glend17 Apr 18, 2022
fcca809
[VSPC-171] fix indentation issues
glend17 Apr 18, 2022
8fd80be
[VSPC-171] test cases fix
glend17 Apr 18, 2022
cdb1717
[VSPC-171] Addressed review comments
glend17 May 12, 2022
54b7514
[VSPC-171] changing token input parameter
glend17 May 13, 2022
0bc365c
[VSPC-171] merge with develop
glend17 May 14, 2022
37f4b2a
[VSPC-171] worked on PR comment'
bnayak4 May 24, 2022
f72b91c
Merge remote-tracking branch 'origin/develop' into story/vspc-171
bnayak4 May 24, 2022
9b86698
[VSPC-171] added changes to merge the PR
bnayak4 Jun 9, 2022
580f127
[VSPC-171] added testcase for id which is not found
bnayak4 Jun 14, 2022
ea57318
[VSPC-171] added changes for testcase failure
bnayak4 Jun 21, 2022
61fc9ff
[VSPC-171] added test cases as mentioned in PR
bnayak4 Jun 29, 2022
85b7e40
[VSPC-171] added test cases
bnayak4 Jun 30, 2022
3a31b0e
[VSPC-171] added test cases to increase coverage
bnayak4 Jul 6, 2022
ba16291
[VSPC-171] added test case to increase the code coverage
bnayak4 Jul 6, 2022
025a3fb
[VSPC-171] addressed review comments
bnayak4 Jul 6, 2022
1cc4872
[VSPC-171] added changes to resolve codefactor.io problems
bnayak4 Jul 6, 2022
509407a
[VSPC-171] Addressed review comments
bnayak4 Jul 11, 2022
c208d60
[VSPC-171] changed method name
bnayak4 Jul 12, 2022
c91a409
[VSPC-171] removed merge conflicts
bnayak4 Mar 10, 2023
ff24e71
[VSPC-171] testing junits
bnayak4 Mar 10, 2023
6e25188
[VSPC-171] JUNITS
bnayak4 Mar 14, 2023
93de906
[VSPC-171] addressed review comments
bnayak4 Mar 14, 2023
45b7fcf
[VSPC-171] addressed review comments
bnayak4 Apr 18, 2023
086d464
[VSPC-171] addressed review comments
bnayak4 Apr 20, 2023
eb4e190
[story/VSPC-171] review comments
pkharge Sep 28, 2023
dc62901
[story/VSPC-171] review comments
pkharge Sep 28, 2023
ca0e877
[VSPC-171] merge conflict
pkharge Sep 28, 2023
816412d
[VSPC-171] tooltip
pkharge Sep 29, 2023
7ce8c45
[VSPC-171] fixed close buttons
pkharge Oct 3, 2023
43b7f7b
[vspc-171] compile error tests
pkharge Oct 6, 2023
05eb7d1
[story/VSPC-171] review comments
pkharge Oct 17, 2023
3528a34
VSPC-171 fixed null selection
ajay3568yadav Mar 15, 2024
fc52972
VSPC-171 block refreshing error
ajay3568yadav Mar 18, 2024
4ad80fd
VSPC-171 fixed space block deletion
ajay3568yadav Mar 20, 2024
94225ae
VSPC-171 removed console prints
ajay3568yadav Mar 22, 2024
38b05cd
VSPC-171 review comments
ajay3568yadav Mar 25, 2024
accfa4a
VSPC-171 review comments and image block
ajay3568yadav Mar 29, 2024
f6e0615
VSPC-171 fixed the image block creation
ajay3568yadav Apr 1, 2024
48cfd00
VSPC-171 review comments
ajay3568yadav Apr 13, 2024
88f6509
Merge branch 'develop' into story/vspc-171
ajay3568yadav May 3, 2024
d5bc0b2
VSPC-171 review comments
ajay3568yadav May 8, 2024
abbaba5
VSPC-171 attempt to fix reordering of content blocks
ajay3568yadav May 8, 2024
3128f1f
VSPC-171 build fail fix
ajay3568yadav May 8, 2024
56e1bbe
VSPC-171 updated test for updating space block
ajay3568yadav May 8, 2024
91ff44b
VSPC-171 review comments
ajay3568yadav May 9, 2024
51c440d
VSPC-171 review comments
ajay3568yadav May 24, 2024
34c5bdb
VSPC-171 retreving video block
ajay3568yadav May 24, 2024
021e054
VSPC-171 fixed missing video block
ajay3568yadav May 25, 2024
7bccc6a
VSPC-171 review comments
ajay3568yadav May 28, 2024
b24b694
VSPC-171 review comments indentation
ajay3568yadav May 29, 2024
b337785
[VSPC-171] review comments
ajay3568yadav Jun 7, 2024
ab97837
[VSPC-171] review comments
ajay3568yadav Jun 10, 2024
c74ccc8
[VSPC-171] review comments 1
ajay3568yadav Jun 12, 2024
a1b5312
VSPC-171 fixed indenttions and review comments
ajay3568yadav Jun 13, 2024
0592fdb
VSPC-171 indentation fix
ajay3568yadav Jun 17, 2024
cd408d3
[VSPC-171] broken code fixed
ajay3568yadav Jun 19, 2024
fc93a1a
VSPC-171 fixed staff search space controler
ajay3568yadav Jun 20, 2024
d6668d4
VSPC-171 addressed all review comments
ajay3568yadav Jun 21, 2024
77c1653
VSPC-171 review comments
ajay3568yadav Jun 26, 2024
585ddc2
VSPC-171 review comments for block handlers
ajay3568yadav Jun 27, 2024
b5e0bb2
VSPC-171 review comments
ajay3568yadav Jun 28, 2024
c7e8e20
VSPC-171 slide indentation fixing
ajay3568yadav Jun 28, 2024
c4edc28
Merge branch 'develop' of https://github.com/diging/virtual-spaces-2.…
ajay3568yadav Jul 1, 2024
ed822aa
VSPC-171 fixed space trash icon alignment
ajay3568yadav Jul 1, 2024
ad93c0e
VSPC-171 slides spacing issue fixed
ajay3568yadav Jul 1, 2024
4fda0d8
VSPC-171 review comments
ajay3568yadav Jul 24, 2024
5fda121
VSPC-171 review comments
ajay3568yadav Jul 24, 2024
cccad4b
VSPC-171 slides space fixed
ajay3568yadav Jul 25, 2024
3185ae7
VSPC-171 removed unecessary markdown and other review comments
ajay3568yadav Jul 25, 2024
575f465
VSPC-171 codefactor issue fixed
ajay3568yadav Jul 25, 2024
b23777e
VSPC-171 fixed minor indentation
ajay3568yadav Jul 25, 2024
c1fe2a6
VSPC-171 review comments
ajay3568yadav Jul 26, 2024
42572ad
VSPC-171 spaces display in the lists
ajay3568yadav Jul 29, 2024
8e9f45b
VSPC-171 added spaces to the list
ajay3568yadav Jul 29, 2024
a1977db
VSPC-171 review comments
ajay3568yadav Jul 31, 2024
9bafe7a
VSPC-171 fixing space display in options
ajay3568yadav Aug 1, 2024
82cba3e
VSPC-171 review comments
ajay3568yadav Aug 2, 2024
9f205e1
VSPC-171 added space name search
ajay3568yadav Aug 5, 2024
bec1522
VSPC-171 fixed null display of spaces
ajay3568yadav Aug 7, 2024
67e52b9
VSPC-171 final fixes
ajay3568yadav Aug 8, 2024
f4704fe
VSPC-171 review comments
ajay3568yadav Aug 9, 2024
03898c0
VSPC-171 csrf comments
ajay3568yadav Aug 9, 2024
8bd8e89
VSPC-171 misc
ajay3568yadav Aug 13, 2024
844939c
VSPC-171 review comments
ajay3568yadav Aug 21, 2024
a830320
VSPC-171 review comments
ajay3568yadav Sep 13, 2024
4e8599a
VSPC-171 minor changes
ajay3568yadav Sep 13, 2024
202c081
VSPC-171 space check
ajay3568yadav Sep 18, 2024
a5cf020
VSPC-171 revert check because the line is shown on the review side bu…
ajay3568yadav Sep 18, 2024
41e6a54
VSPC-171 github indentation fixed
ajay3568yadav Sep 19, 2024
edabd08
VSPC-171 review comments about indentation
ajay3568yadav Sep 25, 2024
a8c3fd7
[VSPC-171] fixed issues with deleting space block and previous select…
ajay3568yadav Sep 25, 2024
d630f15
VSPC-171 review comments minor change
ajay3568yadav Sep 25, 2024
497b66c
VSPC-171 review comments minor change check
ajay3568yadav Sep 25, 2024
bcb2a82
VSPC-171 review comments minor change check
ajay3568yadav Sep 25, 2024
eb6306d
VSPC-147 set selected space to the dropdown
ajay3568yadav Sep 27, 2024
d334f31
[VSPC-171] fixed display of selected space
ajay3568yadav Oct 2, 2024
1da97d9
VSPC-171 null result error fixed
Oct 30, 2024
10f6d58
VSPC-171 testing for deployment
Oct 30, 2024
9c110c2
[VSPC-171] slide not showing up error:
Oct 30, 2024
1a2ef85
VSPC-171 review comments
Nov 1, 2024
f664e48
VSPC-171 search space by id controller
Nov 6, 2024
1c4ac5f
VSPC-171 review comments
Nov 8, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package edu.asu.diging.simpleusers.web.admin;

import java.util.ArrayList;
import java.util.List;
import java.util.Set;

import org.springframework.security.core.authority.SimpleGrantedAuthority;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package edu.asu.diging.vspace.core.data;

import java.util.Optional;
import java.util.List;

import org.javers.spring.annotation.JaversSpringDataAuditable;
Expand All @@ -12,6 +13,7 @@
@Repository
@JaversSpringDataAuditable
public interface ModuleLinkRepository extends PagingAndSortingRepository<ModuleLink, String> {
Optional<ModuleLink> findByModule_Id(String moduleId);

@Query("select moduleLink from ModuleLink moduleLink where module_id = ?1")
List<IModuleLink> findModuleLinksByModuleId(String moduleId);
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package edu.asu.diging.vspace.core.data;

import org.javers.spring.annotation.JaversSpringDataAuditable;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.stereotype.Repository;

import edu.asu.diging.vspace.core.model.impl.SpaceBlock;

@Repository
@JaversSpringDataAuditable
public interface SpaceContentBlockRepository extends PagingAndSortingRepository<SpaceBlock, String> {

}
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,6 @@ public interface SpaceRepository extends PagingAndSortingRepository<Space, Strin

Page<ISpace> findDistinctByNameContainingOrDescriptionContaining(Pageable requestedPage, String name,
String description);

List<Space> findByNameLike(String name);
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.stereotype.Repository;

import edu.asu.diging.vspace.core.model.ISpace;
import edu.asu.diging.vspace.core.model.display.impl.SpaceDisplay;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package edu.asu.diging.vspace.core.exception;

import org.springframework.web.bind.annotation.ResponseStatus;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;

@ResponseStatus(value = HttpStatus.NOT_FOUND, reason = "Module Not Found")
public class ModuleNotFoundException extends Exception {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package edu.asu.diging.vspace.core.exception;

import org.springframework.web.bind.annotation.ResponseStatus;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;

@ResponseStatus(value = HttpStatus.NOT_FOUND, reason = "Module Not Found")
public class SequenceNotFoundException extends Exception {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package edu.asu.diging.vspace.core.exception;

import org.springframework.web.bind.annotation.ResponseStatus;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;

@ResponseStatus(value = HttpStatus.NOT_FOUND, reason = "Slide Not Found")
public class SlideNotFoundException extends Exception {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package edu.asu.diging.vspace.core.exception;

import org.springframework.web.bind.annotation.ResponseStatus;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;

@ResponseStatus(value = HttpStatus.NOT_FOUND, reason = "Module Not Found")
public class SlidesInSequenceNotFoundException extends Exception {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package edu.asu.diging.vspace.core.exception;

import org.springframework.web.bind.annotation.ResponseStatus;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;

@ResponseStatus(value = HttpStatus.NOT_FOUND, reason = "Space Not Found")
public class SpaceNotFoundException extends Exception {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package edu.asu.diging.vspace.core.factory;

import edu.asu.diging.vspace.core.model.ISlide;
import edu.asu.diging.vspace.core.model.ISpace;
import edu.asu.diging.vspace.core.model.ISpaceBlock;

public interface ISpaceBlockFactory {

ISpaceBlock createSpaceBlock(ISlide slide, String text, ISpace space);
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
package edu.asu.diging.vspace.core.factory.impl;

import org.springframework.stereotype.Service;

import edu.asu.diging.vspace.core.factory.ISpaceBlockFactory;
import edu.asu.diging.vspace.core.model.ISlide;
import edu.asu.diging.vspace.core.model.ISpace;
import edu.asu.diging.vspace.core.model.ISpaceBlock;
import edu.asu.diging.vspace.core.model.impl.SpaceBlock;

@Service
public class SpaceBlockFactory implements ISpaceBlockFactory {

@Override
public ISpaceBlock createSpaceBlock(ISlide slide, String title, ISpace space) {
ISpaceBlock spaceBlock = new SpaceBlock();
spaceBlock.setTitle(title);
spaceBlock.setSlide(slide);
spaceBlock.setSpace(space);
return spaceBlock;
}
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
package edu.asu.diging.vspace.core.model;

import java.util.ArrayList;
import java.util.List;

public enum ExhibitionModes {

ACTIVE(""),
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
package edu.asu.diging.vspace.core.model;

public interface ISpaceBlock extends IContentBlock {

void setTitle(String text);

String getTitle();

void setId(String id);

String getId();

ISpace getSpace();

void setSpace(ISpace space);

}
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package edu.asu.diging.vspace.core.model.display.impl;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.OneToOne;
Expand All @@ -12,8 +13,6 @@
import edu.asu.diging.vspace.core.model.display.IExternalLinkDisplay;
import edu.asu.diging.vspace.core.model.impl.ExternalLink;

import javax.persistence.Entity;

@Entity
public class ExternalLinkDisplay extends LinkDisplay implements IExternalLinkDisplay {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@
import javax.persistence.Id;
import javax.persistence.OneToMany;
import javax.persistence.OneToOne;

import org.hibernate.annotations.GenericGenerator;
import org.hibernate.annotations.Parameter;

import edu.asu.diging.vspace.core.model.ExhibitionModes;
import edu.asu.diging.vspace.core.model.IContentBlock;
import edu.asu.diging.vspace.core.model.IExhibition;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package edu.asu.diging.vspace.core.model.impl;

import java.util.List;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
package edu.asu.diging.vspace.core.model.impl;

import javax.persistence.Entity;
import javax.persistence.Lob;
import javax.persistence.ManyToOne;

import edu.asu.diging.vspace.core.model.ISpace;
import edu.asu.diging.vspace.core.model.ISpaceBlock;

@Entity
public class SpaceBlock extends ContentBlock implements ISpaceBlock {
@Lob
private String title;

@ManyToOne(targetEntity = Space.class)
private ISpace space;

@Override
public String getTitle() {
return title;
}

@Override
public void setTitle(String title) {
this.title = title;
}

@Override
public ISpace getSpace() {
return space;
}

@Override
public void setSpace(ISpace space) {
this.space = space;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,14 @@
import edu.asu.diging.vspace.core.model.IChoiceBlock;
import edu.asu.diging.vspace.core.model.IContentBlock;
import edu.asu.diging.vspace.core.model.IImageBlock;
import edu.asu.diging.vspace.core.model.ISlide;
import edu.asu.diging.vspace.core.model.ISpace;
import edu.asu.diging.vspace.core.model.ISpaceBlock;
import edu.asu.diging.vspace.core.model.ITextBlock;
import edu.asu.diging.vspace.core.model.IVSImage;
import edu.asu.diging.vspace.core.model.IVideoBlock;
import edu.asu.diging.vspace.core.model.impl.ContentBlock;
import edu.asu.diging.vspace.core.model.impl.SpaceBlock;
import edu.asu.diging.vspace.core.model.impl.TextBlock;
import edu.asu.diging.vspace.core.services.impl.CreationReturnValue;

Expand Down Expand Up @@ -57,8 +61,35 @@ IChoiceBlock createChoiceBlock(String slideId, List<String> selectedChoices, Int
boolean showsAll);

Integer findMaxContentOrder(String slideId);


ISpaceBlock createSpaceBlock(String slideId, String title, Integer contentOrder, ISpace space);

ISpaceBlock getSpaceBlock(String spaceBlockId);

void saveSpaceBlock(ISpaceBlock textBlock);

/**
* Delete a space block using an id and also decrease content order by 1 of all
* the slide's block which are after this block
*
* @param blockId - id of resource to be deleted. If the id is null then the
* functions returns nothing.
* @param slideId - id of the slide in which the text block with blockId is
* present.
*
*/
void deleteSpaceBlockById(String blockId, String slideId) throws BlockDoesNotExistException;

/**
* Adjusting the content order of the blocks of slide once it is dragged and
* changed position.
*
* @param contentBlockList - The list contains the blocks and the updated
* content order corresponding to each blocks.
*/
jdamerow marked this conversation as resolved.
Show resolved Hide resolved
void updateContentOrder(List<ContentBlock> contentBlockList) throws BlockDoesNotExistException;

void saveVideoBlock(IVideoBlock videoBlock);


}
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import edu.asu.diging.vspace.core.model.ISpace;
import edu.asu.diging.vspace.core.model.display.IModuleLinkDisplay;


public interface IModuleLinkManager extends ILinkManager<IModuleLink, IModule, IModuleLinkDisplay> {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,17 @@ public interface ISpaceManager {
Iterable<Space> addIncomingLinkInfoToSpaces(Iterable<Space> spaces);

Page<ISpace> findByNameOrDescription(Pageable requestedPage,String searchText);

List<ISpace> findByName(String name);

/**
* Method to return the requested spaces
*
* @param pageNo. if pageNo<1, 1st page is returned, if pageNo>total pages,last
* page is returned
* @return list of images in the requested pageNo and requested order.
*/
List<ISpace> getSpaces(int pageNo, String sortedBy, String order);

List<ISpace> getSpaces(int pageNo);
}
Loading