net.sf.basedb.core.data
Class SharedData
java.lang.Object
net.sf.basedb.core.data.BasicData
net.sf.basedb.core.data.OwnedData
net.sf.basedb.core.data.SharedData
- All Implemented Interfaces:
- IdentifiableData, OwnableData, ShareableData
- Direct Known Subclasses:
- CommonData, PluginDefinitionData
public abstract class SharedData
- extends OwnedData
- implements ShareableData
This class extends the OwnedData
class and implements the
ShareableData
interface. Ie. by extending this class a data item
gets an owner and it will be possible to share the item to other users.
- Version:
- 2.0
- Author:
- Nicklas
- See Also:
SharedItem
,
Authentication overview,
Basic classes and interfaces
itemKey
private ItemKeyData itemKey
projectKey
private ProjectKeyData projectKey
SharedData
public SharedData()
getItemKey
public ItemKeyData getItemKey()
- Description copied from interface:
ShareableData
- Get the
ItemKeyData
for the item. An item key is used
to share an item to individual users and/or groups.
- Specified by:
getItemKey
in interface ShareableData
setItemKey
public void setItemKey(ItemKeyData itemKey)
- Description copied from interface:
ShareableData
- Set the
ItemKeyData
for the item. An item key is used
to share an item to individual users and or groups. Use null to
disable sharing.
- Specified by:
setItemKey
in interface ShareableData
getProjectKey
public ProjectKeyData getProjectKey()
- Description copied from interface:
ShareableData
- Get the
ProjectKeyData
for the item. A project key is used
to share an item to projects.
- Specified by:
getProjectKey
in interface ShareableData
setProjectKey
public void setProjectKey(ProjectKeyData projectKey)
- Description copied from interface:
ShareableData
- Set the
ProjectKeyData
for the item. A project key is used
to share an item to projects. Use null to disable sharing.
- Specified by:
setProjectKey
in interface ShareableData