public interface Collection extends ManagedObject
Modifier and Type | Method and Description |
---|---|
void |
addLogicalFile(LogicalFile lfile)
Convenient method to save a logical file to the repository
|
void |
addLogicalFiles(java.util.List<LogicalFile> lfiles)
Save a list of logical files
|
Collection |
copy(java.lang.String newName)
Create a copy of this collection with the specified name
|
void |
deleteLogicalFile(java.lang.String file)
Delete a logical file for a given source file
|
LogicalFile |
getLogicalFile(java.lang.String file)
Return a logical file for a source file
|
java.util.List<LogicalFile> |
getLogicalFiles(LogicalDependency logicalDependency)
Get all logical dependencies that match a given logical dependency
|
java.util.List<LogicalFile> |
getLogicalFiles(java.lang.String logicalName)
Return a list of logical dependency for a program
|
java.lang.String |
getName()
Return the name of the Collection
|
void |
setName(java.lang.String name)
Set the name of the Collection
|
clearUnsavedChanges, getOwner, getPermission, getTeam, hasUnsavedChanges, refresh, save, setOwner, setPermission, setTeam
getCreated, getCreatedBy, getId, getLastUpdated, getLastUpdatedBy, getRestService, getUrl, toJSON, toString
Collection copy(java.lang.String newName) throws ConnectionException
newName
- Name of new collectionConnectionException
- an exception occurredjava.lang.String getName()
void setName(java.lang.String name)
name
- the name of the collectionLogicalFile getLogicalFile(java.lang.String file) throws ConnectionException
file
- optional source fileConnectionException
- an exception occurredjava.util.List<LogicalFile> getLogicalFiles(java.lang.String logicalName) throws ConnectionException
logicalName
- the name of the programConnectionException
- an exception occurredjava.util.List<LogicalFile> getLogicalFiles(LogicalDependency logicalDependency) throws ConnectionException
logicalDependency
- the logical dependency whose criteria is used to find matching
dependenciesConnectionException
- an exception occurredvoid deleteLogicalFile(java.lang.String file) throws ConnectionException
file
- the source fileConnectionException
- an exception occurredvoid addLogicalFile(LogicalFile lfile) throws ConnectionException
lfile
- the logical fileConnectionException
- an exception occurredvoid addLogicalFiles(java.util.List<LogicalFile> lfiles) throws ConnectionException
lfiles
- the list of logical filesConnectionException
- an exception occurred<IBM Copyright © 2018 IBM Corp. All Rights Reserved.