com.ibm.portal.content
Interface ModifiableShareableFlag

All Superinterfaces:
Modifiable, ShareableFlag

public interface ModifiableShareableFlag
extends ShareableFlag, Modifiable

An interface representing a modifiable shareable flag instance.

Since:
6.1.0

Method Summary
 boolean confirmSetShareable(boolean flag)
          Indicates if the shareable flag may be set to the specified value.
 boolean setShareable(boolean flag)
          Sets the shareable flag value.
 
Methods inherited from interface com.ibm.portal.content.ShareableFlag
isShareable
 

Method Detail

setShareable

boolean setShareable(boolean flag)
                     throws CannotModifyPropertyException
Sets the shareable flag value.

Parameters:
flag - the new value of the flag
Returns:
the former value of the flag
Throws:
CannotModifyPropertyException - in case the flag cannot be modified

confirmSetShareable

boolean confirmSetShareable(boolean flag)
Indicates if the shareable flag may be set to the specified value.

Parameters:
flag - the value for which to indicate if the flag may be set to
Returns:
true in case the specified value may be set, false otherwise