Interface com.ibm.ivj.util.base.WorkspaceModel
- public interface WorkspaceModel
- extends Model
This interface defines the behavior common to models loaded into
the workspace
Method Index
- clearToolRepositoryData(String)
- Resets the tool repository data with the specified key for this model
- clearToolWorkspaceData(String)
- Resets the workspace tool data with the specified key for this model
- createNewEdition()
- Creates a new edition of this model
- createVersion(String)
- Create new version of this model.
- delete()
- Delete this model.
- getToolRepositoryData(String)
- Retrieves the tool repository data with the specified key for this model
- getToolWorkspaceData(String)
- Retrieves the workspace tool data with the specified key
for this model
- setToolRepositoryData(ToolData)
- Associates the tool repository data with this model
- setToolWorkspaceData(ToolData)
- Associates the workspace tool data with this model
- testToolRepositoryData(String)
- Test for existence of tool repository data with the specified key
for this model
- testToolWorkspaceData(String)
- Test for existence of workspace tool data with the specified key
for this model
Methods
clearToolRepositoryData
public abstract void clearToolRepositoryData(String key) throws IvjException
- Resets the tool repository data with the specified key for this model
- Parameters:
- key - java.lang.String
clearToolWorkspaceData
public abstract void clearToolWorkspaceData(String key) throws IvjException
- Resets the workspace tool data with the specified key for this model
- Parameters:
- key - java.lang.String
createNewEdition
public abstract void createNewEdition() throws IvjException
- Creates a new edition of this model
createVersion
public abstract void createVersion(String name) throws IvjException
- Create new version of this model.
- Parameters:
- name - java.lang.String version or null (automatic versioning)
delete
public abstract void delete() throws IvjException
- Delete this model.
Note, that this only deletes the model from the workspace.
It is not deleted from the repository and can be subsequently
reloaded back into the workspace
(IRepositoryModel.loadIntoWorkspace()).
getToolRepositoryData
public abstract ToolData getToolRepositoryData(String key) throws IvjException, OptionalDataException, ClassNotFoundException, IOException, StreamCorruptedException
- Retrieves the tool repository data with the specified key for this model
- Parameters:
- key - java.lang.String
- Returns:
- com.ibm.ivj.util.base.ToolData
getToolWorkspaceData
public abstract ToolData getToolWorkspaceData(String key) throws IvjException, OptionalDataException, ClassNotFoundException, IOException, StreamCorruptedException
- Retrieves the workspace tool data with the specified key
for this model
- Parameters:
- key - java.lang.String
- Returns:
- com.ibm.ivj.util.base.ToolData
setToolRepositoryData
public abstract void setToolRepositoryData(ToolData data) throws IvjException, IOException
- Associates the tool repository data with this model
- Parameters:
- data - com.ibm.ivj.util.base.ToolData
setToolWorkspaceData
public abstract void setToolWorkspaceData(ToolData data) throws IvjException, IOException
- Associates the workspace tool data with this model
- Parameters:
- data - com.ibm.ivj.util.base.ToolData
testToolRepositoryData
public abstract boolean testToolRepositoryData(String key) throws IvjException
- Test for existence of tool repository data with the specified key
for this model
- Parameters:
- key - java.lang.String
- Returns:
- boolean
testToolWorkspaceData
public abstract boolean testToolWorkspaceData(String key) throws IvjException
- Test for existence of workspace tool data with the specified key
for this model
- Parameters:
- key - java.lang.String
- Returns:
- boolean
