com.ibm.mashups.enabler.model.space
Interface SpaceExtension


public SpaceExtension

Interface SpaceExtension for space life cycle events.


Method Summary
 unknown onSpaceCreate(unknown spaceId, unknown spaceName, unknown spaceDescription, unknown optionalInfo)
           This method is called before space is created in business space.
 unknown onSpaceCopy(unknown sourceSpaceId, unknown targetSpaceId, unknown targetSpaceName, unknown targetDescription, unknown optionalInfo)
           This method is called before space is copied in business space.
 unknown onSpaceUpdate(unknown spaceId, unknown spaceData, unknown optionalInfo)
           This method is called before space is updated in business space.
 unknown onSpaceDelete(unknown spaceId, unknown optionalInfo)
           This method is called before space is deleted in business space.
 unknown canExportSpace(unknown spaceId, unknown optionalInfo)
           This method is used to check if the specified space can be exported.
 unknown canCopySpace(unknown spaceId, unknown optionalInfo)
           This method is used to check if the specified space can be copied.
 unknown canDeleteSpace(unknown spaceId, unknown optionalInfo)
           This method is used to check if the specified space can be deleted.
 

Method Detail

onSpaceCreate

unknown onSpaceCreate(unknown spaceId,
                      unknown spaceName,
                      unknown spaceDescription,
                      unknown optionalInfo)
This method is called before space is created in business space. spaceId: String, Id of the space spaceName: String, name of the space spaceDescription: String, description of the space optionalInfo: this is a field reserved for future. return: SpaceExtensionResult or no return. No return means "notification has been delivered successfully and accepted".


onSpaceCopy

unknown onSpaceCopy(unknown sourceSpaceId,
                    unknown targetSpaceId,
                    unknown targetSpaceName,
                    unknown targetDescription,
                    unknown optionalInfo)
This method is called before space is copied in business space. sourceSpaceId: String, Id of the source space targetSpaceId: String, Id of the target space targetSpaceName: String, name of the target space targetDescription: String, description of the target space optionalInfo: this is a field reserved for future. return: SpaceExtensionResult or no return. No return means "notification has been delivered successfully and accepted".


onSpaceUpdate

unknown onSpaceUpdate(unknown spaceId,
                      unknown spaceData,
                      unknown optionalInfo)
This method is called before space is updated in business space. spaceId: String, Id of the space spaceData: JSON object, the set of space data that's going to be updated. optionalInfo: this is a field reserved for future. return: SpaceExtensionResult or no return. No return means "notification has been delivered successfully and accepted".


onSpaceDelete

unknown onSpaceDelete(unknown spaceId,
                      unknown optionalInfo)
This method is called before space is deleted in business space. spaceId: String, Id of the space optionalInfo: this is a field reserved for future. return: SpaceExtensionResult or no return. No return means "notification has been delivered successfully and accepted".


canExportSpace

unknown canExportSpace(unknown spaceId,
                       unknown optionalInfo)
This method is used to check if the specified space can be exported. spaceId: String, Id of the space optionalInfo: this is a field reserved for future. return: SpaceExtensionResult or no return. No return means that the space can be exported.


canCopySpace

unknown canCopySpace(unknown spaceId,
                     unknown optionalInfo)
This method is used to check if the specified space can be copied. spaceId: String, Id of the space optionalInfo: this is a field reserved for future. return: SpaceExtensionResult or no return. No return means that the space can be copied.


canDeleteSpace

unknown canDeleteSpace(unknown spaceId,
                       unknown optionalInfo)
This method is used to check if the specified space can be deleted. spaceId: String, Id of the space optionalInfo: this is a field reserved for future. return: SpaceExtensionResult or no return. No return means that the space can be deleted.



Copyright IBM Corp. 2010 All Rights Reserved.