|
|||||||||
| Home >> All >> com >> flexstor >> ejb >> versioncontrol >> [ workspace overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.flexstor.ejb.versioncontrol.workspace
Interface Workspace

- All Superinterfaces:
- com.flexstor.ejb.EjbObject, javax.ejb.EJBObject, java.rmi.Remote
- public interface Workspace
- extends com.flexstor.ejb.EjbObject
Remote interface for the Workspace bean
| Method Summary | |
void |
addRecords(com.flexstor.common.data.ActionData data)
Updates the workspace by adding the records after copying the files to the workspace in the filesystem. |
java.util.Map |
areVersionsCurrent(java.util.List recordIds)
Checks records to determine whether its version in the workspace is synchronized with the most current version in the repository. |
java.lang.String |
createWorkspace(com.flexstor.common.data.ActionData data)
Creates a workspace record in the database. |
java.util.Map |
getCurrentVersions(java.util.List assetIds)
Returns an AssetRecordData object for each asset id specified in the argument. |
com.flexstor.common.data.AssetRecordData |
getDefaultViewAsset(com.flexstor.common.data.AssetRecordData dat)
This will get the default view asset for the AssetRecordData passed in to the method. |
void |
updateRecords(com.flexstor.common.data.ActionData data)
Updates the records in the workspace to reflect the new state of the asset (synchronized with the repository) |
| Methods inherited from interface com.flexstor.ejb.EjbObject |
keepAlive |
| Methods inherited from interface javax.ejb.EJBObject |
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove |
| Method Detail |
createWorkspace
public java.lang.String createWorkspace(com.flexstor.common.data.ActionData data) throws java.rmi.RemoteException, com.flexstor.common.exceptions.ejb.EjbException
- Creates a workspace record in the database. It is created by storing the workspace name,
type, userid of creator and if public the users/groups that can access it. If a workspace
of the same name exists, this methods returns a possible unique name to use based on the
initial workspace name specified; otherwise it returns an empty String.
addRecords
public void addRecords(com.flexstor.common.data.ActionData data) throws java.rmi.RemoteException, com.flexstor.common.exceptions.ejb.EjbException
- Updates the workspace by adding the records after copying the files to the workspace in
the filesystem.
updateRecords
public void updateRecords(com.flexstor.common.data.ActionData data) throws java.rmi.RemoteException, com.flexstor.common.exceptions.ejb.EjbException
- Updates the records in the workspace to reflect the new state of the asset (synchronized
with the repository)
getDefaultViewAsset
public com.flexstor.common.data.AssetRecordData getDefaultViewAsset(com.flexstor.common.data.AssetRecordData dat) throws com.flexstor.common.exceptions.ejb.EjbException, java.rmi.RemoteException
- This will get the default view asset for the AssetRecordData passed
in to the method.
Transaction Attribute: Not Supported
areVersionsCurrent
public java.util.Map areVersionsCurrent(java.util.List recordIds) throws java.rmi.RemoteException, com.flexstor.common.exceptions.ejb.EjbException
- Checks records to determine whether its version in the workspace is synchronized with the
most current version in the repository.
getCurrentVersions
public java.util.Map getCurrentVersions(java.util.List assetIds) throws java.rmi.RemoteException, com.flexstor.common.exceptions.ejb.EjbException
- Returns an AssetRecordData object for each asset id specified in the argument.
|
|||||||||
| Home >> All >> com >> flexstor >> ejb >> versioncontrol >> [ workspace overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC