com.ibm.portal.services.contentmapping
Interface ContentMappingInfoController

All Superinterfaces:
Committable

public interface ContentMappingInfoController
extends Committable

This interface provides write access to content mapping information

An instance of this interface can be obtained via the ContentMappingHome interface. All updates made to instances of ModifiableContentMappingInfo objects obtained from a given ContentMappingInfoController are written to persitent storage by calling the controller's commit method defined in the Committable interface.

Since:
7.0.0.0
See Also:
ContentMappingInfoHome, Committable

Method Summary
 boolean confirmCreateModifiableContentMappingInfo(ContentMappingInfo contentMappingInfo)
          Indicates weather the given ContentMappingInfo object can be modified.
 boolean confirmCreateModifiableContentMappingInfo(Identifiable resource)
          Indicates weather the ContentMappingInfo object of the given resource can be modified.
 ModifiableContentMappingInfo createModifiableContentMappingInfo(ContentMappingInfo contentMappingInfo)
          Returns a modifiable version of a given ContentMappingInfo object.
 ModifiableContentMappingInfo createModifiableContentMappingInfo(Identifiable resource)
          Returns a modifiable content mapping info object for a given portal resource.
 
Methods inherited from interface com.ibm.portal.services.contentmapping.Committable
commit
 

Method Detail

confirmCreateModifiableContentMappingInfo

boolean confirmCreateModifiableContentMappingInfo(ContentMappingInfo contentMappingInfo)
Indicates weather the given ContentMappingInfo object can be modified.

Parameters:
contentMappingInfo - the ContentMappingInfo object.
Returns:
true if a ModifiableContentMappingInfo object can be created for the given ContentMappingInfo object, false otherwise.

confirmCreateModifiableContentMappingInfo

boolean confirmCreateModifiableContentMappingInfo(Identifiable resource)
Indicates weather the ContentMappingInfo object of the given resource can be modified.

Parameters:
resource - Identifiable object specifying the portal resource.
Returns:
true if a ModifiableContentMappingInfo object can be created for the given resource, false otherwise.

createModifiableContentMappingInfo

ModifiableContentMappingInfo createModifiableContentMappingInfo(ContentMappingInfo contentMappingInfo)
                                                                throws ContentMappingDataBackendException
Returns a modifiable version of a given ContentMappingInfo object. Updates performed on the modifiable object are written to persistent storage by calling the controllers commit method.

Parameters:
contentMappingInfo - The given ContentMappingInfo object.
Throws:
ContentMappingDataBackendException

createModifiableContentMappingInfo

ModifiableContentMappingInfo createModifiableContentMappingInfo(Identifiable resource)
                                                                throws ContentMappingDataBackendException
Returns a modifiable content mapping info object for a given portal resource. Updates performed on the modifiable object are written to persistent storage by calling the controllers commit method.

Parameters:
resource - The given portal resource.
Throws:
ContentMappingDataBackendException - In case reading the objects initialization data from persistent storage fails.