public abstract class SharedData extends OwnedData implements ShareableData
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.SharedItem
,
Authentication overview,
Basic classes and interfacesConstructor and Description |
---|
SharedData() |
Modifier and Type | Method and Description |
---|---|
ItemKeyData |
getItemKey()
Get the
ItemKeyData for the item. |
ProjectKeyData |
getProjectKey()
Get the
ProjectKeyData for the item. |
void |
setItemKey(ItemKeyData itemKey)
Set the
ItemKeyData for the item. |
void |
setProjectKey(ProjectKeyData projectKey)
Set the
ProjectKeyData for the item. |
equals, getId, getVersion, hashCode, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getOwner, setOwner
getId, getVersion
public SharedData()
public ItemKeyData getItemKey()
ShareableData
ItemKeyData
for the item. An item key is used
to share an item to individual users and/or groups.getItemKey
in interface ShareableData
public void setItemKey(ItemKeyData itemKey)
ShareableData
ItemKeyData
for the item. An item key is used
to share an item to individual users and or groups. Use null to
disable sharing.setItemKey
in interface ShareableData
public ProjectKeyData getProjectKey()
ShareableData
ProjectKeyData
for the item. A project key is used
to share an item to projects.getProjectKey
in interface ShareableData
public void setProjectKey(ProjectKeyData projectKey)
ShareableData
ProjectKeyData
for the item. A project key is used
to share an item to projects. Use null to disable sharing.setProjectKey
in interface ShareableData