com.im.df.api 5.9

com.im.df.api.capabilities
Interface DFSharedObjectOwnerCapability

All Superinterfaces:
DFCapability, DFSharedObjectCapability

public interface DFSharedObjectOwnerCapability
extends DFSharedObjectCapability

This capability is an read-write extension of DFSharedObjectCapability. If you are able to obtain this capability it means you are owner of the DFItem and you can change its sharing status (publish it or hide it).


Field Summary
 
Fields inherited from interface com.im.df.api.capabilities.DFSharedObjectCapability
PROP_OWNER, PROP_SHARING
 
Method Summary
 void setSharing(DFSharing sharing, DFEnvironmentRW env)
          Change the sharing status of the object.
 
Methods inherited from interface com.im.df.api.capabilities.DFSharedObjectCapability
getOwner, getSharing
 

Method Detail

setSharing

void setSharing(DFSharing sharing,
                DFEnvironmentRW env)
Change the sharing status of the object. If object's sharing status is going to be lowered, it means other users could still see it as it's part of their locally cached models. Once other user closes the connection and reload the model the object will not be there anymore. (depending if it's PUBLIC or SHARED).


com.im.df.api 5.9