Package org.exoplatform.cs.service
Class CSSpaceService
java.lang.Object
org.exoplatform.cs.service.BaseService
org.exoplatform.cs.service.CSSpaceService
Created by The eXo Platform SAS
- Since:
- Apr 27, 2016
- Author:
- boubaker.khanfir@exoplatform.com
-
Field Summary
FieldsFields inherited from class org.exoplatform.cs.service.BaseService
environmentDAO, spaceDAO, topicDAO, typeDAO -
Constructor Summary
ConstructorsConstructorDescriptionCSSpaceService(SpaceDAO spaceDAO, org.exoplatform.social.core.space.spi.SpaceService spaceService, org.exoplatform.services.organization.OrganizationService organizationService, TicketService ticketService, org.exoplatform.services.listener.ListenerService listenerService) -
Method Summary
Modifier and TypeMethodDescriptionconvertDate(DateFormat dateFormat, Date date) convertToCalendar(String dateToFormat) convertToDTO(SpaceEntity spaceEntity) convertToEntity(SpaceDTO spaceDTO, SpaceEntity spaceEntity) getActiveByEndSubscriptionDate(Calendar fromDate, Calendar toDate) getSpaces(int offset, int limit) longvoidremoveSpace(String groupId) updateSpace(SpaceDTO spaceDTO) Methods inherited from class org.exoplatform.cs.service.BaseService
convert, convert
-
Field Details
-
CUSTOMERS_GROUP
- See Also:
-
-
Constructor Details
-
CSSpaceService
public CSSpaceService(SpaceDAO spaceDAO, org.exoplatform.social.core.space.spi.SpaceService spaceService, org.exoplatform.services.organization.OrganizationService organizationService, TicketService ticketService, org.exoplatform.services.listener.ListenerService listenerService)
-
-
Method Details
-
getSpace
- Throws:
Exception
-
removeSpace
- Throws:
Exception
-
getAllSpaces
-
getActiveSpaces
-
getDeactvatedSpaces
-
getActiveByEndSubscriptionDate
-
getAllSpaceNames
-
getSpaces
-
getSpacesCount
public long getSpacesCount() -
updateSpace
- Throws:
Exception
-
saveSpace
- Throws:
Exception
-
convertToEntity
-
convertToDTO
-
convertToCalendar
-
convertDate
-