com.ibm.portal
Interface ModifiableActiveFlag

All Superinterfaces:
ActiveFlag, Modifiable
All Known Subinterfaces:
ModifiableContentLabel, ModifiableContentNode, ModifiableContentPage, ModifiableContentURL, ModifiableDecoration, ModifiableExternalContentURL, ModifiableInternalContentURL, ModifiablePortletDefinition, ModifiableSkin, ModifiableStaticContentPage, ModifiableTheme

public interface ModifiableActiveFlag
extends ActiveFlag, Modifiable

An interface representing a modifiable active flag instance.

Since:
6.1.0

Method Summary
 boolean confirmSetActive(boolean flag)
          Indicates if the active flag may be set to the specified value.
 boolean setActive(boolean flag)
          Sets the active flag value.
 
Methods inherited from interface com.ibm.portal.ActiveFlag
isActive
 

Method Detail

setActive

boolean setActive(boolean flag)
                  throws CannotModifyPropertyException
Sets the active flag value.

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

confirmSetActive

boolean confirmSetActive(boolean flag)
Indicates if the active flag may be set to the specified value.

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