Uses of Class
com.polarion.platform.service.repository.RepositoryException
-
Uses of RepositoryException in com.polarion.platform.service.repository
Modifier and TypeClassDescriptionclass
Raised when access is denied to some resource.class
Exception indicating that called operation needs connection.class
Exception raised when there was a conflict while resource was modified.class
Raised when resource was not found.class
Raised when resource was not found.Modifier and TypeMethodDescriptionvoid
Copies resource from old location to new location.void
IRepositoryConnection.create
(ILocation loc, InputStream content) Creates empty file on given location.void
IRepositoryConnection.create
(ILocation loc, InputStream content, Boolean locExists) void
Deletes given location.boolean
Whether given location exists.IRepositoryService.getAccessibleURLForLocation
(ILocation location) IRepositoryService.getConnection
(ILocation location) The convenient method that determines the repository name from the givenlocation
.IRepositoryService.getConnection
(String repositoryName) Return the connection to a specific repository.IRepositoryReadOnlyConnection.getContent
(ILocation loc) Get file content.IRepositoryReadOnlyConnection.getCurrentRepositoryState()
Return the id of a current repository state.IRepositoryReadOnlyConnection.getFirstRevision
(ILocation loc) The first ("oldest") revision name for the given location.IRepositoryReadOnlyConnection.getLastRevision
(ILocation loc) Get the last revision for the given location.IRepositoryService.getLocationForAccessibleURL
(URI url) Returns the location for a universally accessible URL.IRepositoryReadOnlyConnection.getNextState
(String repositoryState) Returns the next state for given state.IRepositoryReadOnlyConnection.getPreviousState
(String repositoryState) Returns the previous state for the given state.IRepositoryReadOnlyConnection.getProperties
(ILocation loc) Get properties map.IRepositoryReadOnlyConnection.getProperty
(ILocation loc, String name) Get property value.IRepositoryService.getReadOnlyConnection
(ILocation location) The convenient method, that determines the repository name from the givenlocation
.IRepositoryService.getReadOnlyConnection
(String repositoryName) Returns a read only connection to a specific repository.IRepositoryService.getRepositories()
Returns the registered repositories.IRepositoryService.getRepository
(ILocation loc) A convenient method, that determines the repository name from the givenlocation
.IRepositoryService.getRepository
(String repositoryName) Returns the repository by repository name.IRepositoryReadOnlyConnection.getRepositoryState
(Date date) Return the id of a repository state at the given moment.IRepositoryReadOnlyConnection.getRepositoryStateDate
(String repositoryState) Return a date of some repository state.IRepositoryReadOnlyConnection.getResourceProperties
(ILocation loc) Return system properties for resource on given location.IRepositoryReadOnlyConnection.getRevisionMetaData
(ILocation loc, boolean extended) Return meta data for given resource and revision.IRepositoryReadOnlyConnection.getRevisionsMetaData
(ILocation loc, boolean extended) Return all meta data for given resource.IRepositoryReadOnlyConnection.getSubLocations
(ILocation loc, boolean recurse) Return list of locations which are under given location.IRepositoryReadOnlyConnection.getSubLocations
(ILocation loc, boolean recurse, boolean foldersOnly) Return list of locations filtered by type which are under given location.boolean
IRepositoryReadOnlyConnection.isConnected()
boolean
Whether given location exists and is a file.boolean
Whether given location exists and is a folder.void
IRepositoryConnection.makeFolders
(ILocation loc) Makes all folders on the given location path (if not already created).void
Moves resource from old location to new location.void
IRepositoryConnection.removeProperty
(ILocation loc, String name) Removes property.void
IRepositoryConnection.setContent
(ILocation loc, InputStream content) Sets file content.void
IRepositoryConnection.setProperty
(ILocation loc, String name, String value) Sets property value.void
IRepositoryService.stuffFileChangesListener
(IFileChangesListener l, Collection<ILocation> locations, String repositoryState) Will feed the listener all changes since the given repository state (inclusive) in the given locations (if specified).