Class TransferZoneFactoryImpl

    • Field Detail

      • transferZones

        protected final TransferZones transferZones
        container to use
    • Constructor Detail

      • TransferZoneFactoryImpl

        protected TransferZoneFactoryImpl​(IdGroupingToken groupId,
                                          TransferZones transferZones)
        Constructor
        Parameters:
        groupId - to use
        transferZones - to use
    • Method Detail

      • registerNew

        public TransferZone registerNew​(TransferZoneType type,
                                        boolean syncXmlIdToId)
        Register a new transfer zone without registering and set its XML id and type
        Specified by:
        registerNew in interface TransferZoneFactory
        Parameters:
        type - transfer zone type to use
        syncXmlIdToId - when true, set the XML id to the underlying internal id, when false, so not set XML id yet
        Returns:
        the new zone created