Replies the bus halt with the specified uuid.

@param uuid the identifier.
@return BusItineraryHalt or <code>null</code>
543034
@Pure
	public BusItineraryHalt getBusHalt(UUID uuid) {
		if (uuid == null) {
			return null;
		}
		for (final BusItineraryHalt busHalt : this.validHalts) {
			if (uuid.equals(busHalt.getUUID())) {
				return busHalt;
			}
		}
		for (final BusItineraryHalt busHalt : this.invalidHalts) {
			if (uuid.equals(busHalt.getUUID())) {
				return busHalt;
			}
		}
		return null;
	}
886745
@Override
	public void removeByUuid(String uuid) {
		for (CommerceWishList commerceWishList : findByUuid(uuid,
				QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(commerceWishList);
		}
	}
135011
public synchronized void removeId(@Nonnull String tokenUuid) {
        if(areStatsDisabled()){
            return;
        }
        
        boolean tokenRemoved = tokenStats.removeIf(s -> s.tokenUuid.equals(tokenUuid));
        if (tokenRemoved) {
            save();
        }
    }
1281804
@Basic
    @Column(name = "UIDENT", unique = true, nullable = false, length=255)
    public String getUid()
    {
        return this.uid;
    }
1321045
public BusItineraryHalt insertBusHaltBefore(BusItineraryHalt beforeHalt, UUID id, BusItineraryHaltType type) {
		return this.insertBusHaltBefore(beforeHalt, id, null, type);
	}
1244662
@Override
	public void setUUID(UUID id) {
		assert id != null;
		final UUID old = getUUID();
		if (!id.equals(old)) {
			super.setUUID(id);
			firePrimitiveChanged();
		}
	}
513030
public static final UUID parseUUID(String value)
   {
      return value == null || value.isEmpty() ? null : UUID.fromString(value);
   }
678298
public static String printUUID(UUID guid)
   {
      return guid == null ? null : "{" + guid.toString().toUpperCase() + "}";
   }
1044221
public static Search get(final UUID _uuid)
        throws CacheReloadException
    {
        return AbstractUserInterfaceObject.<Search>get(_uuid, Search.class, CIAdminUserInterface.Search.getType());
    }
976554
@Override
    public void writeUUID(UUID uuid) throws IOException {
        writeLong(uuid.getMostSignificantBits());
        writeLong(uuid.getLeastSignificantBits());
    }
1096419
public T get(final UUID _uuid)
    {
        return getCache4UUID() == null ? null : getCache4UUID().get(_uuid);
    }
106225
@Override
	public void removeByUuid(String uuid) {
		for (CPOptionValue cpOptionValue : findByUuid(uuid, QueryUtil.ALL_POS,
				QueryUtil.ALL_POS, null)) {
			remove(cpOptionValue);
		}
	}
637758
public static void checkId(CmsUUID id, boolean canBeNull) {

        if (canBeNull && (id == null)) {
            return;
        }
        if ((!canBeNull && (id == null)) || id.isNullUUID()) {
            throw new IllegalArgumentException(Messages.get().key(Messages.ERR_INVALID_UUID_1, id));
        }
    }
452043
public UUID getIdOrFail(final Object object) throws ObjectToIdMappingException {
        Optional<UUID> id = getId(object);
        if (!id.isPresent()) {
            throw new ObjectToIdMappingException(format(
                    "An id for the object [%s] was expected to be known but it was not. %s", object.toString(),
                    SYNCRONISM_LOST));
        }
        return id.get();
    }
737989
public BaseDestinationDefinition getSIBDestinationByUuid(String busName, String uuid) throws SIBExceptionBase, SIBExceptionDestinationNotFound {

        String thisMethodName = "getSIBDestinationByUuid";

        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
            SibTr.entry(tc, thisMethodName, new Object[] { busName, uuid });
        }

        BaseDestinationDefinition bdd = getSIBDestinationByUuid(busName, uuid, false);

        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
            SibTr.exit(tc, thisMethodName, bdd);
        }

        return bdd;
    }
496091
public Group getGroupByUUID(final UUID UUID) {
        List<Group> allGroups = getGroups();

        List<Group> groups = ListFilter.filter(allGroups, new Filter<Group>() {

            @Override
            public boolean matches(Group item) {

                if (item.getUuid() != null && item.getUuid().compareTo(UUID) == 0) {
                    return true;
                } else {
                    return false;
                }
            }
        });

        if (groups.size() == 1) {
            return groups.get(0);
        } else {
            return null;
        }
    }
460991
@Override
	public void removeByUuid(String uuid) {
		for (CommerceCurrency commerceCurrency : findByUuid(uuid,
				QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(commerceCurrency);
		}
	}