|
SAP NetWeaver 7.31 (SP01) KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.wcm.repository.service.colltransport.CollaborationTransportExport
public final class CollaborationTransportExport
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.sap.netweaver.bc.serialize.ISerializer |
|---|
ISerializer.DeserializationParameters, ISerializer.IDValidator, ISerializer.ImportMode, ISerializer.SerializationParameters |
| Field Summary |
|---|
| Fields inherited from interface com.sap.netweaver.bc.serialize.ISerializer |
|---|
ADD_AND_DELETE, ADD_ONLY, MERGE_FOLDER, VALID_CHARS |
| Constructor Summary | |
|---|---|
CollaborationTransportExport(String id,
String repository,
String root,
String tag,
String name,
PropertyName propName,
IPropertyNameList propList,
boolean doAnonym,
boolean doRes)
Constructor of Collaboration Transport |
|
| Method Summary | |
|---|---|
IDeserializer |
deserialize(ISerializer.DeserializationParameters parameters)
called to actually recreate the snapshot of the resource
denoted by the RID passed here. |
PropertiesClaim |
getClaim(ISerializerRegistrator.PropertyUsage usage)
|
String |
getDisplayName(Locale locale)
Gets the localized display name of this ISerializer. |
HeaderData |
getHeaderData()
|
String |
getID()
Gets the unique identifier of this ISerializer. |
boolean |
isDeserializable(ISerializer.DeserializationParameters parameters)
Returns whether this serializer is able to import content for resources in the repository denoted by its root resource passed in parameter. |
boolean |
isSerializable(ISerializer.SerializationParameters parameters)
Returns whether this serializer wants to export content for resources in the repository denoted by its root resource passed in parameter. |
void |
serialize(ISerializer.SerializationParameters parameters)
Exports that part of the content of the specified resource
this serializer is responsible for. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CollaborationTransportExport(String id,
String repository,
String root,
String tag,
String name,
PropertyName propName,
IPropertyNameList propList,
boolean doAnonym,
boolean doRes)
id - the id of used by Transport Servicerepository - where items are storedroot - Path in repository where items are storedtag - tag used to identify start of XML-Filename - Name of the TransportpropName - personalized Property which will be transportedpropList - List of properties which shall not be transporteddoAnonym - shall be transported anonymousdoRes - shall resources be transported| Method Detail |
|---|
public String getDisplayName(Locale locale)
ISerializer
getDisplayName in interface ISerializerlocale - the Locale
null
public void serialize(ISerializer.SerializationParameters parameters)
throws SerializationException
ISerializerresource
this serializer is responsible for.
If the implementing class does not need to serialize any data for the
given IResource, it should not call the
IXMLSerializer supplied in the params-container. If that xmlserializer
is called, it will create an xml-file or snippet for the calling class. This
will result in a call to that class when the deserialization is triggered as
well. So the unneeded call to the xmlserializer results in a double performance
overhead.
serialize in interface ISerializerparameters - defining the parameters for the call, must not be
null
SerializationException - The calling class has to ensure, that any
Stream object passed to this method will be
properly closed. Depending on the severity of the exception, the
snapshot of the complete resource has to be aborted.
public IDeserializer deserialize(ISerializer.DeserializationParameters parameters)
throws SerializationException
ISerializerresource
denoted by the RID passed here. The data created in the
ISerializer.serialize(com.sap.netweaver.bc.serialize.ISerializer.SerializationParameters)will be used for this. Only data created by this
serializer will be available. It will be available exactly as it was
created.
deserialize in interface ISerializerparameters - defining the parameters for the call, must not be
null
ISerializer.serialize(com.sap.netweaver.bc.serialize.ISerializer.SerializationParameters)method. Must not be null
SerializationException - Depending on the severity of the exception,
the snapshot of the complete resource has to be aborted.
public boolean isSerializable(ISerializer.SerializationParameters parameters)
throws SerializationException
ISerializerparameter.
If an implementation returns false, the callback method
ISerializer.serialize(com.sap.netweaver.bc.serialize.ISerializer.SerializationParameters)will not be called for resources of that repository
within the current serialization cycle.
isSerializable in interface ISerializerparameters - defining the parameters for the call, must not be
null
ISerializer should be called for
resources in the repository defined in the parameters
parameter.
SerializationException - If the exception is thrown, the calling
class should interpret this exception the same way as it would
interpret a false as return value
public boolean isDeserializable(ISerializer.DeserializationParameters parameters)
throws SerializationException
ISerializerparameter.
If an implementation returns false, the callback method
ISerializer.deserialize(com.sap.netweaver.bc.serialize.ISerializer.DeserializationParameters)will not be called for resources of that repository
within the current deserialization cycle.
isDeserializable in interface ISerializerparameters - defining the parameters for the call, must not be
null
ISerializer should be called for
resources in the repository defined in the parameters
parameter.
SerializationException - If the exception is thrown, the calling
class should interpret this exception the same way as it would
interpret a false as return valuepublic HeaderData getHeaderData()
getHeaderData in interface ISerializerISerializer
implementation. Must not return null, but might
return an empty instance.public String getID()
ISerializerISerializerRegistrator. So for each
RID in the registrator, only one ISeralizer
can have a certain ID. The returned string must not be null,
must not consist of only blanks. It must only contain characters stated in
the VALID_CHARS constant of this interface. You can check
validity by using ISerializer.IDValidator.isValid(String). A
serializer with an invalid ID will not be registered with the Registrator
instead, a runtime exception will be thrown.
getID in interface ISerializerpublic PropertiesClaim getClaim(ISerializerRegistrator.PropertyUsage usage)
getClaim in interface IClaimStakerusage - the application the properties are claimed for. Use the
constants provided by the ISerializerRegistrator for this.
Must not be null.
null. This
information is handled in a static way - the claim that has been
provided once by the implementing class will be kept that way
during the runtime of the VM| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
|
SAP NetWeaver 7.31 (SP01) KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||