|
com.im.df.api 5.12.4 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DFSharedObjectCapability
This capability should be added to all user specific DFItems. It means this capability can be part of
DFList, DFQuery and DFView.
This is
an optional functionality so you should not expect it's always part of these DFItems. This interface is read-only so
you can't change sharing status property value using it. If you are owner of the object you can try to obtain
DFSharedObjectOwnerCapability and change the sharing status there.
| Field Summary | |
|---|---|
static String |
PROP_OWNER
Code name of 'owner' property. |
static String |
PROP_SHARING
Code name of 'sharing' property. |
| Method Summary | |
|---|---|
String |
getOwner()
Get username of this DFItem's owner. |
DFSharing |
getSharing(DFEnvironmentRO env)
Get the full sharing information about this object. |
boolean |
isPrivateAndHidden()
This method provides faster access for users who don't need full sharing information, like e.g. |
boolean |
isSharedForReading()
Is the item shared to somebody for reading? If not, other users can potentially see this item in the "copy" dialogue. |
| Field Detail |
|---|
static final String PROP_SHARING
static final String PROP_OWNER
| Method Detail |
|---|
DFSharing getSharing(DFEnvironmentRO env)
DFSharedObjectOwnerCapability#setSharing().
env - Environment used for feedback as this method may query the database.
boolean isPrivateAndHidden()
boolean isSharedForReading()
String getOwner()
IJCUserLoginService. If the current user is owner, the name returned from this
method should be the same like IJCUserLoginService.whoAmI() return value.
|
com.im.df.api 5.12.4 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||