Instances represent concrete subspaces in the local DSpace.
More...
List of all members.
Detailed Description
Instances represent concrete subspaces in the local DSpace.
Member Function Documentation
long de.zib.gndms.model.dspace.Subspace.getAvailableSize |
( |
| ) |
|
Returns the available size of this subspace.
- Returns:
- The available size.
Set<SliceKind> de.zib.gndms.model.dspace.Subspace.getCreatableSliceKinds |
( |
| ) |
|
Returns the slice kinds of this subspace.
- Returns:
- The slice kinds.
String de.zib.gndms.model.dspace.Subspace.getGsiFtpPath |
( |
| ) |
|
Returns the gsi ftp path of this subspace.
- Returns:
- The gsi ftp path.
String de.zib.gndms.model.dspace.Subspace.getGsiFtpPathForSlice |
( |
final Slice |
sl | ) |
|
Returns the gsi ftp path to a slice.
- Parameters:
-
- Returns:
- The gsi ftp path.
{
return getGsiFtpPath() + "/" + sl.getKind( ).getSliceDirectory() + "/" + sl.getDirectoryId( );
}
String de.zib.gndms.model.dspace.Subspace.getPath |
( |
| ) |
|
Returns the absolute path of this subspace.
- Returns:
- The path.
String de.zib.gndms.model.dspace.Subspace.getPathForSlice |
( |
final Slice |
sl | ) |
|
Returns the absolute path to a slice.
- Parameters:
-
- Returns:
- The path.
{
return getPath() + File.separator + sl.getKind( ).getSliceDirectory() + File.separator + sl.getDirectoryId();
}
long de.zib.gndms.model.dspace.Subspace.getTotalSize |
( |
| ) |
|
Returns the total size of this subspace.
- Returns:
- The total size
boolean de.zib.gndms.model.dspace.Subspace.isVisibleToPublic |
( |
| ) |
|
Returns the visibility of this subspace.
- Returns:
- The visibility.
void de.zib.gndms.model.dspace.Subspace.setAvailableSize |
( |
final long |
availableSize | ) |
|
Sets the available size of this subspace.
- Parameters:
-
availableSize | The size to set. |
void de.zib.gndms.model.dspace.Subspace.setCreatableSliceKinds |
( |
final Set< SliceKind > |
creatableSliceKinds | ) |
|
Sets the slice kinds of this subspace.
- Parameters:
-
creatableSliceKinds | The slice kinds. |
void de.zib.gndms.model.dspace.Subspace.setGsiFtpPath |
( |
final String |
gsiFtpPath | ) |
|
Sets the gsi ftp path for this subspace.
- Parameters:
-
gsiFtpPath | The path to set. |
void de.zib.gndms.model.dspace.Subspace.setPath |
( |
final String |
path | ) |
|
Sets the path of this subspace.
path must exist and be a valid directory with read/write access.
- Parameters:
-
- Note:
- The read permission will be removed from path.
void de.zib.gndms.model.dspace.Subspace.setTotalSize |
( |
final long |
totalSize | ) |
|
Sets the total size of this subspace.
- Parameters:
-
totalSize | The size to set. |
void de.zib.gndms.model.dspace.Subspace.setVisibleToPublic |
( |
final boolean |
visibleToPublic | ) |
|
Sets the visibility of this subspace.
- Parameters:
-
visibleToPublic | The visibility. |
The documentation for this class was generated from the following file:
- model/src/de/zib/gndms/model/dspace/Subspace.java