|
SAP NetWeaver 7.40 SP 07 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sap.netweaver.bc.serialize.ISerializer.DeserializationParameters
public static final class ISerializer.DeserializationParameters
| Constructor Summary | |
|---|---|
ISerializer.DeserializationParameters(IExternalFileReader reader,
RID rid,
IResourceContext context,
ILogger logger,
RIDRequestList ridrequestlist,
boolean anonymize,
String anonymizedUserId,
ISerializer.ImportMode mode,
String batchID)
provides all the data needed for this container instance. |
|
| Method Summary | |
|---|---|
Result |
deserialize(RID rid,
ISerializer serializer)
Deprecated. use deserialize(RIDRequest) instead |
Result |
deserialize(RIDRequest request)
see deserialize(RID, ISerializer) and deserialize(RID, RID, ISerializer) |
Result |
deserialize(RID rid,
RID newName,
ISerializer serializer)
Deprecated. |
String |
getAnonymizedUserId()
|
String |
getBatchID()
|
IResourceContext |
getContext()
|
ILogger |
getLogger()
|
ISerializer.ImportMode |
getMode()
|
RID |
getRid()
|
boolean |
isAnonymized()
|
InputStream |
retrieveRequest(String name,
ISerializer serializer)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ISerializer.DeserializationParameters(IExternalFileReader reader,
RID rid,
IResourceContext context,
ILogger logger,
RIDRequestList ridrequestlist,
boolean anonymize,
String anonymizedUserId,
ISerializer.ImportMode mode,
String batchID)
null
reader - allows requesting to read data stored outside the caller's xmlrid - the rid of the resource to be importedcontext - the resource context to use. This should be a service user's contextlogger - allows to add data into the deserialization logridrequestlist - stores rids that need to be deserialized as wellanonymize - flag to define anonymization behavioranonymizedUserId - ID of the user to use, if it is an anonymized deserializationmode - defines behavior in case of content conflictsbatchID - If several resources are deserialized in one process, they should all be deserialized using the same batchID.| Method Detail |
|---|
public boolean isAnonymized()
public String getAnonymizedUserId()
null.public RID getRid()
public IResourceContext getContext()
public ILogger getLogger()
public ISerializer.ImportMode getMode()
public String getBatchID()
public Result deserialize(RID rid,
RID newName,
ISerializer serializer)
IResource.
Depending on the implementation of this interface, this call might be
done directly or it will be carried out after the deserialization of the
current resource has finished. The serializer must have requested the
serialization of that resource.
rid - the absolute rid of the resource to deserialize. Must not be
nullnewName - the new absolute rid of the resource. Must not be
nullserializer - the serializer calling, must not be null
Result instance
public Result deserialize(RID rid,
ISerializer serializer)
deserialize(RIDRequest) instead
IResource.
Depending on the implementation of this interface, this call might be
done directly or it will be carried out after the deserialization of the
current resource has finished. The serializer must have requested the
serialization of that resource.
rid - the absolute rid of the resource to deserialize. Must not be
null
Result instancepublic Result deserialize(RIDRequest request)
deserialize(RID, ISerializer) and deserialize(RID, RID, ISerializer)
request - - must not be null
public InputStream retrieveRequest(String name,
ISerializer serializer)
throws SerializationException
name - the name of the external file to retrieve the content from.
Must be the same name that has been returned to the caller when
it requested that external file with the method
getRequest or addRequest of the
interface IExternalFileRequesterserializer -
SerializationException| 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.40 SP 07 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||