at.gv.egovernment.moa.spss.server.invoke
Class ProfileMapper
java.lang.Object
|
+--at.gv.egovernment.moa.spss.server.invoke.ProfileMapper
- public class ProfileMapper
- extends Object
Map ProfileID objects to their explicit represantation.
- Version:
- $Id$
- Author:
- Patrick Peck
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProfileMapper
public ProfileMapper()
mapCreateTransformsInfoProfile
public static at.gv.egovernment.moa.spss.api.xmlsign.CreateTransformsInfoProfileExplicit mapCreateTransformsInfoProfile(at.gv.egovernment.moa.spss.api.xmlsign.CreateTransformsInfoProfile profile,
ConfigurationProvider config)
throws MOAApplicationException
- Map a
CreateTransformsInfoProfile
to a
CreateTransformsInfoProfileExplicit
.
- Parameters:
profile
- The profile object to map.config
- The MOA configuration to use for looking up the profile.- Returns:
profile
, if the given profile is of type
EXPLICIT_CREATETRANSFORMSINFOPROFILE
, otherwise the profile
that is looked up and parsed from the configuration.- Throws:
MOAApplicationException
- An error occurred parsing the profile.
mapCreateSignatureEnvironmentProfile
public static at.gv.egovernment.moa.spss.api.xmlsign.CreateSignatureEnvironmentProfileExplicit mapCreateSignatureEnvironmentProfile(at.gv.egovernment.moa.spss.api.xmlsign.CreateSignatureEnvironmentProfile profile,
ConfigurationProvider config)
throws MOAApplicationException
- Map a
CreateSignatureEnvironmentProfile
to a
CreateSignatureEnvironmentProfileExplicit
.
- Parameters:
profile
- The profile object to map.config
- The MOA configuration to use for looking up the profile.- Returns:
profile
, if the given profile is of type
EXPLICIT_CREATESIGNATUREENVIRONMENTPROFILE
, otherwise the
profile that is looked up and parsed from the configuration.- Throws:
MOAApplicationException
- An error occurred parsing the profile.
mapSupplementProfiles
public static List mapSupplementProfiles(List profiles,
ConfigurationProvider config)
throws MOAApplicationException
- Map a
List
of SupplementProfile
s to their
explicit representation.
- Parameters:
profiles
- The profiles to map.config
- The MOA configuration to use for looking up profiles.- Returns:
- The mapped profiles.
- Throws:
MOAApplicationException
- An error occurred mapping one of the
profiles.
mapSupplementProfile
public static at.gv.egovernment.moa.spss.api.xmlverify.SupplementProfileExplicit mapSupplementProfile(at.gv.egovernment.moa.spss.api.xmlverify.SupplementProfile profile,
ConfigurationProvider config)
throws MOAApplicationException
- Map a
SupplementProfile
to a
SupplementProfileExplicit
.
- Parameters:
profile
- The profile object to map.config
- The MOA configuration to use for looking up the profile.- Returns:
profile
, if the given profile is of type
EXPLICIT_SUPPLEMENTPROFILE
, otherwise the
profile that is looked up and parsed from the configuration.- Throws:
MOAApplicationException
- An error occurred parsing the profile.
mapVerifyTransformsInfoProfiles
public static List mapVerifyTransformsInfoProfiles(List profiles,
ConfigurationProvider config)
throws MOAApplicationException
- Map a
List
of VerifyTransformsInfoProfile
s to
their explicit representation.
- Parameters:
profiles
- The profiles to map.config
- The MOA configuration to use for looking up profiles.- Returns:
- The mapped profiles.
- Throws:
MOAApplicationException
- An error occurred mapping one of the
profiles.
mapVerifyTransformsInfoProfile
public static at.gv.egovernment.moa.spss.api.xmlverify.VerifyTransformsInfoProfileExplicit mapVerifyTransformsInfoProfile(at.gv.egovernment.moa.spss.api.xmlverify.VerifyTransformsInfoProfile profile,
ConfigurationProvider config)
throws MOAApplicationException
- Map a
VerifyTransformsInfoProfile
to a
VerifyTransformsInfoProfileExplicit
.
- Parameters:
profile
- The profile object to map.config
- The MOA configuration to use for looking up the profile.- Returns:
profile
, if the given profile is of type
EXPLICIT_VERIFYTRANSFORMSINFOPROFILE
, otherwise the
profile that is looked up and parsed from the configuration.- Throws:
MOAApplicationException
- An error occurred parsing the profile.