public class OfBizDirectorySynchronisationStatusDao extends Object implements com.atlassian.crowd.embedded.spi.DirectorySynchronisationStatusDao
Constructor and Description |
---|
OfBizDirectorySynchronisationStatusDao(QueryDslAccessor queryDslAccessor,
com.atlassian.crowd.embedded.spi.DirectoryDao directoryDao) |
Modifier and Type | Method and Description |
---|---|
com.atlassian.crowd.model.directory.DirectorySynchronisationStatus |
add(com.atlassian.crowd.model.directory.DirectorySynchronisationStatus status) |
Optional<com.atlassian.crowd.model.directory.DirectorySynchronisationStatus> |
findActiveForDirectory(long directoryId) |
Collection<com.atlassian.crowd.model.directory.DirectorySynchronisationStatus> |
findActiveSyncsWhereNodeIdNotIn(Set<String> nodesIds) |
Optional<com.atlassian.crowd.model.directory.DirectorySynchronisationStatus> |
findLastForDirectory(long directoryId) |
long |
removeAll() |
long |
removeAllExcept(long directoryId,
int statusId) |
long |
removeStatusesForDirectory(Long directoryId) |
com.atlassian.crowd.model.directory.DirectorySynchronisationStatus |
update(com.atlassian.crowd.model.directory.DirectorySynchronisationStatus status) |
public OfBizDirectorySynchronisationStatusDao(QueryDslAccessor queryDslAccessor, com.atlassian.crowd.embedded.spi.DirectoryDao directoryDao)
public Optional<com.atlassian.crowd.model.directory.DirectorySynchronisationStatus> findActiveForDirectory(long directoryId)
findActiveForDirectory
in interface com.atlassian.crowd.embedded.spi.DirectorySynchronisationStatusDao
public Optional<com.atlassian.crowd.model.directory.DirectorySynchronisationStatus> findLastForDirectory(long directoryId)
findLastForDirectory
in interface com.atlassian.crowd.embedded.spi.DirectorySynchronisationStatusDao
public com.atlassian.crowd.model.directory.DirectorySynchronisationStatus add(com.atlassian.crowd.model.directory.DirectorySynchronisationStatus status)
add
in interface com.atlassian.crowd.embedded.spi.DirectorySynchronisationStatusDao
public com.atlassian.crowd.model.directory.DirectorySynchronisationStatus update(com.atlassian.crowd.model.directory.DirectorySynchronisationStatus status) throws com.atlassian.crowd.exception.ObjectNotFoundException
update
in interface com.atlassian.crowd.embedded.spi.DirectorySynchronisationStatusDao
com.atlassian.crowd.exception.ObjectNotFoundException
public long removeStatusesForDirectory(Long directoryId)
removeStatusesForDirectory
in interface com.atlassian.crowd.embedded.spi.DirectorySynchronisationStatusDao
public long removeAll()
removeAll
in interface com.atlassian.crowd.embedded.spi.DirectorySynchronisationStatusDao
public long removeAllExcept(long directoryId, int statusId)
removeAllExcept
in interface com.atlassian.crowd.embedded.spi.DirectorySynchronisationStatusDao
public Collection<com.atlassian.crowd.model.directory.DirectorySynchronisationStatus> findActiveSyncsWhereNodeIdNotIn(Set<String> nodesIds)
findActiveSyncsWhereNodeIdNotIn
in interface com.atlassian.crowd.embedded.spi.DirectorySynchronisationStatusDao
Copyright © 2002-2021 Atlassian. All Rights Reserved.