public class LocalRepoMetaDataImpl extends Object implements LocalRepoMetaData
Constructor and Description |
---|
LocalRepoMetaDataImpl() |
Modifier and Type | Method and Description |
---|---|
protected LocalRepoTransaction |
beginReadTransaction()
Begin a JDO transaction for read operations only in the underlying database.
|
protected LocalRepoTransaction |
beginWriteTransaction()
Begin a JDO transaction for read and write operations in the underlying database.
|
List<RepoFileDto> |
getChildRepoFileDtos(long repoFileId,
int depth) |
List<RepoFileDto> |
getChildRepoFileDtos(String path,
int depth) |
protected LocalRepoManager |
getLocalRepoManager()
Gets the
LocalRepoManager . |
protected LocalRepoManager |
getLocalRepoManagerOrFail() |
RepoFileDto |
getRepoFileDto(long repoFileId,
int depth) |
RepoFileDto |
getRepoFileDto(String path,
int depth) |
protected void |
setLocalRepoManager(LocalRepoManager localRepoManager) |
public LocalRepoMetaDataImpl()
protected LocalRepoManager getLocalRepoManager()
LocalRepoManager
.
Important: This must not be exposed! It is the real internal single instance - not the proxy!
LocalRepoManager
. Never null
in normal operation.protected LocalRepoManager getLocalRepoManagerOrFail()
protected void setLocalRepoManager(LocalRepoManager localRepoManager)
protected LocalRepoTransaction beginReadTransaction()
null
.protected LocalRepoTransaction beginWriteTransaction()
null
.public RepoFileDto getRepoFileDto(String path, int depth)
getRepoFileDto
in interface LocalRepoMetaData
public RepoFileDto getRepoFileDto(long repoFileId, int depth)
getRepoFileDto
in interface LocalRepoMetaData
public List<RepoFileDto> getChildRepoFileDtos(long repoFileId, int depth)
getChildRepoFileDtos
in interface LocalRepoMetaData
public List<RepoFileDto> getChildRepoFileDtos(String path, int depth)
getChildRepoFileDtos
in interface LocalRepoMetaData
Copyright © 2013–2019. All rights reserved.