Class ClusterManagementServiceImpl
- java.lang.Object
-
- org.craftercms.studio.impl.v2.service.cluster.ClusterManagementServiceImpl
-
- All Implemented Interfaces:
ClusterManagementService
public class ClusterManagementServiceImpl extends Object implements ClusterManagementService
-
-
Constructor Summary
Constructors Constructor Description ClusterManagementServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ClusterMember>
getAllMembers()
Get all cluster membersAuditServiceInternal
getAuditServiceInternal()
ClusterManagementServiceInternal
getClusterManagementServiceInternal()
ContentRepository
getContentRepository()
SecurityService
getSecurityService()
SiteService
getSiteService()
StudioConfiguration
getStudioConfiguration()
boolean
removeMembers(List<Long> memberIds)
Remove member from clustervoid
setAuditServiceInternal(AuditServiceInternal auditServiceInternal)
void
setClusterManagementServiceInternal(ClusterManagementServiceInternal clusterManagementServiceInternal)
void
setContentRepository(ContentRepository contentRepository)
void
setSecurityService(SecurityService securityService)
void
setSiteService(SiteService siteService)
void
setStudioConfiguration(StudioConfiguration studioConfiguration)
-
-
-
Method Detail
-
getAllMembers
public List<ClusterMember> getAllMembers()
Description copied from interface:ClusterManagementService
Get all cluster members- Specified by:
getAllMembers
in interfaceClusterManagementService
- Returns:
- List of cluster members
-
removeMembers
public boolean removeMembers(List<Long> memberIds) throws SiteNotFoundException
Description copied from interface:ClusterManagementService
Remove member from cluster- Specified by:
removeMembers
in interfaceClusterManagementService
- Parameters:
memberIds
- List of ids of member to remover from cluster- Returns:
- True if success, otherwise false
- Throws:
SiteNotFoundException
- site not found
-
getClusterManagementServiceInternal
public ClusterManagementServiceInternal getClusterManagementServiceInternal()
-
setClusterManagementServiceInternal
public void setClusterManagementServiceInternal(ClusterManagementServiceInternal clusterManagementServiceInternal)
-
getContentRepository
public ContentRepository getContentRepository()
-
setContentRepository
public void setContentRepository(ContentRepository contentRepository)
-
getSiteService
public SiteService getSiteService()
-
setSiteService
public void setSiteService(SiteService siteService)
-
getStudioConfiguration
public StudioConfiguration getStudioConfiguration()
-
setStudioConfiguration
public void setStudioConfiguration(StudioConfiguration studioConfiguration)
-
getAuditServiceInternal
public AuditServiceInternal getAuditServiceInternal()
-
setAuditServiceInternal
public void setAuditServiceInternal(AuditServiceInternal auditServiceInternal)
-
getSecurityService
public SecurityService getSecurityService()
-
setSecurityService
public void setSecurityService(SecurityService securityService)
-
-