Package com.helger.phase4.profile.peppol
Class PeppolPMode
java.lang.Object
com.helger.phase4.profile.peppol.PeppolPMode
PMode creation code.
- Author:
- Philip Helger
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic com.helger.phase4.model.pmode.PModePartycreateParty(String sPartyID, String sRole) static com.helger.phase4.model.pmode.PModecreatePeppolPMode(String sInitiatorID, String sResponderID, String sAddress, com.helger.phase4.model.pmode.IPModeIDProvider aPModeIDProvider, boolean bPersist) One-Way Version of the Peppol pmode uses one-way pushstatic com.helger.phase4.model.pmode.leg.PModeLeggeneratePModeLeg(String sAddress) static com.helger.phase4.model.pmode.leg.PModeLegBusinessInformationstatic com.helger.phase4.model.pmode.leg.PModeLegErrorHandlingstatic com.helger.phase4.model.pmode.leg.PModeLegProtocolgeneratePModeLegProtocol(String sAddress) static com.helger.phase4.model.pmode.leg.PModeLegSecuritystatic com.helger.phase4.model.pmode.PModeReceptionAwareness
-
Field Details
-
DEFAULT_AGREEMENT_ID
- See Also:
-
DEFAULT_PARTY_TYPE_ID
- See Also:
-
CERTIFICATE_SUBJECT_CONSTRAINT_PATTERN
-
-
Method Details
-
generatePModeLegProtocol
@Nonnull public static com.helger.phase4.model.pmode.leg.PModeLegProtocol generatePModeLegProtocol(@Nullable String sAddress) - Parameters:
sAddress- The endpoint address URL. Maybenull.- Returns:
- The new
PModeLegProtocol. Nevernull.
-
generatePModeLegBusinessInformation
@Nonnull public static com.helger.phase4.model.pmode.leg.PModeLegBusinessInformation generatePModeLegBusinessInformation() -
generatePModeLegErrorHandling
@Nonnull public static com.helger.phase4.model.pmode.leg.PModeLegErrorHandling generatePModeLegErrorHandling() -
generatePModeLegSecurity
@Nonnull public static com.helger.phase4.model.pmode.leg.PModeLegSecurity generatePModeLegSecurity() -
generatePModeLeg
@Nonnull public static com.helger.phase4.model.pmode.leg.PModeLeg generatePModeLeg(@Nullable String sAddress) - Parameters:
sAddress- The endpoint address URL. Maybenull.- Returns:
- The new
PModeLeg. Nevernull. - See Also:
-
generatePModeReceptionAwareness
@Nonnull public static com.helger.phase4.model.pmode.PModeReceptionAwareness generatePModeReceptionAwareness() -
createParty
-
createPeppolPMode
@Nonnull public static com.helger.phase4.model.pmode.PMode createPeppolPMode(@Nonnull @Nonempty String sInitiatorID, @Nonnull @Nonempty String sResponderID, @Nullable String sAddress, @Nonnull com.helger.phase4.model.pmode.IPModeIDProvider aPModeIDProvider, boolean bPersist) One-Way Version of the Peppol pmode uses one-way push- Parameters:
sInitiatorID- Initiator ID. May neither benullnor empty.sResponderID- Responder ID. May neither benullnor empty.sAddress- Endpoint address URL. May benull.aPModeIDProvider- PMode ID provider. May not benull.bPersist-trueto persist the PMode in the PModeManager,falseto have it only in memory.- Returns:
- New PMode and never
null.
-