blackboard.data.content
Class GroupUpload
java.lang.Object
blackboard.data.BbObject
blackboard.data.content.Upload
blackboard.data.content.GroupUpload
- All Implemented Interfaces:
- UploadDef, IBbObject, java.lang.Cloneable
public class GroupUpload
- extends Upload
The GroupUpload
class wraps a reference to a file that has been
uploaded to a group file exchange in a course. This object only represents
the information in the database used to track the file reference.
References to the actual file system objects must be obtained separately.
Note that GroupUpload
objects are only meant to deal with files
associated with the group file exchange. It does not deal with files in
other contexts, such as content uploads or the course drop box.
- Since:
- Bb 6.2
- Version:
- $Revision: #1 $ $Date: 2005/06/27 $
Method Summary |
DataType |
getDataType()
Returns the DataType identifier for the given BbObject-derived
object. |
Id |
getGroupId()
Gets the id of the group that contains this group upload. |
void |
setGroupId(Id groupId)
Sets the id of the group that contains this group upload. |
Methods inherited from class blackboard.data.BbObject |
clone, getBbAttributes, getCreatedDate, getId, getModifiedDate, persist, setCreatedDate, setId, setModifiedDate, toString, validate |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DATA_TYPE
public static final DataType DATA_TYPE
GroupUpload
public GroupUpload()
- Default constructor. Creates an instance of
GroupUpload
with
default property values.
getGroupId
public Id getGroupId()
- Gets the id of the group that contains this group upload. This will be
unset on new instances, but must be set to the id of an existing group
before persisting.
- Returns:
- the id of the containing group, unset on new instances
setGroupId
public void setGroupId(Id groupId)
- Sets the id of the group that contains this group upload. This must be
set on new instances to the id of an existing group before persisting.
Note that the course id of the group with the specified id must match the
course id of the course membership with the id specified by the
courseMembershipId
property.
- Parameters:
groupId
- the id of the containing group
getDataType
public DataType getDataType()
- Description copied from class:
BbObject
- Returns the
DataType
identifier for the given BbObject-derived
object. Can be used to uniquely identify the "type" of a data object.
- Specified by:
getDataType
in interface IBbObject
- Specified by:
getDataType
in class BbObject
- Returns:
- the
DataType
for current object
Copyright © 2003 Blackboard, Inc. All Rights Reserved.